The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
Compiling error ubuntu 11.04
«
1
»
Compiling error ubuntu 11.04
ndw18
25th Jun 2011
Member
0
Permalink
when I try compiling the source for tpt with no modifications made my terminal comes up with this
ndw@ubuntu:~$ cd TPT
ndw@ubuntu:~/TPT$ make powder-sse
echo python getheader.py
python getheader.py
gcc -m32 -opowder-sse -w -std=c99 -D_POSIX_C_SOURCE=200112L -DLUACONSOLE -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -march=native -DX86 -DX86_SSE src/*.c src/elements/*.c -lpthread -lSDL -lm -lbz2 -llua5.1 -DLIN32
In file included from src/luaconsole.c:4:0:
includes/luaconsole.h:8:24: fatal error: lua5.1/lua.h: No such file or directory
compilation terminated.
In file included from src/main.c:62:0:
includes/luaconsole.h:8:24: fatal error: lua5.1/lua.h: No such file or directory
compilation terminated.
make: *** [powder-sse] Error 1
thanks for any help.
savask
25th Jun 2011
Developer
0
Permalink
Try: "sudo apt-get install liblua5.1-0-dev"
ndw18
25th Jun 2011
Member
0
Permalink
thank you it works now
Edited by
ndw18
, 2011-06-23 14:43:09
me4502
25th Jun 2011
Member
0
Permalink
@savask
(View Post)
Your back :)
«
1
»