Git Product home page Git Product logo

cgalplugin's People

Contributors

alxbilger avatar bakpaul avatar bcarrez avatar cnick1 avatar coolteemf avatar courtecuisse avatar damienmarchal avatar epernod avatar etienneschmitt avatar eulaliecoevoet avatar fjourdes avatar flargilliere avatar fredroy avatar glienhart avatar guparan avatar hugtalbot avatar ipeterlik avatar jeremiea avatar jnbrunet avatar marques-bruno avatar matthieu-nesme avatar pedroperrusi avatar remibessard avatar sofaframework avatar stephanecotin avatar thomasjundinsimo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cgalplugin's Issues

undeclared identifiers 'serr', 'sendl', etc

I am trying to compile the CGAL plugin with the latest master branch version of SOFA on Linux. I get a lot the following errors when trying to build with ninja:

[53/56] Building CXX object applicatio....dir/src/CGALPlugin/Refine2DMesh.cpp.o
FAILED: applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/src/CGALPlugin/Refine2DMesh.cpp.o 
/usr/bin/clang++-12 -DBOOST_ALL_NO_LIB -DCGALPlugin_EXPORTS -DCGAL_MESH_3_VERBOSE=0 -DNDEBUG -DSOFA_BUILD_CGALPLUGIN -I/home/nick/sofa/src/applications/plugins/CGALPlugin/src -I/home/nick/sofa/build/include/CGALPlugin -I/home/nick/sofa/src/Sofa/framework/Simulation/Common/src -I/home/nick/sofa/build/include/Sofa.Simulation.Common -I/home/nick/sofa/src/Sofa/framework/Core/src -I/home/nick/sofa/build/include/Sofa.Core -I/home/nick/sofa/src/Sofa/framework/Helper/src -I/home/nick/sofa/build/include/Sofa.Helper -I/home/nick/sofa/src/Sofa/framework/Config/src -I/home/nick/sofa/build/include/Sofa.Config -I/home/nick/sofa/src/Sofa/framework/Type/src -I/home/nick/sofa/build/include/Sofa.Type -I/home/nick/sofa/src/Sofa/framework/Compat/src -I/home/nick/sofa/build/include/Sofa.Compat -I/home/nick/sofa/src/Sofa/framework/Topology/src -I/home/nick/sofa/build/include/Sofa.Topology -I/home/nick/sofa/src/Sofa/framework/Geometry/src -I/home/nick/sofa/build/include/Sofa.Geometry -I/home/nick/sofa/src/Sofa/framework/DefaultType/src -I/home/nick/sofa/build/include/Sofa.DefaultType -I/home/nick/sofa/src/Sofa/framework/LinearAlgebra/src -I/home/nick/sofa/build/include/Sofa.LinearAlgebra -I/home/nick/sofa/src/Sofa/Component/Compat/src -I/home/nick/sofa/build/include/Sofa.Component.Compat -I/home/nick/sofa/src/Sofa/framework/Simulation/Core/src -I/home/nick/sofa/build/include/Sofa.Simulation.Core -I/home/nick/sofa/src/Sofa/Component/Mass/src -I/home/nick/sofa/build/include/Sofa.Component.Mass -I/home/nick/sofa/src/Sofa/Component/Topology/Container/Dynamic/src -I/home/nick/sofa/build/include/Sofa.Component.Topology.Container.Dynamic -I/home/nick/sofa/src/Sofa/Component/MechanicalLoad/src -I/home/nick/sofa/build/include/Sofa.Component.MechanicalLoad -isystem /home/nick/sofa/src/extlibs/json -isystem /home/nick/sofa/src/extlibs/stb -isystem /usr/include/eigen3 -O3 -DNDEBUG -fPIC -Wno-attributes -Wall -W -Wno-padded -std=gnu++17 -MD -MT applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/src/CGALPlugin/Refine2DMesh.cpp.o -MF applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/src/CGALPlugin/Refine2DMesh.cpp.o.d -o applications/plugins/CGALPlugin/CMakeFiles/CGALPlugin.dir/src/CGALPlugin/Refine2DMesh.cpp.o -c /home/nick/sofa/src/applications/plugins/CGALPlugin/src/CGALPlugin/Refine2DMesh.cpp
In file included from /home/nick/sofa/src/applications/plugins/CGALPlugin/src/CGALPlugin/Refine2DMesh.cpp:25:
/home/nick/sofa/src/applications/plugins/CGALPlugin/src/CGALPlugin/Refine2DMesh.inl:342:33: error: use of undeclared identifier 'serr'
                                serr << "Invalid constrained edge." << sendl;
                                ^
/home/nick/sofa/src/applications/plugins/CGALPlugin/src/CGALPlugin/Refine2DMesh.inl:342:72: error: use of undeclared identifier 'sendl'
                                serr << "Invalid constrained edge." << sendl;
                                                                       ^
2 errors generated.

I found the following pull request where it seems that these undeclared identifiers have been deprecated, so I think there is an error with the plugin rather than a mistake on my end, but I could be wrong.

Also, the installation instructions appear to be out of date here
https://www.sofa-framework.org/community/doc/plugins/usual-plugins/cgal-library/

I installed the plugin by activating "SOFA_FETCH_CGALPLUGIN" in cmake and then the "PLUGIN_CGALPLUGIN" entry as well, and I installed boost, GMP and MPFR, and CGAL all through the command line (sudo apt-get ...). When I configure cmake, it seems to find everything correctly; it just fails to build with ninja.

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.