Author Topic: svn compilation problem thread  (Read 4300 times)

undofen

  • Guest
svn compilation problem thread
« 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

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: svn compilation problem thread
« Reply #1 on: December 09, 2005, 03:37:44 pm »
These are the problems with src/associations.cpp that I already described here.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

undofen

  • Guest
Re: svn compilation problem thread
« Reply #2 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

undofen

  • Guest
Re: svn compilation problem thread
« Reply #3 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