Codelite, Mingw and libwmp3

General questions regarding the usage of CodeLite
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Codelite, Mingw and libwmp3

Post by evstevemd »

Hi All,
I have just started with Codelite and I'm very newbee to it. Please help me setup my project with This library. I have made my libwmp3.a via dlltool and I don't know how to do linking. I use example at the site so please help me
Thanks
Steve

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite, Mingw and libwmp3

Post by eranif »

Set up a console project (or gui...) and in the project settings (right click on the project icon in the file view tree) select 'settings'

Next,
in the 'Compiler' tab, under 'Additional Search Paths' set the path to your library include files (if you have more than one path, set them as semi colon list)
in the 'Linker' tab, under the 'Library Path' set the path to where the .a of your library exists (if you have more than one path, set them as semi colon list)
in the 'Linker' tab, under the 'Libraries' set the name of of the library to use (e.g. libMyLib.a) (if you have more than one path, set them as semi colon list)

Please read this as well:
http://codelite.org/LiteEditor/ProjectSettingsSummary

Eran
Make sure you have read the HOW TO POST thread
Post Reply