Page 1 of 1

Codelite, Mingw and libwmp3

Posted: Sun Nov 29, 2009 9:22 pm
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

Re: Codelite, Mingw and libwmp3

Posted: Mon Nov 30, 2009 9:16 am
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