Code::Blocks Forums

User forums => Help => Topic started by: bertz on August 26, 2009, 04:05:54 pm

Title: toolsmanager.h:46: error: 'class ToolsList::Node' has not been declared
Post by: bertz on August 26, 2009, 04:05:54 pm
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

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.
Title: Re: toolsmanager.h:46: error: 'class ToolsList::Node' has not been declared
Post by: Jenna on August 26, 2009, 04:37:06 pm
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 (http://forums.codeblocks.org/index.php/topic,6797.msg52084.html#msg52084)
Title: Re: toolsmanager.h:46: error: 'class ToolsList::Node' has not been declared
Post by: Mephistopheles on September 16, 2009, 06:12:41 pm
[...]Your wxWidgets-version is built with --enable-STL, that will not work.[...]

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.

Title: Re: toolsmanager.h:46: error: 'class ToolsList::Node' has not been declared
Post by: stahta01 on September 17, 2009, 02:51:30 am
[...]Your wxWidgets-version is built with --enable-STL, that will not work.[...]

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.



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.