Open yurivict opened 2 years ago
The above is with NANOGUI_BUILD_GLFW=ON.
With NANOGUI_BUILD_GLFW=OFF
the project installs these files:
include/GLFW/glfw3.h
include/GLFW/glfw3native.h
that conflict with a standalone glfw
package.
It seems that ON and OFF are reversed? include/nanogui/opengl.h includes GLFW/glfw3.h, so these 2 files are needed to be installed with NANOGUI_BUILD_GLFW=ON. If you do not want the conflict with a standalone glfw, you need to specify NANOGUI_BUILD_GLFW=OFF and depend on the standalone glfw package. NANOGUI_BUILD_GLFW=OFF requires the fix in #104 .