
Description
Hello,
I'm trying to build sfml-tmxloader on Ubuntu 14.04. I pulled the source code from the git repository, created a build dir, set the SFML_ROOT to the path and ran "cmake ..". Here are the results:
-- Found SFML 2.1 in /home/hiram/Desenvolvimento/sfml/include
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found Box2D: /usr/lib/x86_64-linux-gnu/libBox2D.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hiram/Desenvolvimento/sfml-tmxloader/build
Everything looks fine, but when I run "make" I get the following error message:
[ 14%] Building CXX object CMakeFiles/tmx-loader.dir/src/DebugShape.cpp.o
In file included from /home/hiram/Desenvolvimento/sfml-tmxloader/src/DebugShape.cpp:30:0:
/home/hiram/Desenvolvimento/sfml-tmxloader/include/tmx/DebugShape.h:33:41: fatal error: SFML/Graphics/VertexArray.hpp: Arquivo ou diretório não encontrado
#include <SFML/Graphics/VertexArray.hpp>
^
compilation terminated.
make[2]: ** [CMakeFiles/tmx-loader.dir/src/DebugShape.cpp.o] Erro 1
make[1]: ** [CMakeFiles/tmx-loader.dir/all] Erro 2
make: ** [all] Erro 2
It's basically saying that SFML/Graphics/VertexArray.hpp was not found (it's in portuguese), although CMake previously informed that it was able to find the SFML dir.
Any clues?
Thanks in advance.