Git Product home page Git Product logo

Comments (6)

Meakk avatar Meakk commented on September 27, 2024 1

Indeed, F3D_MULTI_CONFIG_GENERATOR is not valid when building the python bindings externally.
I'll fix it before the next release.
A workaround for now could be to add -DF3D_MULTI_CONFIG_GENERATOR:BOOL=OFF in the configuration command.

from f3d.

yurivict avatar yurivict commented on September 27, 2024

Adding -DF3D_MULTI_CONFIG_GENERATOR:BOOL=OFF didn't fix the problem for me for some reason.

from f3d.

Meakk avatar Meakk commented on September 27, 2024

Adding -DF3D_MULTI_CONFIG_GENERATOR:BOOL=OFF didn't fix the problem for me for some reason.

That's surprising 🤔

Can you try to change line 24 from

set(f3d_module_dir "${CMAKE_BINARY_DIR}$<${F3D_MULTI_CONFIG_GENERATOR}:/$<CONFIG>>/${f3d_python_package_name}")

to

set(f3d_module_dir "${CMAKE_BINARY_DIR}/${f3d_python_package_name}")

Let me know if it's working.

from f3d.

yurivict avatar yurivict commented on September 27, 2024

This replacement fixed the problem.

from f3d.

Meakk avatar Meakk commented on September 27, 2024

Great. I'll fix this issue in the upcoming release.

from f3d.

Meakk avatar Meakk commented on September 27, 2024

The fix is done and will be merged soon (#1150). There are more changes to make in the CMake file in case you want to patch it.
Please note we are currently in a release phase and the 2.3 version will be out very soon with this fix included.

from f3d.

Related Issues (20)

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.