User forums > Help

Error compiling form SVN Trunk in PCLinuxOS 2007

(1/2) > >>

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:


--- Code: ---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/
--- End code ---

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.

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.

Biplab:
This bug has been fixed in revision 4072.

Navigation

[0] Message Index

[#] Next page

Go to full version