Page 1 of 1

erreur compiling on Ubuntu

PostPosted: Fri Dec 09, 2016 4:48 pm
by legluondunet
Hello,

when I try to compile last Supermodel code, I obtain this compilation error:

http://pastebin.com/9pLqUvpr

Thank you for your help.

LGDN
Ubuntu

Re: erreur compiling on Ubuntu

PostPosted: Sat Dec 10, 2016 12:29 am
by Kacperas
Your makefile needs to be updated - please implement changes in file provided in this post.

Re: erreur compiling on Ubuntu

PostPosted: Sat Dec 10, 2016 2:44 am
by legluondunet
Like described in the post, I modified this line:

Code: Select all
$(OBJ_DIR)/New3D.o $(OBJ_DIR)/Mat4.o $(OBJ_DIR)/Model.o $(OBJ_DIR)/PolyHeader.o $(OBJ_DIR)/Texture.o $(OBJ_DIR)/TextureSheet.o $(OBJ_DIR)/VBO.o $(OBJ_DIR)/Vec.o $(OBJ_DIR)/R3DShader.o $(OBJ_DIR)/R3DFloat.o \


just added $(OBJ_DIR)/R3DScrollFog.o at the end of the line:

Code: Select all
$(OBJ_DIR)/New3D.o $(OBJ_DIR)/Mat4.o $(OBJ_DIR)/Model.o $(OBJ_DIR)/PolyHeader.o $(OBJ_DIR)/Texture.o $(OBJ_DIR)/TextureSheet.o $(OBJ_DIR)/VBO.o $(OBJ_DIR)/Vec.o $(OBJ_DIR)/R3DShader.o $(OBJ_DIR)/R3DFloat.o $(OBJ_DIR)/R3DScrollFog.o  \


and now it compiles OK on Ubuntu.
Thank you.

Re: erreur compiling on Ubuntu

PostPosted: Sat Dec 10, 2016 7:15 pm
by sergio-br2
You know that there's a PPA right? viewtopic.php?f=5&t=1123

You don't really need to compile supermodel on ubuntu.