Hello there, so i don't know much about all of that i'm just simply trying to compile it for the Nintendo Switch since i can't find a single up-to-date download for it, let me know if there's one available thank you.
Anyway i'm trying to configure it and i get this:
Ruby@DESKTOP-7UBB1JD MSYS ~/documents/github/xash3d-fwgs
$ ./waf configure -T release --nswitch --sdl2 c:/Users/Ruby/Downloads/SDL2.dll
Setting top to : /home/Ruby/documents/github/xash3d-fwgs
Setting out to : /home/Ruby/documents/github/xash3d-fwgs/build
Build type : humanrights
LTO build : no
PolyOpt build : no
OpenMP build : no
Generate profile : no
Use profile : not found
Checking for 'gcc' (C compiler) : /opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc
Target OS : nswitch
Target CPU : aarch64
Target binfmt : elf
Checking for 'g++' (C++ compiler) : /opt/devkitpro/devkitA64/bin/aarch64-none-elf-g++
Target OS : nswitch
Target CPU : aarch64
Target binfmt : elf
Checking for program 'cmake' : /usr/bin/cmake
Checking for c flags '-MMD' : yes
Checking for cxx flags '-MMD' : yes
Checking for program 'elf2nro' : /opt/devkitpro/tools/bin/elf2nro
Checking for program 'strip' : /opt/devkitpro/devkitA64/bin/aarch64-none-elf-strip
Checking for program '/opt/devkitpro/devkitA64/bin/aarch64-none-elf-objcopy' : /opt/devkitpro/devkitA64/bin/aarch64-none-elf-objcopy
Checking for program 'cmake' : /usr/bin/cmake
Checking if 'gcc' can target 32-bit : no
Checking for required C flags : yes
Checking for required C++ flags : yes
Checking supported flags for gcc in parallel : started
... -fnonconst-initializers : no
... -Wunused-function : yes
... -Werror=implicit-int : yes
... -Werror=vla : yes
... -Werror=packed-not-aligned : yes
... -Werror=int-conversion : yes
... -Werror=nonnull : yes
... -Werror=strict-prototypes : yes
... -Werror=string-compare : yes
... -Werror=enum-conversion : yes
... -Winit-self : yes
... -Werror=implicit-fallthrough=2 : yes
... -Werror=cast-align=strict : yes
... -Werror=sizeof-pointer-div : yes
... -Werror=return-type : yes
... -Walloc-zero : yes
... -Werror=use-after-free=3 : yes
... -Werror=implicit-function-declaration : yes
... -Werror=old-style-declaration : yes
... -Wmissing-prototypes : yes
... -Werror=alloc-size : yes
... -Wunused-but-set-variable : yes
... -Werror=write-strings : yes
... -Werror=parentheses : yes
... -Wstringop-overflow : yes
... -Wmisleading-indentation : yes
... -Wformat=2 : yes
... -Werror=sequence-point : yes
... -Wunintialized : no
... -Werror=duplicated-cond : yes
... -Werror=logical-op : yes
... -Werror=sizeof-array-div : yes
... -Werror=declaration-after-statement : yes
... -Wunused-variable : yes
... -Werror=bool-operation : yes
... -Werror=incompatible-pointer-types : yes
... -Werror=strict-aliasing : yes
... -Werror=old-style-definition : yes
... -Werror=tautological-compare : yes
... -Werror=jump-misses-init : yes
... -Werror=packed : yes
... -Werror=unsequenced : no
... -Werror=sizeof-pointer-memaccess : yes
... -fdiagnostics-color=always : yes
... -Werror=bool-compare : yes
-> processing test results : 3 test failed
Checking supported flags for g++ in parallel : started
... -Wunintialized : no
... -Werror=implicit-fallthrough=2 : yes
... -Werror=alloc-size : yes
... -Wunused-function : yes
... -Werror=vla : yes
... -Werror=sizeof-pointer-div : yes
... -Werror=nonnull : yes
... -Werror=cast-align=strict : yes
... -Werror=use-after-free=3 : yes
... -Winit-self : yes
... -Werror=packed-not-aligned : yes
... -Werror=string-compare : yes
... -Walloc-zero : yes
... -Werror=bool-operation : yes
... -Werror=strict-aliasing : yes
... -Werror=unsequenced : no
... -Werror=return-type : yes
... -Werror=packed : yes
... -Wstringop-overflow : yes
... -Werror=tautological-compare : yes
... -Werror=logical-op : yes
... -Werror=parentheses : yes
... -Werror=write-strings : yes
... -Wunused-but-set-variable : yes
... -Wformat=2 : yes
... -Werror=sequence-point : yes
... -Wmisleading-indentation : yes
... -Werror=duplicated-cond : yes
... -Werror=sizeof-array-div : yes
... -Wunused-variable : yes
... -fdiagnostics-color=always : yes
... -Werror=sizeof-pointer-memaccess : yes
... -Werror=bool-compare : yes
-> processing test results : 2 test failed
Checking for 'solder' : yes
Checking for library m : yes
Checking for large file support : yes
Checking for 'opus' : not found
--> public : in progress
Checking for program 'git' : /usr/bin/git
Git commit hash : 244b9dc0-dirty
Git branch : master
Checking for alloca in alloca.h : yes
Checking for stdint.h : yes
Checking for tgmath.h : yes
Checking for strncasecmp : yes
Checking for strcasecmp : yes
Checking for strcasestr : yes
Checking for strchrnul : yes
Checking for strlcpy : yes
Checking for strlcat : yes
<-- public : done
--> filesystem : in progress
<-- filesystem : done
--> engine : in progress
Configuring SDL2 by provided path : yes: ['SDL2'], ['c:/Users/Ruby/Downloads/SDL2.dll/lib'], ['c:/Users/Ruby/Downloads/SDL2.dll/include', 'c:/Users/Ruby/Downloads/SDL2.dll/include/SDL2']
Checking for SDL2 sanity : no
SDL2 not availiable! Install switch-sdl2!
(complete log in /home/Ruby/documents/github/xash3d-fwgs/build/config.log)
Here's the last logs for log file, let me know if you need the entire file:
Configuring SDL2 by provided path
yes: ['SDL2'], ['c:/Users/Ruby/Downloads/SDL2.dll/lib'], ['c:/Users/Ruby/Downloads/SDL2.dll/include', 'c:/Users/Ruby/Downloads/SDL2.dll/include/SDL2']
from /home/Ruby/documents/github/xash3d-fwgs/engine: Test does not build: Traceback (most recent call last):
File "/home/Ruby/documents/github/xash3d-fwgs/.waf3-2.1.1-43c155a4cd7d73f02366fabb0babdbab/waflib/Configure.py", line 604, in run_build
bld.compile()
File "/home/Ruby/documents/github/xash3d-fwgs/.waf3-2.1.1-43c155a4cd7d73f02366fabb0babdbab/waflib/Build.py", line 359, in compile
raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more information)
no
from /home/Ruby/documents/github/xash3d-fwgs/engine: The configuration failed
from /home/Ruby/documents/github/xash3d-fwgs/engine: SDL2 not availiable! Install switch-sdl2!
Hello there, so i don't know much about all of that i'm just simply trying to compile it for the Nintendo Switch since i can't find a single up-to-date download for it, let me know if there's one available thank you.
Anyway i'm trying to configure it and i get this:
Here's the last logs for log file, let me know if you need the entire file: