Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 25672  / 1 Year ago, fri, february 24, 2023, 10:05:24

I want to compile a game from github. I followed this guide http://powdertoy.co.uk/Wiki/W/Compiling_for_Linux.html and when I get to the end when I need to use the make command to compile i get the following error



pavle@Pavle:~/TPT$ make powder-sse
gcc -c -w -std=c99 -D_POSIX_C_SOURCE=200112L -DLUACONSOLE -DGRAVFFT -Iincludes/ -D_GNU_SOURCE -m32 -DLIN32 -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -march=native -DX86 -DX86_SSE -o build/obj/air.powder-sse.o src/air.c
In file included from /usr/include/math.h:28:0,
from src/air.c:18:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make: *** [build/obj/air.powder-sse.o] Error 1
pavle@Pavle:~/TPT$


What am I doing wrong I tried using sse2, sse3, 64bit nad opengl(looked it up in the make file) nothing worked. Help please


More From » make

 Answers
2

Are you on a 64 Bit system? Try to install gcc-multilib



sudo apt-get install gcc-multilib


and make again.


[#34990] Saturday, February 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anxietunnel

Total Points: 66
Total Questions: 120
Total Answers: 115

Location: Norway
Member since Sat, Mar 4, 2023
1 Year ago
;