You are not logged in.

#1 2018-09-23 21:27:54

StevenC21
Member
Registered: 2018-09-17
Posts: 59

Compiling SLADE3 on Arch Linux (Compiler throwing missing file errors)

Hey everyone. I am trying to compile SLADE3 from the AUR for my personal use. Here's the issue: The compilation fails.

I have not much info, since I am very new to the art of compiling things, but I did attempt to recompile once and do some small fiddling. Anyways, here is the error:

[ 34%] Building CXX object src/CMakeFiles/slade.dir/Application/App.o
cc1plus: warning: /home/steven/source/SLADE/dist/src/cotire/slade_CXX_prefix.hxx.gch: not used because `INSTALL_PREFIX' defined as ` "/usr"' not ` "/usr/local"' [-Winvalid-pch]
[ 34%] Building CXX object src/CMakeFiles/slade.dir/Application/SLADEWxApp.o
cc1plus: warning: /home/steven/source/SLADE/dist/src/cotire/slade_CXX_prefix.hxx.gch: not used because `INSTALL_PREFIX' defined as ` "/usr"' not ` "/usr/local"' [-Winvalid-pch]
In file included from /usr/local/include/wx-3.1/wx/glcanvas.h:14,
                 from /home/steven/source/SLADE/src/./OpenGL/OpenGL.h:24,
                 from /home/steven/source/SLADE/src/Application/SLADEWxApp.cpp:43:
/usr/local/include/wx-3.1/wx/defs.h:33:17: fatal error: wx/msw/winundef.h: No such file or directory
 #       include "wx/msw/winundef.h"
                 ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/slade.dir/build.make:92: src/CMakeFiles/slade.dir/Application/SLADEWxApp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:163: src/CMakeFiles/slade.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I can provide more info if needed. Thank you to anyone who can help me.

Offline

#2 2018-09-23 21:33:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Compiling SLADE3 on Arch Linux (Compiler throwing missing file errors)

Moving to AUR Issues....


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-09-23 21:55:48

loqs
Member
Registered: 2014-03-06
Posts: 18,828

Re: Compiling SLADE3 on Arch Linux (Compiler throwing missing file errors)

Offline

Board footer

Powered by FluxBB