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
After a few tries, I got a successful compilation and run on Windows10.
Write the steps here which may be helpful to others.
The C++ source code of the manifolds project requires C++17. Add set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17") to line 24 of <path_to_project>\CMakeLists.txt.
Though C++17 is used, MSVC still cannot handle some code of the nanogui-python-obj project. We need Clang to compile it.
After a few tries, I got a successful compilation and run on Windows10.
Write the steps here which may be helpful to others.
manifolds
project requires C++17. Addset(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
to line 24 of<path_to_project>\CMakeLists.txt
.nanogui-python-obj
project. We need Clang to compile it.nanogui-python-obj
project: Configure a Windows project to use Clang tools#define STB_IMAGE_IMPLEMENTATION
before line 41 of<path_to_project>\ext\nanogui\src\example1.cpp
.example1
project is not required actually. It's only an example ofnanogui
.<path_to_project>\build\ext\nanogui\Release\nanogui.cp39-win_amd64.pyd
to its upper directory.$env:PYTHONPATH="<path_to_project>\build\Release;<path_to_project>\build\ext\nanogui\Release;$env:PYTHONPATH"
set PYTHONPATH="<path_to_project>\build\Release;<path_to_project>\build\ext\nanogui\Release;%PYTHONPATH%"
python <path_to_project>/python/viewer.py
The text was updated successfully, but these errors were encountered: