Status & Roadmap
Authors & License
Funding Ultimate++
Search on this site
Search in forums

SourceForge.net Logo
Home » Community » Newbie corner » Linking to external library (Static versus Dynamic linkage?)
Linking to external library [message #60338] Sun, 17 December 2023 13:40 Go to previous message
EspressoMan is currently offline  EspressoMan
Messages: 13
Registered: April 2023
Location: New Zealand
Promising Member
I've spent a fair bit of the weekend trying to figure out why I was getting continual linking error with my external library. I finally got it resolved after going down numerous rabbit holes trying to discover the correct combination of compiler, debug and linker switches with LLVM, all to little or no avail.
Then I searched the forum and found that someone else had chanced upon the solution just over 6 years ago.

https://www.ultimatepp.org/forums/index.php?t=tree&th=10 140&.html

Now I'm not saying there is a bug per se, but there is certainly much confusion surrounding this topic, especially for newbies. I could be wrong but I get the feeling that it's not a popular topic, possibly due to the vast number of rabbit holes that could ensue. A Pandoras box of headaches Shocked . So I removed my library from the "Static Libraries" section of the Package Organizer and reinserted it as a plain vanilla library, whatever that means. Et voila, it worked instantly. My question is: How is my library linked to my U++ project - Statically or Dynamically?


[Updated on: Sun, 17 December 2023 13:54]

Report message to a moderator

Read Message
Read Message
Previous Topic: General questions about theIDE
Next Topic: Relative path in library(WIN32)
Goto Forum:

Current Time: Wed Jul 24 19:32:12 CEST 2024

Total time taken to generate the page: 0.01497 seconds