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
the rest of examples are normal with some warnings. but there are some errors in libigl_booleans.
I think the problem is libigl/include/igl/decimate.h in cg3lib/cg3/libigl is totally different
the rest of examples are normal with some warnings. but there are some errors in libigl_booleans.
I think the problem is libigl/include/igl/decimate.h in cg3lib/cg3/libigl is totally different
g++ -c -pipe -fopenmp -isystem /opt/libigl/include/ -std=c++11 -O2 -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DCGAL_HEADER_ONLY -DCG3_QMAKE -DCG3_CORE_DEFINED -DCG3_WITH_BOOST -DCG3_CGAL_DEFINED -DCGAL_EIGEN3_ENABLED -DCG3_LIBIGL_DEFINED -DCG3_VIEWER_DEFINED -DSOURCE_PATH=/home/zcc2xj/Github/cg3lib/examples/libigl_booleans -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I-I -I/usr/include/eigen3 -I/opt/libigl/include -I../../../cg3lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o booleans_manager.o ../../cg3/viewer/managers/booleans_manager.cpp
g++ -c -pipe -fopenmp -isystem /opt/libigl/include/ -std=c++11 -O2 -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DCGAL_HEADER_ONLY -DCG3_QMAKE -DCG3_CORE_DEFINED -DCG3_WITH_BOOST -DCG3_CGAL_DEFINED -DCGAL_EIGEN3_ENABLED -DCG3_LIBIGL_DEFINED -DCG3_VIEWER_DEFINED -DSOURCE_PATH=/home/zcc2xj/Github/cg3lib/examples/libigl_booleans -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I-I -I/usr/include/eigen3 -I/opt/libigl/include -I../../../cg3lib -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp
In file included from ../../../cg3lib/cg3/libigl/internal/eigenmesh_libigl_algorithms.h:117,
from ../../../cg3lib/cg3/libigl/booleans.cpp:10,
from ../../../cg3lib/cg3/libigl/booleans.h:58,
from ../../cg3/viewer/managers/booleans_manager.cpp:15:
../../../cg3lib/cg3/libigl/internal/eigenmesh_libigl_algorithms_decimation.cpp: In static member function ‘static cg3::SimpleEigenMesh cg3::libigl::internal::EigenMeshLibIglAlgorithms::decimateMesh(const cg3::SimpleEigenMesh&, int, Eigen::VectorXi&)’:
../../../cg3lib/cg3/libigl/internal/eigenmesh_libigl_algorithms_decimation.cpp:30:18: error: no matching function for call to ‘decimate(const Eigen::Matrix<double, -1, 3, 1, -1, 3>&, const Eigen::Matrix<int, -1, 3, 1, -1, 3>&, int&, Eigen::MatrixXd&, Eigen::MatrixXi&, Eigen::VectorXi&)’
30 | igl::decimate(m.V, m.F, numberDesiredFaces, VV, FF, mapping);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/libigl/include/igl/decimate.h:182,
from ../../../cg3lib/cg3/libigl/internal/eigenmesh_libigl_algorithms_decimation.cpp:10,
from ../../../cg3lib/cg3/libigl/internal/eigenmesh_libigl_algorithms.h:117,
from ../../../cg3lib/cg3/libigl/booleans.cpp:10,
from ../../../cg3lib/cg3/libigl/booleans.h:58,
from ../../cg3/viewer/managers/booleans_manager.cpp:15:
/opt/libigl/include/igl/decimate.cpp:22:17: note: candidate: ‘bool igl::decimate(const MatrixXd&, const MatrixXi&, int, bool, Eigen::MatrixXd&, Eigen::MatrixXi&, Eigen::VectorXi&, Eigen::VectorXi&)’
22 | IGL_INLINE bool igl::decimate(
| ^~~
/opt/libigl/include/igl/decimate.cpp:22:17: note: candidate expects 8 arguments, 6 provided
/opt/libigl/include/igl/decimate.cpp:138:17: note: candidate: ‘bool igl::decimate(const MatrixXd&, const MatrixXi&, const decimate_cost_and_placement_callback&, const decimate_stopping_condition_callback&, const decimate_pre_collapse_callback&, const decimate_post_collapse_callback&, const MatrixXi&, const VectorXi&, const MatrixXi&, const MatrixXi&, Eigen::MatrixXd&, Eigen::MatrixXi&, Eigen::VectorXi&, Eigen::VectorXi&)’
The text was updated successfully, but these errors were encountered: