Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Oxygen 4.7.0 cdt undefined reference(Linker cannot find static libraries )
Oxygen 4.7.0 cdt undefined reference [message #1771065] Mon, 21 August 2017 11:35 Go to next message
Eclipse UserFriend
Hello to all;
I have a little problem using the linker.
I made a project called Telescope to control a paralactic mount for a teleskope.
This main project calls some static libraries which I wrote.
But I always get many errors
"undefined reference to.."
What reason could be?
Regards
Kurt
Re: Oxygen 4.7.0 cdt undefined reference [message #1771167 is a reply to message #1771065] Tue, 22 August 2017 11:26 Go to previous messageGo to next message
Eclipse UserFriend
Sounds like the library is not specified in the Linker settings in your project. You need to specify the library name (what gets converted to -l command line) and library location (which gets converted to -L command line).

HTH
Jonah
Re: Oxygen 4.7.0 cdt undefined reference [message #1771216 is a reply to message #1771167] Wed, 23 August 2017 01:51 Go to previous message
Eclipse UserFriend
Hi Jonas,
thanks for your answer.
Yes I did this. But the reason was that the libraries where in the wrong order and I corrected this. Then I was able to link this.
Previous Topic:CDT for Eclipse oxigen/Papyrus
Next Topic:C++ Reverse Engineering
Goto Forum:
  


Current Time: Mon Mar 17 07:02:12 EDT 2025

Powered by FUDForum. Page generated in 0.04005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top