Giter Site home page Giter Site logo

manifold-visualizer's People

Contributors

tizian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

manifold-visualizer's Issues

Compilation with VS2022 on Windows10

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.
  • Add #define STB_IMAGE_IMPLEMENTATION before line 41 of <path_to_project>\ext\nanogui\src\example1.cpp.
    • We can skip this step because the example1 project is not required actually. It's only an example of nanogui.
  • Now the compilation should pass. Next, run the application.
  • Move <path_to_project>\build\ext\nanogui\Release\nanogui.cp39-win_amd64.pyd to its upper directory.
  • Set the environment variable
    • Powershell: $env:PYTHONPATH="<path_to_project>\build\Release;<path_to_project>\build\ext\nanogui\Release;$env:PYTHONPATH"
    • Command Prompt: set PYTHONPATH="<path_to_project>\build\Release;<path_to_project>\build\ext\nanogui\Release;%PYTHONPATH%"
  • python <path_to_project>/python/viewer.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.