Page 1 of 1

How to add additional lib to IDE

Posted: Sat May 28, 2011 8:43 pm
by samsam598
Greetings!

My workspace is under windows xp sp3.My wx is 2.9.2 daily snapshot built with build=release SHARED=0 MONOLITHIC=1 UNICODE=1.Additionally I set the wxUSE_GRAPHICS_CONTEXT to 1 to enable new 2D drawing api.
When I use C::B to buid my test app,it is ok to compile just add libgdi32.a to the linker setting.I have gdi/gdiplus support (headers and *.a)in my MinGW(gcc 4.4.5).But when I configure codelite to build my test program whenever I use GraphicsContext or not,the IDE asks for gdi32plus.I passed libgdiplus.a to the corresponding linker and pass the path to lib path to the active project settings.But it does not work.Whatever I tried,the compiler still complaint "not found -lgdiplus".

I also built several other wx libs such as wxSqlite3,advtable,freechart,wxPDFdoc,etc.So my question is :
How to make all these stuffs work under codelite(not found gdiplus,work with wxSqlite3....)

Thanks for your help in advance.

Best regards,
Sam

Re: How to add additional lib to IDE

Posted: Sun May 29, 2011 9:29 am
by eranif
samsam598 wrote:"not found -lgdiplus"
I thought the library name is gdiplus32

Also:
http://codelite.org/forum/viewtopic.php?f=3&t=804#p3562

Eran

Re: How to add additional lib to IDE

Posted: Sun May 29, 2011 6:06 pm
by samsam598
eranif wrote:
samsam598 wrote:"not found -lgdiplus"
I thought the library name is gdiplus32

Also:
http://codelite.org/forum/viewtopic.php?f=3&t=804#p3562

Eran
The library name is gdiplus.

I solved the issue with the help of this post:
http://codelite.org/forum/viewtopic.php?f=11&t=1154

Thanks for the help.