Author Topic: wxString symbol lookup error  (Read 3983 times)

Offline red eagle

  • Single posting newcomer
  • *
  • Posts: 5
wxString symbol lookup error
« on: June 30, 2009, 03:08:36 pm »
symbol lookup error

Hello, just like to add to my small post count...

I have found a bug when Commenting/Uncommenting lines of code, resulting in Codeblocks quitting immediately.


When run in a terminal:

red@red-desktop:~/Projects/codeblocks/trunk$ codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
RegExTestbed: loaded
CodeStat: loaded
Debugger: loaded
BYOGames: loaded
AutoVersioning: loaded
lib_finder: loaded
SymTab: loaded
BrowseTracker: loaded
Valgrind: loaded
ToDoList: loaded
Compiler: loaded
wxSmith: loaded
wxSmithMime: loaded
HeaderFixup: loaded
OpenFilesList: loaded
IncrementalSearch: loaded
FilesExtensionHandler: loaded
AStylePlugin: loaded
ThreadSearch: loaded
Exporter: loaded
CB_Koders: loaded
copystrings: loaded
CodeSnippets: loaded
CodeCompletion: loaded
HelpPlugin: loaded
Profiler: loaded
cbKeyBinder: loaded
cbDragScroll: loaded
Autosave: loaded
EnvVars: loaded
ProjectsImporter: loaded
ScriptedWizard: loaded
ClassWizard: loaded
HexEditor: loaded
wxSmithContribItems: loaded
Regular expressions testbed plugin activated
Code statistics plugin activated
Debugger plugin activated
AutoVersioning plugin activated
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Library finder plugin activated
Symbol Table Plugin plugin activated
BrowseTracker plugin activated
Valgrind plugin activated
To-Do List plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "SDCC Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GDC D Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU ARM GCC Compiler"
Added compiler "GNU AVR GCC Compiler"
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "GNU GCC Compiler for TriCore"
Compiler plugin activated
Open files list plugin activated
Files extension handler plugin activated
Source code formatter (AStyle) plugin activated
ThreadSearch plugin activated
Source Exporter plugin activated
Koders query plugin activated
Copy Strings to clipboard plugin activated
Code completion plugin activated
Help plugin plugin activated
Code profiler plugin activated
Keyboard shortcuts plugin activated
Autosave plugin activated
Environment variables plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
HexEditor plugin activated
Initializing plugins...
Loading project file...
Parsing project file...
Loading target Debug
Loading target Release
Loading project files...
1 files loaded
Done loading project in 7ms
Project's base path: /home/red/Projects/zpipe/
Project's common toplevel path: /home/red/Projects/zpipe/
Warning: bypassing C::B's auto-detection!
Encoding requested is: Unicode 8 bit (UTF-8) (ID: 41)
Final encoding detected: Unicode 8 bit (UTF-8) (ID: 41)
project data set for /home/red/Projects/zpipe/zpipe.c
Add project zpipe in parsing queue
Caching internal gcc dirs for adding to parser...
Caching GCC dir: /usr/include/c++/4.3
Caching GCC dir: /usr/include/c++/4.3/i486-linux-gnu
Caching GCC dir: /usr/include/c++/4.3/backward
Caching GCC dir: /usr/local/include
Caching GCC dir: /usr/lib/gcc/i486-linux-gnu/4.3.3/include
Caching GCC dir: /usr/lib/gcc/i486-linux-gnu/4.3.3/include-fixed
Caching GCC dir: /usr/include
Passing list of files to parse
Starting batch parsing
Parsing stage done (74 total parsed files, 2332 tokens in 0 minute(s), 2.729 seconds).
Updating class browser...
Class browser updated.
codeblocks: symbol lookup error: codeblocks: undefined symbol: _ZN15EditorColourSet15GetCommentTokenE8wxString
red@red-desktop:~/Projects/codeblocks/trunk$


I am running Ubuntu 9.04 x86

I have been using jens nightlys, thanks very muchly.  But for a few months back i've been using the svn sources and compiling manually, then decided to go back to using just the binary svn releases. 

I'm wondering if i've not cleared something out properly because the version number seems not to update as it currently shows (svn 5607), Build: Jun 20 2009 15:19 wx2.8.10 (Linux, unicode), but in synaptic it says (8.02svn5671).  I've updated the wx sources from etch to lenny, reinstalled codeblocks twice, no luck.


RED


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: wxString symbol lookup error
« Reply #1 on: June 30, 2009, 03:42:03 pm »
It seems you have mixed two versions of C::B.

If you have installed one version via make and make install and then installed mine from the repo this might happen (even if I'm not sure what exactly is the problem).

What you can try:
uninstall my package with the package-manager (use purge aka remove all including config-files, this will not remove C::B's conf-file(s)),

remove all remaining binaries, libraries and what ever in /usr/lib/codeblolcks, /usr/share/codeblocks, /usr/local/lib/codeblocks, /usr/local/share/codeblolcks, remove also /usr/bin/codeblocks, /usr/bin/codesnippets, /usr/bin/cb_share_config, /usr/bin_cb_console_runner, /usr/local/bin/codeblocks, /usr/local/bin/codesnippets, /usr/local/bin/cb_share_config, /usr/local/bin_cb_console_runner, /usr/lib/libcodeblocks* and /usr/lib/libwxsmith*

search for any occurence of codeblocks libs, binaries in any other prefixes posibly used when building manually.

Then reinstall from the repo and hope it works.

Offline red eagle

  • Single posting newcomer
  • *
  • Posts: 5
Re: wxString symbol lookup error
« Reply #2 on: June 30, 2009, 05:21:37 pm »
Thank you jens, that fixed it, also Valgrind works again too!

RED