User forums > Help
'class ToolsList::Node' has not been declared error on any recent build
stahta01:
--- Quote from: keenblade on September 14, 2007, 09:59:06 pm ---
--- Quote from: stahta01 on August 27, 2007, 09:38:02 pm ---...Try using wxWidgets built without STL, STL requires patching related to several things including Nodes in Code::Blocks...
--- End quote ---
Does this means "--disable-stl" needed for wxWidgets to build codeblocks under linux?
I ask this because it seems these days I maintain the gentoo codeblocks svn ebuild. And a gentoo developer asks if this is needed.
Thanks.
--- End quote ---
You can add that, but I believe it defaults to being disabled during configure.
Tim S
keenblade:
--- Quote from: stahta01 on September 14, 2007, 10:25:35 pm ---You can add that, but I believe it defaults to being disabled during configure.
--- End quote ---
Thanks for clarifying.
killerbot:
I am bumping this thread, since I am running into this problem.
Yesterday the new version of OpenSuse was released.
It ships with wxwidgets 2.8.11, and you will never guess : apparently all these stl variants.
The moment I select wxwidgets-devel in YAST to install, a whole bunch of wxwidgets libraries get selected too (obviously), and indeed they all have names like this :
libwx_baseu-2_8_0-stl,
libwx_gtku_aui-2_8_0-stl
...
There does however is a non stl variant, you have to select the wxwidgets-wxcontainer-devel package ->
and then you get libraries like :
libwx_baseu-2_8_0-wxcontainer,
libwx_gtku_aui-2_8_0-wxcontainer
...
Important it is !!!!!!!!!!!!!!!!
Freem:
I hope I will not annoy you with a resolved problem, but I also have this error, on Debian (testing with some sid and experimental)
Here the full log:
--- Code: ---$ make -j 5
Making all in src
make[1]: entrant dans le répertoire « /home/berenger/prj/codeblocks/src »
Making all in include
make[2]: entrant dans le répertoire « /home/berenger/prj/codeblocks/src/include »
rm -f ../../src/include/sdk_precomp.h.gch
g++ -DHAVE_CONFIG_H -I/usr/local/lib/wx/include/gtk2-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o ../../src/include/sdk_precomp.h.gch -xc++-header ./sdk_precomp.h
In file included from ./sdk_common.h:43:0,
from ./sdk_precomp.h:13:
./prep.h: In member function ‘ID::operator void*() const’:
./prep.h:333:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
In file included from ./sdk_common.h:136:0,
from ./sdk_precomp.h:13:
./toolsmanager.h: At global scope:
./toolsmanager.h:46:32: error: ‘ToolsList::Node’ has not been declared
make[2]: *** [../../src/include/sdk_precomp.h.gch] Erreur 1
make[2]: quittant le répertoire « /home/berenger/prj/codeblocks/src/include »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/berenger/prj/codeblocks/src »
make: *** [all-recursive] Erreur 1
--- End code ---
I followed the instructions in BUILD file, and http://wiki.codeblocks.org/index.php?title=Category:Installing_Code::Blocks_from_source (which are basically the same) for compilation.
To install dependencies, I simply have jens' repo in my sources.list, and used "aptitude build-dep codeblocks".
On debian, there is only one wxWidgets package for dev, and I do not know which compilation options were used. And I do not really want to play again with all the flags they use for compiling (had enough problems with a personal project, before trying to use jens' version of 1.9.4. Thanks a lot for your work jens.)
I also have to admit I did not investigate more than that, I only wanted to compile myself to confirm the closure of the crash issue on wxSmith as Danselmi asked me to do.
If there is a known solution, I suggest to update the BUILD instructions.
Jenna:
It looks like you do not use wx2.8, but a self-compiled wx2.9. Recompile it without stl or try the one from my repo (wx.2.9.4-svn). Or make sure you use the correct wx-config for wx2.8.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version