Closed oroppas closed 3 years ago
Hi @oroppas,
I don't know about the details of this compilation error, but just so you know, there's currently no functioning GUI for Mitsuba 2, so enabling MTS_ENABLE_GUI probably has no advantage.
Hi @oroppas ,
@merlinND is correct, the Mitsuba 2 GUI is not functional at the moment and isn't even expected to compile.
Checkout the Blender add-on for Mitsuba 2 if you are looking for something similar to a GUI: https://github.com/mitsuba-renderer/mitsuba2-blender
I will close this as it isn't really an issue.
Cheers!
For what it's worth, I was able to "fix" this error locally by appending #include <stdexcept>
to the top of nanogui-obj
's common.h
, adding it here: https://github.com/wjakob/nanogui/blob/master/include/nanogui/common.h#L32
Summary
Building NanoGUI in Mitsuba 2's external module fails with compilation error.
System configuration
Description
ext/nanogui
is behindhttps://github.com/mitsuba-renderer/nanogui
and VS2019 fails to compile. I can compilehttps://github.com/mitsuba-renderer/nanogui
successfully.Steps to reproduce
git clone --recursive https://github.com/mitsuba-renderer/mitsuba2
mkdir build && cd build
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DMTS_ENABLE_GUI=ON -DMTS_ENABLE_OPTIX=ON ..\mitsuba2
nmake