Jump to content
The Dark Mod Forums

DarkRadiant GIT won't compile on openSUSE


Recommended Posts

Darkradiant fails to compile for me, apparently due to an issue with the wxWidgets function wxString::CompareTo, although I seem to have all dependencies installed. openSUSE 13.2 x64. Is it a bug in GIT or could it be something on my end, and how do I fix it if so?

 

mircea@linux-qz0r:~/Games/Quake/TheDarkMod/DarkRadiant_GIT> make
make  all-recursive
make[1]: Entering directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT'
Making all in libs
make[2]: Entering directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs'
Making all in math
make[3]: Entering directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/math'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/math'
Making all in xmlutil
make[3]: Entering directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/xmlutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/xmlutil'
Making all in scene
make[3]: Entering directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/scene'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/scene'
Making all in wxutil
make[3]: Entering directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/wxutil'
 CXX	  TreeModel.lo
TreeModel.cpp: In member function 'virtual int wxutil::TreeModel::Compare(const wxDataViewItem&, const wxDataViewItem&, unsigned int, bool) const':
TreeModel.cpp:611:77: error: no matching function for call to 'wxString::CompareTo(wxString, wxString::caseCompare)'
   node2->values[_defaultStringSortColumn].GetString(), wxString::ignoreCase) :
																		 ^
TreeModel.cpp:611:77: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:613:77: error: no matching function for call to 'wxString::CompareTo(wxString, wxString::caseCompare)'
   node1->values[_defaultStringSortColumn].GetString(), wxString::ignoreCase);
																		 ^																		
TreeModel.cpp:613:77: note: candidate is:																											 
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,																						   
			 from /usr/include/wx-3.0/wx/object.h:19,																							 
			 from /usr/include/wx-3.0/wx/event.h:16,																							  
			 from /usr/include/wx-3.0/wx/window.h:18,																							 
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:625:105: error: no matching function for call to 'wxString::CompareTo(wxString, wxString::caseCompare)'
  node1->values[column].GetString().CompareTo(node2->values[column].GetString(), wxString::ignoreCase) :
																									 ^
TreeModel.cpp:625:105: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:626:105: error: no matching function for call to 'wxString::CompareTo(wxString, wxString::caseCompare)'
  node2->values[column].GetString().CompareTo(node1->values[column].GetString(), wxString::ignoreCase);
																									 ^
TreeModel.cpp:626:105: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:637:63: error: no matching function for call to 'wxString::CompareTo(wxString)'
 return ascending ? val1.GetText().CompareTo(val2.GetText()) :
														   ^
TreeModel.cpp:637:63: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:638:51: error: no matching function for call to 'wxString::CompareTo(wxString)'
	    val2.GetText().CompareTo(val1.GetText());
											   ^
TreeModel.cpp:638:51: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:620:10: warning: enumeration value 'NumTypes' not handled in switch [-Wswitch]
  switch (_columns[column].type)
	  ^
TreeModel.cpp: In member function 'bool wxutil::TreeModel::CompareFoldersFirst(const wxDataViewItem&, const wxDataViewItem&, const wxutil::TreeModel::Column&, const wxutil::TreeModel::Column&)':
TreeModel.cpp:715:78: error: no matching function for call to 'wxString::CompareTo(wxString, wxString::caseCompare)'
   return aName.GetString().CompareTo(bName.GetString(), wxString::ignoreCase) < 0;
																		  ^
TreeModel.cpp:715:78: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:739:78: error: no matching function for call to 'wxString::CompareTo(wxString, wxString::caseCompare)'
   return aName.GetString().CompareTo(bName.GetString(), wxString::ignoreCase) < 0;
																		  ^
TreeModel.cpp:739:78: note: candidate is:
In file included from /usr/include/wx-3.0/wx/memory.h:15:0,
			 from /usr/include/wx-3.0/wx/object.h:19,
			 from /usr/include/wx-3.0/wx/event.h:16,
			 from /usr/include/wx-3.0/wx/window.h:18,
			 from /usr/include/wx-3.0/wx/control.h:22,
			 from /usr/include/wx-3.0/wx/textctrl.h:22,
			 from /usr/include/wx-3.0/wx/dataview.h:18,
			 from TreeModel.h:3,
			 from TreeModel.cpp:1:
/usr/include/wx-3.0/wx/string.h:2387:7: note: int wxString::CompareTo(const wxChar*, wxString::caseCompare) const
  int CompareTo(const wxChar* psz, caseCompare cmp = exact) const
   ^
/usr/include/wx-3.0/wx/string.h:2387:7: note:   no known conversion for argument 1 from 'wxString' to 'const wxChar* {aka const wchar_t*}'
TreeModel.cpp:742:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: some warnings being treated as errors
Makefile:625: recipe for target 'TreeModel.lo' failed
make[3]: *** [TreeModel.lo] Error 1
make[3]: Leaving directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs/wxutil'
Makefile:426: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT/libs'
Makefile:742: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mircea/Games/Quake/TheDarkMod/DarkRadiant_GIT'
Makefile:482: recipe for target 'all' failed
make: *** [all] Error 2
mircea@linux-qz0r:~/Games/Quake/TheDarkMod/DarkRadiant_GIT>

Link to comment
Share on other sites

 

Cloned. It doesn't however seem to configure properly, and has a new problem which I'm not getting on the main branch;

mircea@linux-qz0r:~/Games/Quake/TheDarkMod/DarkRadiant> make
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I m4
/bin/sh: aclocal-1.14: command not found
Makefile:517: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
mircea@linux-qz0r:~/Games/Quake/TheDarkMod/DarkRadiant> 
Edited by MirceaKitsune
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 0 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...