Ofelia
Ofelia copied to clipboard
emscripten compile error
hi cuinjune, with the newest emscripten 1.39.1 i get this compile error with the ofelia emscripten example on ubuntu 18.04:
/home/jonathan/Schreibtisch/of_v20191108_linux64gcc6_release/addons/ofxOfelia/libs/ofxLua/src/bindings/glmBindings.cpp:2733:10: fatal error:
'glm/gtc/functions.hpp' file not found
#include <glm/gtc/functions.hpp>
while it is possible to compile the open frameworks examples. the strange thing is the ofelia example was working before. but also downgrading emscripten to sdk-1.38.20-64bit did not work.
edit: actually i get the same error with the linux example, so it is not emscripten specific.
i changed include in glmBindings.cpp to #include <glm/gtx/functions.hpp> and now it works again (because functions.hpp is located there somehow).
can confirm the same bug with building example on macOS - @Jonathhhan's suggestion fixes the build.
👍 The same on Xcode 10.1 and of_v0.11