Open domattioli opened 2 years ago
Here is the CMakeOutput.log file.
I did follow the write-up, installing each of GLM, GLEW, and GLFW. My environment variable also includes the respective directories as I have shown above, however, fbx-extract's cmake output suggests that there is a mismatch between it's reading of the environment variable and the actual value.
What does ls $GLM_INCLUDE_DIR
output?
➜ ~ ls $GLM_INCLUDE_DIR
CMakeLists.txt copying.txt glm readme.md util
cmake doc manual.md test
$ ls $GLM_INCLUDE_DIR
CMakeCache.txt CMakeLists.txt Makefile cmake_install.cmake doc manual.md test
CMakeFiles CTestTestfile.cmake cmake copying.txt glm readme.md util
The build succeeds if I go into the CMakeLists.txt file and hardcode the directory for GLM.
It may be a version issue. Maybe it would be better to include the GLM source in the project to increase compatibility. I'll keep this issue open for now. (Good to hear you got it to work by hardcoding.)
I had the same error, but it was built after setting CMAKE_PROJECT_NAME as a user env to the latest GLM I had cloned from GitHub. I used CLion.
I git cloned the GLM library to the same directory that I've cloned fbx-extract. I went into the glm library and performed the cmake command:
Following your instructions, I get a CMake error:
I'm using Ubuntu on Windows. Here is the end of my ~/.profile file:
export GLM_INCLUDE_DIR="/usr/include/glm"
And a sanity check:
What have I done wrong?