User forums > Using Code::Blocks
svn compilation problem thread
(1/1)
undofen:
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)
--- End code ---
and a lot more errors of this type from the same file.
kernel 2.6.14
wx 2.6.2
Der Meister:
These are the problems with src/associations.cpp that I already described here.
undofen:
sorry for a dupe, last checked yesterday night your post wasnt there, should've rechecked it before posting
undofen:
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)
--- End code ---
gentoo, kernel 2.6.14, wx 2.6.2
Navigation
[0] Message Index
Go to full version