U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
BUG: Problem linking/running with static library
https://www.ultimatepp.org/forums/index.php?t=rview&goto=48833&th=10140#msg_48833
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...