nanogui
nanogui copied to clipboard
Can't find nanogui_resources.h
I download all files of the project (nanogui).But I can't find the file "nanogui_resources.h",and the error comes from the file "theme.cpp : #include <nanogui_resources.h>". How do you solve this problem? Thank you!
"nanogui_resources.h" file is automatically generated when you run CMake. You should run CMake before build this library. (See Compiling section of this github main page.)
You can see the script in CMakeLists.txt file.
# Create command line for running bin2c cmake script
set(bin2c_cmdline
-DOUTPUT_C=nanogui_resources.cpp
-DOUTPUT_H=nanogui_resources.h
"-DINPUT_FILES=${resources_string}"
-P "${CMAKE_CURRENT_SOURCE_DIR}/resources/bin2c.cmake")