Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Use of libs
Use of libs [message #157445] Tue, 08 November 2005 14:37 Go to next message
Kurt Dirix is currently offline Kurt DirixFriend
Messages: 18
Registered: July 2009
Junior Member
I've installed Eclipse 3.1.1, C/C++ DT 3.0 and use a MinGW installation
(gcc 3.4.2).

I tried to compile, run an dedit hello world, any all went well (at
last...)
I tried to convert a stand-alone MS visual C++ project, and all went well
(at last...). External libs (winmm and wininet) were needed for that, no
problem.

I now try to convert a a MS Visual C+++ prpject, which uses a library that
is the output of another project. And is doesn't go well.
Somehow I can not tell Eclipse or gcc or ... to use this non-standard
library.

Are there any naming conventions I must follow (I already renamed xyz.lib
to libxyz.a, but it did not help)?

Which settings are necessary to let it all compile?
Re: Use of libs [message #157478 is a reply to message #157445] Wed, 09 November 2005 08:07 Go to previous messageGo to next message
Norbert Plött is currently offline Norbert PlöttFriend
Messages: 233
Registered: July 2009
Senior Member
Hmmm....

I guess you'll have to give more details (like the compiler output in the
console) for others to give useful hints.

Cheers,


Norbert

"Dries" <kd_jm@hotmail.com> schrieb im Newsbeitrag
news:ec02d989226d75de4868e9c14779794f$1@www.eclipse.org...
> I've installed Eclipse 3.1.1, C/C++ DT 3.0 and use a MinGW installation
> (gcc 3.4.2).
>
> I tried to compile, run an dedit hello world, any all went well (at
> last...)
> I tried to convert a stand-alone MS visual C++ project, and all went well
> (at last...). External libs (winmm and wininet) were needed for that, no
> problem.
>
> I now try to convert a a MS Visual C+++ prpject, which uses a library that
> is the output of another project. And is doesn't go well.
> Somehow I can not tell Eclipse or gcc or ... to use this non-standard
> library.
> Are there any naming conventions I must follow (I already renamed xyz.lib
> to libxyz.a, but it did not help)?
>
> Which settings are necessary to let it all compile?
>
>
>
Re: Use of libs [message #157510 is a reply to message #157478] Wed, 09 November 2005 08:28 Go to previous message
Kurt Dirix is currently offline Kurt DirixFriend
Messages: 18
Registered: July 2009
Junior Member
Thanks for your reply, but please do not bother any more... Until
yesterday, I lived in a world where all libs were compatoble and
inetrchangebale. I did not know that a lib built with MS can not be used
by the gcc and vice versa. Stupid me, I guess
Previous Topic:scons, svn
Next Topic:Edit a single C++ file(without having a project)
Goto Forum:
  


Current Time: Thu Jul 25 18:48:25 GMT 2024

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

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

Back to the top