Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  slashupp
Messages: 193
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

Previous Topic: TheIDE gets killed by an exception
Next Topic: last incompability with c++11: exceptions
Goto Forum:
  


Current Time: Tue Nov 12 19:35:11 CET 2019

Total time taken to generate the page: 0.02217 seconds