Author Topic: Error compiling form SVN Trunk in PCLinuxOS 2007  (Read 6921 times)

EricC

  • Guest
Error compiling form SVN Trunk in PCLinuxOS 2007
« on: June 07, 2007, 04:24:15 am »
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/

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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #1 on: June 07, 2007, 04:58:12 am »
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

  • Guest
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #2 on: June 07, 2007, 02:04:56 pm »
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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #3 on: June 07, 2007, 02:14:21 pm »
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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #4 on: June 08, 2007, 02:00:04 pm »
This bug has been fixed in revision 4072.
Be a part of the solution, not a part of the problem.

EricC

  • Guest
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #5 on: June 08, 2007, 10:37:15 pm »
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.

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #6 on: June 09, 2007, 05:56:36 am »
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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Error compiling form SVN Trunk in PCLinuxOS 2007
« Reply #7 on: June 09, 2007, 06:47:37 am »
The shortcut on KDE should be: K -> Development -> Code::Blocks IDE. At least that's where it has always been in my KDE.