News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Error compiling form SVN Trunk in PCLinuxOS 2007

Started by EricC, June 07, 2007, 04:24:15 AM

Previous topic - Next topic

EricC

Hello everyone

I've used codeblocks for a while now in both Windows and Ubuntu Linux, but I recently switched over PCLinuxOS 2007 and began the process of building codeblocks from the code found in the SVN Trunk.  After resolving several dependency issues, the configure script ran flawlessly, and as directed I typed "make".  This process ran for quite some time, but eventually failed and gave the following error:

editormanager.cpp: In member function 'int EditorManager::Replace(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:1450: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1452: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::ReplaceInFiles(cbFindReplaceData*)':
editormanager.cpp:1734: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:1736: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp: In member function 'int EditorManager::Find(cbStyledTextCtrl*, cbFindReplaceData*)':
editormanager.cpp:2009: error: 'wxRE_ADVANCED' was not declared in this scope
editormanager.cpp:2011: error: 'wxRE_ADVANCED' was not declared in this scope
make[3]: *** [editormanager.lo] Error 1
make[3]: Leaving directory `/home/eric/Software/CodeBlocks/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eric/Software/CodeBlocks/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/


Now, this seems to be a wxWidgets issue.  I installed wxGTK 2.6.4 from the PCLinuxOS repository just because I was lazy and didn't want to compile the newest version from source.  Does the newer development versions of CodeBlocks require a newer version of wxWidgets?

I'm not sure if anyone else out there is a PCLinuxOS user, but this is not the first time I've experienced errors when running make, and not just for CodeBlocks.  Could there possibly be some missing development tool or library that I am unaware of?

Thanks for any sugegstions.

Biplab

This is a known issue and needs to be fixed. Basically if you configure wxWidgets with --with-regex=builtin flag, you can get rid of this error.

But this is a bug which needs to be fixed.
Be a part of the solution, not a part of the problem.

EricC

Ahhh, OK, thank you.

So I need to re-build wxWidgets.  Does that mean that I first remove the version that I have now?  If so, can I just use the package manager for that too, or do I need some kind of "make uninstall" or "make clean" command?  Sorry if these are dumb/simple questions, but this is still fairly new to me.

Thanks again.

Biplab

Use Package Manager to uninstall wxGTK-2.6.4.

BTW, I'm working on it to fix this issue.
Be a part of the solution, not a part of the problem.

Biplab

Be a part of the solution, not a part of the problem.

EricC

Wow, you weren't kidding!  That was fast!

I was able to get CodeBlocks to compile without issue, except when it's done I can't find a shortcut to it anywhere.  Is that a KDE issue?  I don't really mind having to launch it from the command line, but I have no idea what that command would be.

Thanks in adavace.

TDragon

Quote from: EricC on June 08, 2007, 10:37:15 PM
I don't really mind having to launch it from the command line, but I have no idea what that command would be.
"codeblocks".
:D
I've had shortcuts show up in Gnome systems, but I've never tried C::B on KDE so I'm not sure whether there's supposed to be a shortcut or not.
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Ceniza

The shortcut on KDE should be: K -> Development -> Code::Blocks IDE. At least that's where it has always been in my KDE.