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: 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

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


Current Time: Fri Mar 29 06:08:46 CET 2024

Total time taken to generate the page: 0.01916 seconds