You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled the nanogui library and used it as a third-party library in the project. I also imported include and lib, but the error of undefined identifier "gluniform1i" occurred during generation. How can I solve it? Is it because the nanogui library is not compiled well?
The text was updated successfully, but these errors were encountered:
Hi all,
I had the same problem.
here is the workaround I have found:
step 1:
open the nanogui folder, which you cloned via git in clion or make a visual studio project file using CMake and build and run one of the examples, My choice was example 2. find nanaogui.dll and copy it inside your program build folder/configuration/platform/. mine is c:\test_nanogui\Binary\Debug\Win32
I am using visual studio 2019
step 2:
add these two includes before nanogui/nanogui.h like this:
I compiled the nanogui library and used it as a third-party library in the project. I also imported include and lib, but the error of undefined identifier "gluniform1i" occurred during generation. How can I solve it? Is it because the nanogui library is not compiled well?
The text was updated successfully, but these errors were encountered: