Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » BUG: Problem linking/running with static library
BUG: Problem linking/running with static library [message #48833] |
Mon, 09 October 2017 15:48 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
on debian 9
latest upp
gcc 6.3, stdc++14
I've created a static library & header placed in my $HOME/lib & include dirs.
I've updated <menu>[Setup](Build methods](tab:INCLUDE directories) & (tab:LIB directories)
in <menu>[Project][Package organizer] I added Static library mylib (for libmylib.a in $HOME/lib/)
The compiler finds the header no problem
the linker does NOT find the library
What am I doing wrong?
------------------------------------------------------------ ----
BUG-note:
I _accidentally_ put the name of the static lib in with the 'New libraries' and not the "New Static libraries"
and suddenly it all works.
Seems there is a bug concerning this...
[Updated on: Wed, 11 October 2017 18:01] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Apr 24 12:46:24 CEST 2024
Total time taken to generate the page: 0.02693 seconds
|