Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Linker Problems(CrossCompiler, Linker)
Linker Problems [message #1032667] Wed, 03 April 2013 09:19 Go to next message
Dusan Markovic is currently offline Dusan MarkovicFriend
Messages: 4
Registered: April 2013
Junior Member
Hi@all,

I am using EclipseIDE (Version: Juno Service Release 1) with a cross compiler from "Sourcery CodeBench". In my C test project I need a simple XML parser and so I have downloaded the XML-Library from xmlsoft.org. At the further step I tried to include the XML-Library into my project without success. I get an error at the linking step, cannot find library. All solutions with the affinity to my problem which I found on the net didn't help Crying or Very Sad .

Does anybody know what I make wrong? Any idea what else to try?

Thanks in advance for your help!
Re: Linker Problems [message #1033337 is a reply to message #1032667] Thu, 04 April 2013 06:08 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
http://wiki.eclipse.org/CDT/User/FAQ#Adding_C.2FC.2B.2B_External_Libraries

Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Linker Problems [message #1033353 is a reply to message #1033337] Thu, 04 April 2013 06:37 Go to previous messageGo to next message
Dusan Markovic is currently offline Dusan MarkovicFriend
Messages: 4
Registered: April 2013
Junior Member
Hello Axel,

thanks for your answer. I tried these documeted steps before I have posted my problem. It doesn't help and the linker output was the same as described.

Re: Linker Problems [message #1033515 is a reply to message #1033353] Thu, 04 April 2013 10:00 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
You should add the library search path in C/C++ Build" -> "Settings" and then hit the "Libraries" item under "GCC C++ Linker"
The FAQ is not complete, but nobody wants to do this ... Smile


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Linker Problems [message #1033753 is a reply to message #1033515] Thu, 04 April 2013 15:48 Go to previous messageGo to next message
Dusan Markovic is currently offline Dusan MarkovicFriend
Messages: 4
Registered: April 2013
Junior Member
Hello Axel,

I tried this configuration and now I get the error "undefined reference to ...(used functions from library)". As attachement I sent screen shots of my C/C++ Build configuration.

What I do wrong?

[Updated on: Thu, 04 April 2013 15:49]

Report message to a moderator

Re: Linker Problems [message #1036587 is a reply to message #1032667] Mon, 08 April 2013 15:18 Go to previous message
Dusan Markovic is currently offline Dusan MarkovicFriend
Messages: 4
Registered: April 2013
Junior Member
Hello,

has anybody an idea what to do in my case and how to configure eclpise correctly?

THX
Previous Topic:How can i deal with functions with the same name and exist in different .h?
Next Topic:set env.variable based on architecture
Goto Forum:
  


Current Time: Fri Apr 19 03:53:45 GMT 2024

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

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

Back to the top