Problem compiling
Posted: 2011-06-23, 22:25
Hi! This project looks really promising, and I'd like to try it, but I'm getting this compiling error:
Hope someone can help me. Thanks in advance.
Code: Select all
...
g++ -o Libs/build/linux2/g++/release/Models/Loader.o -c -O3 -funsigned-char -Wall -Werror -Wno-char-subscripts -fno-strict-aliasing -DNDEBUG -DSCONS_BUILD_DIR=build/linux2/g++/release -ILibs -IExtLibs -IExtLibs/lua/src -IExtLibs/lwo -IExtLibs/jpeg Libs/Models/Loader.cpp
Libs/Models/Loader.cpp: In member function 'void ModelLoaderT::RemoveUnusedVertices(CafuModelT::MeshT&)':
Libs/Models/Loader.cpp:143:43: error: unused variable 'Weights' [-Werror=unused-variable]
Libs/Models/Loader.cpp: In member function 'void ModelLoaderT::RemoveUnusedWeights(CafuModelT::MeshT&)':
Libs/Models/Loader.cpp:183:43: error: unused variable 'Triangles' [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
scons: *** [Libs/build/linux2/g++/release/Models/Loader.o] Error 1
scons: building terminated because of errors.