Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:35 Go to next message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 45
Registered: May 2016
Member
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 15:26 Go to previous messageGo to next message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
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 05:51 Go to previous message
Kurt Struevy is currently offline Kurt StruevyFriend
Messages: 45
Registered: May 2016
Member
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: Fri Apr 26 11:53:17 GMT 2024

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

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

Back to the top