Author Topic: Compiling Code::Blocks : problem with WxWidgets compilation options  (Read 292 times)

Offline Folco

  • New Friend
  • *
  • Posts: 3
Hi guys. I started to use PCLinuxOS (64) today. Thanks to all the devs of this system. :)
My system is up-to-date.

I tried to install the latest version of Code::Blocks, getting the sources on the svn project, then I tried to compile it.

But I get this error :
Code: [Select]
macrosmanager.cpp: In member function 'void MacrosManager::Reset()':
macrosmanager.cpp:90:33: error: 'wxRE_ADVANCED' was not declared in this scope

Searching on the internet, I found that it happens due to an option in WxWidget compilation. Code::Blocks needs to use a version compiled with "--with-regex=builtin". The current option, in the repository of the distribution, is probably "--with-regex=system".

Is there a modification planned about that, or do I need to find a workaround ?

Thanks in advance for any tip, guys. :)
« Last Edit: February 23, 2013, 01:57:18 PM by Folco »

Offline Folco

  • New Friend
  • *
  • Posts: 3
Re: Compiling Code::Blocks : problem with WxWidgets compilation options
« Reply #1 on: February 26, 2013, 01:36:29 PM »
Where could I got an answer please ?

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1193
Re: Compiling Code::Blocks : problem with WxWidgets compilation options
« Reply #2 on: February 26, 2013, 02:24:17 PM »
i think we do not change this at the moment.
you could recompile wxwidgets with the options you need. it is possible that a change in the repo version could cause a lot of rebuilds.

regards
ghostbunny
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline Folco

  • New Friend
  • *
  • Posts: 3
Re: Compiling Code::Blocks : problem with WxWidgets compilation options
« Reply #3 on: February 27, 2013, 05:35:26 AM »
Ok, thanks.

Quote
it is possible that a change in the repo version could cause a lot of rebuilds.
So you could rebuild the "new" version of Code::Blocks, the version in the repo is from 2010, the "new" is from 2012 (already 4 monthes old). :D

Sorry. Just kidding, I know that it's a lot of work and testing !

(But for those who use Code::Blocks, don't hesitate to use the new version, or better, compile from svn repo, the new graphical debugger has been merged, a new compiler engine too, and they are excellent)