Jump to content

Compiling Slade3 on Linux will not work.


Recommended Posts

I am trying to compile Slade 3 on Linux, but I got this error when the compilation was nearly finished, this is the code from GitHub.

 

[ 67%] Building CXX object src/CMakeFiles/slade.dir/OpenGL/GLTexture.cpp.o
[ 68%] Building CXX object src/CMakeFiles/slade.dir/OpenGL/OpenGL.cpp.o
[ 68%] Building CXX object src/CMakeFiles/slade.dir/OpenGL/View.cpp.o
[ 68%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapFormat/Doom32XMapFormat.cpp.o
[ 68%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapFormat/Doom64MapFormat.cpp.o
[ 69%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapFormat/DoomMapFormat.cpp.o
[ 69%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapFormat/HexenMapFormat.cpp.o
[ 69%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapFormat/MapFormatHandler.cpp.o
[ 69%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapFormat/UniversalDoomMapFormat.cpp.o
[ 69%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObject/MapLine.cpp.o
[ 70%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObject/MapObject.cpp.o
[ 70%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObject/MapSector.cpp.o
[ 70%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObject/MapSide.cpp.o
[ 70%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObject/MapThing.cpp.o
[ 72%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObject/MapVertex.cpp.o
[ 72%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObjectCollection.cpp.o
[ 72%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObjectList/LineList.cpp.o
[ 72%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObjectList/SectorList.cpp.o
[ 72%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObjectList/SideList.cpp.o
[ 73%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObjectList/ThingList.cpp.o
[ 73%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapObjectList/VertexList.cpp.o
[ 73%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/MapSpecials.cpp.o
[ 73%] Building CXX object src/CMakeFiles/slade.dir/SLADEMap/SLADEMap.cpp.o
[ 74%] Building CXX object src/CMakeFiles/slade.dir/TextEditor/Lexer.cpp.o
[ 74%] Building CXX object src/CMakeFiles/slade.dir/TextEditor/TextLanguage.cpp.o
[ 74%] Building CXX object src/CMakeFiles/slade.dir/TextEditor/TextStyle.cpp.o
[ 74%] Building CXX object src/CMakeFiles/slade.dir/TextEditor/UI/FindReplacePanel.cpp.o
[ 74%] Building CXX object src/CMakeFiles/slade.dir/TextEditor/UI/SCallTip.cpp.o
[ 75%] Building CXX object src/CMakeFiles/slade.dir/TextEditor/UI/TextEditorCtrl.cpp.o
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp: In member function void slade::TextEditorCtrl::setup()’:
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp:279:9: error: SetFontQuality was not declared in this scope
  279 |         SetFontQuality(txed_font_quality);
      |         ^~~~~~~~~~~~~~
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp: In member function void slade::TextEditorCtrl::selectNextOccurrence()’:
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp:728:9: error: TargetWholeDocument was not declared in this scope
  728 |         TargetWholeDocument();
      |         ^~~~~~~~~~~~~~~~~~~
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp:730:9: error: MultipleSelectAddNext was not declared in this scope
  730 |         MultipleSelectAddNext();
      |         ^~~~~~~~~~~~~~~~~~~~~
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp: In member function void slade::TextEditorCtrl::selectAllOccurrences()’:
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp:738:9: error: TargetWholeDocument was not declared in this scope
  738 |         TargetWholeDocument();
      |         ^~~~~~~~~~~~~~~~~~~
/home/jcartwright/Documents/SLADE/src/TextEditor/UI/TextEditorCtrl.cpp:740:9: error: MultipleSelectAddEach was not declared in this scope
  740 |         MultipleSelectAddEach();
      |         ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/slade.dir/build.make:2716: src/CMakeFiles/slade.dir/TextEditor/UI/TextEditorCtrl.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:372: src/CMakeFiles/slade.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Should I just wait for a newer version, or just use Windows?

Edited by bejiitas_wrath

Share this post


Link to post

I'm guessing your wxWidgets libraries are out of date. What distro are you using, and what packages did you install before running the build?

 

The lines mentioned in the log were added about five months ago, so one thing you could try is checking out an older version (e.g. 3.2.4).

Share this post


Link to post

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.   Restore formatting

  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.

×
×
  • Create New...