Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: undofen on December 09, 2005, 03:20:27 pm

Title: svn compilation problem thread
Post by: undofen on December 09, 2005, 03:20:27 pm
There are a lot of svn compilation error threads, I think there should be one to keep things clear, so this is a try of making one.
For starters, I get this problem when trying to compile svn 1477, and had it a few versions backwards:
Code
associations.cpp: In function `void Associations::SetBatchBuildOnly()':
associations.cpp:12: error: `MAX_PATH' undeclared (first use this function)
associations.cpp:12: error: (Each undeclared identifier is reported only once for each function it appears in.)
associations.cpp:13: error: `name' undeclared (first use this function)
associations.cpp:13: error: `GetModuleFileName' undeclared (first use this function)
associations.cpp:18: error: `SHCNE_ASSOCCHANGED' undeclared (first use this function)
associations.cpp:18: error: `SHCNF_IDLIST' undeclared (first use this function)
associations.cpp:18: error: `SHChangeNotify' undeclared (first use this function)
and a lot more errors of this type from the same file.
kernel 2.6.14
wx 2.6.2
Title: Re: svn compilation problem thread
Post by: Der Meister on December 09, 2005, 03:37:44 pm
These are the problems with src/associations.cpp that I already described here (http://forums.codeblocks.org/index.php?topic=1588.0).
Title: Re: svn compilation problem thread
Post by: undofen on December 09, 2005, 03:52:34 pm
sorry for a dupe, last checked yesterday night  your post wasnt there, should've rechecked it before posting
Title: Re: svn compilation problem thread
Post by: undofen on December 09, 2005, 04:40:19 pm
ok, now revision 1479 gives the following error:
Code
environmentsettingsdlg.cpp: In constructor `EnvironmentSettingsDlg::EnvironmentSettingsDlg(wxWindow*)':
environmentsettingsdlg.cpp:57: error: `DEFAULT_BATCH_BUILD_ARGS' undeclared (first use this function)
environmentsettingsdlg.cpp:57: error: (Each undeclared identifier is reported only once for each function it appears in.)
environmentsettingsdlg.cpp: In member function `virtual void EnvironmentSettingsDlg::EndModal(int)':
environmentsettingsdlg.cpp:123: error: `DEFAULT_BATCH_BUILD_ARGS' undeclared (first use this function)
gentoo, kernel 2.6.14, wx 2.6.2