Member | Action | Date |
---|---|---|
![]() |
Replied
to
Linking Static Library to Project in Precision32 IDE
I tried changing the name to libmylibrary.lib and telling the linker to look for a library named "libmylibrary", "libmylibrary.lib", "mylibrary", and "mylibrary.lib", but it still can't find the library. Any other ideas?
I tested the library in Visual Studio and had no problem linking to it, could it be that the Precision32 IDE does not support '.lib' files? |
Oct 28 2017, 3:24 PM |
![]() |
Replied
to
Linking Static Library to Project in Precision32 IDE
It is called "mylibrary.lib". |
Oct 28 2017, 3:24 PM |
![]() |
Posted
Linking Static Library to Project in Precision32 IDE on
Forum
Hello,
I am trying to add a static .lib file to my project in the Precision32 IDE. When I compile, I get two errors…
The way I include the file is Project Properties->C/C++ Build->Settings->MCU Linker->Libraries. I put the name of the library on top and the path leading to the library on the bottom. I have also tried placing the full path to the library, however the results are the same. In addition, I have tried placing the library in the project folder, but to no avail.
I have also gone to Project Properties->C/C++ General->Paths and Symbols->Libraries or Library Paths. Both of which return the same error as above.
I know this is probably simple, but I'm just not able to figure it out. Thanks in advance for the help! |
Oct 28 2017, 3:24 PM |