OpenJKDF2 icon indicating copy to clipboard operation
OpenJKDF2 copied to clipboard

Failed to Generate on Linux 64bit globals.h (Unknown option -D)

Open i34sti1337 opened this issue 1 year ago • 4 comments

./build_linux64.sh-- Going to build “libpng 1.6.39” from Git module -- Going to build “SDL 2.26.5” from Git module SDL_VERSION_MAJOR == 2 SDL_VERSION_MINOR == 26 SDL_VERSION_PATCH == 5 -- Going to build “SDL_mixer 2.6.3” from Git module SDL_MIXER_VERSION_MAJOR == 2 SDL_MIXER_VERSION_MINOR == 6 SDL_MIXER_VERSION_PATCH == 3 -- Configuring done (0.2s) -- Generating done (0.0s) -- Build files have been written to: /home/user/OpenJKDF2/build_linux64 [ 50%] Built target ZLIB_Linux_x86_64 [100%] Built target PROTOBUF [ 8%] Built target GLEW [ 9%] Built target ZLIB_Linux_x86_64 [ 9%] Built target SDL [ 19%] Built target PROTOBUF [ 20%] Built target PHYSFS [ 20%] Built target SDL_mixer [ 21%] Built target LIBPNG [ 22%] Built target GNS_HACK_ZLIB [ 24%] Built target GAMENETWORKINGSOCKETS [ 24%] Generating /home/user/OpenJKDF2/src/globals.h Unknown option -D

i34sti1337 avatar Nov 07 '23 19:11 i34sti1337

What distro/version are you on?

shinyquagsire23 avatar Nov 07 '23 19:11 shinyquagsire23

Arch Linux

i34sti1337 avatar Nov 11 '23 01:11 i34sti1337

Sorry for the late response, can you run these two commands and paste the output?

$ which cog
$ pip3 install cogapp

Also, did you make sure to follow the instructions in BUILDING.md?

shinyquagsire23 avatar Nov 13 '23 17:11 shinyquagsire23

i had to install python-cogapp than compiling was successful.

i34sti1337 avatar Nov 21 '23 00:11 i34sti1337