Hi there!
As i already posted in similar thread, I've managed to build the sample application and the webconnect library.
Now I want to link to that .lib file in my large project which is maintained in Code::Blocks IDE and it fails miserably, reporting "undefined reference to wxWebConnect::InitEngine(const wxString)"
Please can someone provide some info to get me going, I'm stuck at this for couple of days now...
Kirix Support Forums
Why linking to built library fails?
3 posts
• Page 1 of 1
- xzminx
- Registered User
- Posts: 12
- Joined: Tue Apr 26, 2011 1:51 pm
Re: Why linking to built library fails?
Hi xzminx,
I just compiled webconnect and testapp myself, so I'm still pretty new to the library.
However, from your error description it sounds like you have not told the linker where the library is. Have you included the webconnect library in your Code::Blocks project?
In my linux environment, the library is located at "<install location>/webconnect/webconnect/libwebconnect.a". You'll probably have to add the library and it's location to your project. I've never used Code::Blocks, so I can't really tell you how to do that, but a quick google search should give you what you need.
Good luck,
Jarrett
I just compiled webconnect and testapp myself, so I'm still pretty new to the library.
However, from your error description it sounds like you have not told the linker where the library is. Have you included the webconnect library in your Code::Blocks project?
In my linux environment, the library is located at "<install location>/webconnect/webconnect/libwebconnect.a". You'll probably have to add the library and it's location to your project. I've never used Code::Blocks, so I can't really tell you how to do that, but a quick google search should give you what you need.
Good luck,
Jarrett
- chisser98
- Registered User
- Posts: 4
- Joined: Fri Oct 07, 2011 12:28 pm
Re: Why linking to built library fails?
I did link it correctly, but it's not working.
(When it cant find the library it gives a different kind of error)
Never mind now, I transferred my project to Visual Studio so I'm working there now.
(When it cant find the library it gives a different kind of error)
Never mind now, I transferred my project to Visual Studio so I'm working there now.
- xzminx
- Registered User
- Posts: 12
- Joined: Tue Apr 26, 2011 1:51 pm
3 posts
· Page 1 of 1
Return to wxWebConnect Questions, Thoughts & Feedback