wxUSE_GRAPHICS_CONT in CL bundle

CodeLite installation/troubleshooting forum
iwbnwif
CodeLite Veteran
Posts: 81
Joined: Thu Mar 21, 2013 1:12 pm
Genuine User: Yes
IDE Question: c++
Contact:

wxUSE_GRAPHICS_CONT in CL bundle

Post by iwbnwif »

Hello again Eran!

I have everything working very well under Ubuntu but I also what to do some tests in Windows 8.

Can you tell me if the build of wxWidgets that is included with codelite-5.1.0-mingw4.7.1-wx2.9.4.exe has wxUSE_GRAPHICS_CONTEXT = 1 or = 0?

It appears that it is = 0, but the version of MinGW that is bundled includes gdiplus.

Sorry if I have misunderstood something.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxUSE_GRAPHICS_CONT in CL bundle

Post by eranif »

iwbnwif wrote:Hello again Eran!

I have everything working very well under Ubuntu but I also what to do some tests in Windows 8.

Can you tell me if the build of wxWidgets that is included with codelite-5.1.0-mingw4.7.1-wx2.9.4.exe has wxUSE_GRAPHICS_CONTEXT = 1 or = 0?

It appears that it is = 0, but the version of MinGW that is bundled includes gdiplus.

Sorry if I have misunderstood something.
The wx built with codelite is not built with wxUSE_GRAPHICS_CONTEXT=1

Since the MINGW4.6.1 release was unable to built it properly. I tried compiling it locally with wxUSE_GRAPHICS_CONTEXT=1 works without a problem.
I will probably fix this for next release

Eran
Make sure you have read the HOW TO POST thread
iwbnwif
CodeLite Veteran
Posts: 81
Joined: Thu Mar 21, 2013 1:12 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: wxUSE_GRAPHICS_CONT in CL bundle

Post by iwbnwif »

Thanks again for a fast reply.

Like you did, I managed to compile the library with wxUSE_GRAPHICS_CONTEXT=1 (after several attempts at finding out which setup.h to change :oops:) and all the wxWidgets sample programs work fine.

Unfortunately it has broken my CL environment because I compiled a monolithic shared library whereas I think the CL defaults are for separate libraries.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: wxUSE_GRAPHICS_CONT in CL bundle

Post by eranif »

iwbnwif wrote:Unfortunately it has broken my CL environment because I compiled a monolithic shared library whereas I think the CL defaults are for separate libraries.
Yes. You should build wxWidgets according to the instructions from codelite's wiki:

http://codelite.org/Developers/Windows#toc2

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