User forums > Help

macrosmanager.cpp:90: error: 'wxRE_ADVANCED' was not declared in this scope

<< < (2/2)

PetrPetrov:

--- Quote ---macrosmanager.cpp:90: error: 'wxRE_ADVANCED' was not declared in this scope
--- End quote ---

I had the same problem in 'Compile CodeBlocks by Cygwin' topic (http://forums.codeblocks.org/index.php/topic,18525.0.html).

DarkSky:
Sorry it took so long to reply...  have to compile from source because no package available for Centos 6.4 AND yum is broken in that release (a royal pain).

Problem solved by configuring wxWidgets with:
./configure --enable-unicode CFLAGS="-fPIC" CSSFLAGS="-fPIC"
make
make install

then for codeblocks...
./configure
make
make install
ldconfig (with /usr/local/lib in /etc/ld.so.conf)

Rocking now...  thanks to all.

Jenna:

--- Quote from: DarkSky on January 06, 2014, 02:13:58 am ---Sorry it took so long to reply...  have to compile from source because no package available for Centos 6.4 AND yum is broken in that release (a royal pain).

--- End quote ---

About wxGTK packages for CentOS (from my server):

--- Quote from: http://rpm.jenslody.de/ ---On RedHat/CentOS 5 and older revisions of 6 (as far as I know up to 6.2) you need to add repoforge (former rpmforge) to your repolist, to be able to install the needed wxGTK-package. See http://repoforge.org/use for an instruction.
On RedHat/CentOS >= 6.3 make sure you have the extra-repo enabled.
--- End quote ---

Works flawlessly since CentOS 6.3 (now 6.5) as posted before:

--- Quote from: jens on October 31, 2013, 09:52:35 am ---
--- Quote from: DarkSky on October 31, 2013, 09:08:05 am ---I compiled and installed wxWidgets from the latest source with default configuration.  Are you suggesting that I should have configured it with options?

wxGTK (x86_64) requires wxBase (x86_64), but I didn't find an x86_64 version and it's not happy with the i686 version.

--- End quote ---
Again:

--- Quote from: jens on October 29, 2013, 09:58:12 am ---The wxGTK (and devel) packages on CentOS 6.4 from the extra-repo are enough. No selfbuild wx (or repoforge) is needed, as far as I know.


--- End quote ---
I also use 64bit CentOS on my VM and wxGTK and wxBase etc. are (of course) available from CentOS-6-extra repo.

--- End quote ---

And yum works fine on my system.

But sometimes it seems to be more fun to do it the "hard" way, even if compiling wxWidgets on linux is more or less straightforward.

Jenna:

--- Quote from: jens on January 06, 2014, 06:24:51 am ---But sometimes it seems to be more fun to do it the "hard" way, even if compiling wxWidgets on linux is more or less straightforward.

--- End quote ---
For other users, who want to have it easier.
Just use my repo (see signature) for svn-packages or download C::B 13.12 for CentOS 6 from our download-site (and enable the CentOS extra-repo for wxGTK).

Navigation

[0] Message Index

[*] Previous page

Go to full version