Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Building with wxWidgets 2.9
oBFusCATed:
--- Quote from: Loaden on October 17, 2010, 09:15:20 am ---The default value is 1, so we need to set the value to 0.
--- End quote ---
No you don't, if should be possible to build C::B with STC enabled because cb is using the default build on all linux distros and if there STC is enabled C::B will be unbuildable!
Cryogen:
Hi Guys,
Yeeees. I'm building on Windows, for the record, but I will be wanting to get it going on Linux once it's working. My understanding is that wxUSE_STC on the command line overrides what's in setup.h. Either way it's set to 0 in both places. Besides, I've tried building with every combination of wxUSE_STC and wxUSE_PROPGRID and nothing works. I've tried my existing code base, and a new SVN copy. I've tried tweaking the project setting all over the place. It does seem related to STC, to me AND there were plenty of build references to wxscintilla when building wx, which I thought strange, since it's set to 0 everywhere AND it generated libwxscintalla.a. I fail to see why it would do that unless it's a dependency of something else and, even then, it shouldn't.
Yes, Loaden, I definitely think we should have a separate project in the system for this. 2.9 has been out for ages in one form or another and more and more folks will want to use it. Once we sort this out I'll send you the result. What exactly worked well for you? Can you summarise your approach for me, please?
Thanks everyone.
oBFusCATed:
--- Quote from: Cryogen on October 17, 2010, 10:34:25 pm ---2.9 has been out for ages in one form or another and more and more folks will want to use it. Once we sort this out I'll send you the result. What exactly worked well for you?
--- End quote ---
I don't see any problem for wx2.9 users? Why would they care what C::B is using?
C::B can't be ported to 2.9-only, because none of the distros provide packages for 2.9 (except gentoo:) ).
stahta01:
--- Quote from: Cryogen on October 17, 2010, 10:34:25 pm ---
My understanding is that wxUSE_STC on the command line overrides what's in setup.h.
--- End quote ---
You understanding IS NOT correct.
You NEED to fix your build of wxWidgets, so it does NOT build wxscintilla/STC!!!!
I suggest reading; how to build with OpenGL it works just about the same to build without STC.
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.8.9_Monolithic_Build_with_openGL_for_Windows
I think that adding an wxWidgets 2.9 project is not really a good thing to do at this time; it would just result in more people who do not know how to build wxWidgets right posting questions on why it does not work. Unless someone is willing to write some detailed directions on how to build wxWidgets right for Code::Blocks. I have given what I think are good directions for wxWidgets building experts; but they are not good enough for non experts.
Anyone feel free to update my old 2.9.0 directions
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.9.0_to_develop_Code::Blocks_%28MSW%29
Tim S.
Loaden:
--- Quote from: Cryogen on October 17, 2010, 10:34:25 pm ---Can you summarise your approach for me, please?
--- End quote ---
Same to this post: http://forums.codeblocks.org/index.php/topic,13388.msg90153.html#msg90153
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version