How to add additional lib to IDE

General questions regarding the usage of CodeLite
samsam598
CodeLite Curious
Posts: 3
Joined: Sat May 28, 2011 8:31 pm
Genuine User: Yes
IDE Question: c++
Contact:

How to add additional lib to IDE

Post by samsam598 » Sat May 28, 2011 8:43 pm

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

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

Re: How to add additional lib to IDE

Post by eranif » Sun May 29, 2011 9:29 am

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
Make sure you have read the HOW TO POST thread

samsam598
CodeLite Curious
Posts: 3
Joined: Sat May 28, 2011 8:31 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to add additional lib to IDE

Post by samsam598 » Sun May 29, 2011 6:06 pm

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.

Post Reply