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

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 0 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...