Author Topic: Installation, Conflicting Libraries  (Read 4266 times)

flemming

  • New Member
  • *
  • Posts: 2
Installation, Conflicting Libraries
« on: February 04, 2017, 01:40:44 AM »
I have managed to build the library and the executable for Feap8.4, but after linking a warning comes up telling that the standard library MSVCRT is in conflict with other libraries so use /NODEFAULTLIB instead.
Can anybody tell me how to give that in in the IDE ?
I have Windows10, Visual Studio Community 2015 and the Intel Compiler 2017. ( 64 bit )

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Installation, Conflicting Libraries
« Reply #1 on: February 04, 2017, 12:45:39 PM »
I believe under project properties there is something that allows you to see the linking options and you can put the /nodefaultlib in the list that is already there.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Installation, Conflicting Libraries
« Reply #2 on: February 06, 2017, 03:04:20 PM »
The way to fix the error is to follow the compiler's instructions.

1: Go to Projects:Properties
2: In the left part of the panel click Linker
3: In the left part of the panel click Input
4: Click in the box next to Ignore Specific Library, this will make an down arrow appear
5: Click the down arrow and then the word Edit
6: Enter MSVCRT in the window that appears
7: Click Ok, Click Apply

Now you can clean your solution and rebuild it.