Page 1 of 1
wxUSE_GRAPHICS_CONT in CL bundle
Posted: Wed Mar 27, 2013 11:02 pm
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.
Re: wxUSE_GRAPHICS_CONT in CL bundle
Posted: Thu Mar 28, 2013 9:29 am
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
Re: wxUSE_GRAPHICS_CONT in CL bundle
Posted: Thu Mar 28, 2013 2:25 pm
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
) 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.
Re: wxUSE_GRAPHICS_CONT in CL bundle
Posted: Thu Mar 28, 2013 3:21 pm
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