User forums > Help
toolsmanager.h:46: error: 'class ToolsList::Node' has not been declared
(1/1)
bertz:
I have been trying for quite sometime to get codeblocks installed from the source code on my machine.
I got the svn version, run bootstrap and configure.
Until then, everything works fine.
But during make install, I get the following message:
--- Code: ---toolsmanager.h:46: error: 'class ToolsList::Node' has not been declared
--- End code ---
Does it have anything to do with wxWidgets? I have 2.8.9, is it compatible with codeblocks?
Thanks in advance for any kind of help.
Jenna:
Searching the forum gives the answer.
Your wxWidgets-version is built with --enable-STL, that will not work.
See this thread: http://forums.codeblocks.org/index.php/topic,6797.msg52084.html#msg52084
Mephistopheles:
--- Quote from: jens on August 26, 2009, 04:37:06 pm ---[...]Your wxWidgets-version is built with --enable-STL, that will not work.[...]
--- End quote ---
Hm, that can't be the actual reason because the stuff on openSUSE 11.1 is compiled with --enable-STL but still CodeBlocks compiles & runs there just fine but fails to compile on 11.2 / Factory for some unknown reason with exactly that error message.
stahta01:
--- Quote from: Mephistopheles on September 16, 2009, 06:12:41 pm ---
--- Quote from: jens on August 26, 2009, 04:37:06 pm ---[...]Your wxWidgets-version is built with --enable-STL, that will not work.[...]
--- End quote ---
Hm, that can't be the actual reason because the stuff on openSUSE 11.1 is compiled with --enable-STL but still CodeBlocks compiles & runs there just fine but fails to compile on 11.2 / Factory for some unknown reason with exactly that error message.
--- End quote ---
The Code::Blocks code using wxWidgets is NOT STL ready.
Use an wxWidgets Library compilied without STL or spend several days or months fixing the Code::Blocks code.
Edit: If you wish to spend the effert, please start by using my patch that fixes that error; but, many more still exist.
[ Patch #2161 ] wxList related patch to help compile with STL wxWidgets
http://developer.berlios.de/patch/?func=detailpatch&patch_id=2161&group_id=5358
Tim S.
Navigation
[0] Message Index
Go to full version