i am run:make-j8。Can you give me some advice if the following questions arise
[ 3%] Building CXX object CMakeFiles/deform_optim.dir/src/lib/linear.cc.o
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
:0:25: error: token "�" is not valid in preprocessor expressions
/home/workstation/mesh/MeshODE/src/lib/linear.cc: In instantiation of ‘void LinearEstimation(std::vector<Eigen::Matrix<double, 3, 1> >&, const std::vector<Eigen::Matrix<int, 3, 1> >&, const Iter&, const Iter&, const std::vector&, const std::vector<Eigen::Matrix<double, 3, 1> >&, double) [with Iter = std::_Rb_tree_const_iterator<std::pair<int, int> >]’:
/home/workstation/mesh/MeshODE/src/lib/linear.cc:240:18: required from here
/home/workstation/mesh/MeshODE/src/lib/linear.cc:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < references.size(); ++i)
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:39:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < grid_cell.size(); ++i) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:42:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < grid_cell[i].size(); ++j) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < grid_cell[i].size(); ++k) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:47:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < grid_cell[i].size(); ++j) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V.size(); ++i) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:62:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < F.size(); ++i) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc: In instantiation of ‘void LinearEstimation(std::vector<Eigen::Matrix<double, 3, 1> >&, const std::vector<Eigen::Matrix<int, 3, 1> >&, const Iter&, const Iter&, const std::vector&, const std::vector<Eigen::Matrix<double, 3, 1> >&, double) [with Iter = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >]’:
/home/workstation/mesh/MeshODE/src/lib/linear.cc:247:18: required from here
/home/workstation/mesh/MeshODE/src/lib/linear.cc:35:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < references.size(); ++i)
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:39:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < grid_cell.size(); ++i) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:42:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < grid_cell[i].size(); ++j) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < grid_cell[i].size(); ++k) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:47:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < grid_cell[i].size(); ++j) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:52:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < V.size(); ++i) {
^
/home/workstation/mesh/MeshODE/src/lib/linear.cc:62:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < F.size(); ++i) {
^
CMakeFiles/deform_optim.dir/build.make:62: recipe for target 'CMakeFiles/deform_optim.dir/src/lib/linear.cc.o' failed
make[2]: *** [CMakeFiles/deform_optim.dir/src/lib/linear.cc.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/deform_optim.dir/all' failed
make[1]: *** [CMakeFiles/deform_optim.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I have the same error,do you have any solution?
Sorry, I didn't solve the problem. I think it has something to do with the version(ceres-solver )
But I tried 1.4 and 2.0, both with the same error
I have the same error,do you have any solution?
Do you have a solution?
I have the same error,do you have any solution?
Do you have a solution?
Sorry,I have not fix it yet.
I have the same error,do you have any solution?
Do you have a solution?
Sorry,I have not fix it yet.
Have you solved the problem now
hello, i got the same error while trying to run the code. Did you manage to resolve this?
Sorry, I haven't solved it yet-------- 原始邮件 --------主题:Re: [hjwdzh/MeshODE] question:make -j8 (#8)发件人:charlie514841 收件人:hjwdzh/MeshODE 抄送:honey ,Author
hello, i got the same error while trying to run the code. Did you manage to resolve this?
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
POSSIBLE FIX
- I didn't install the bugfix path from "ppa:bzindovic/suitesparse-bugfix-1319687"
- There were two missing dependencies: libmpfr-dev and libgmp-dev. I installed them.
- The variable defined at line 17 doesn't seem to be used and is wrong (absolute path): "set(Ceres_DIR "/home/maxjiang/Codes/ShapeDeform/3rd_party/ceres-solver/cmake/Ceres")". I just removed it.
- In the MeshODE's CMakeLists.txt, there is a typo at line 132: "add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1››)". The two last characters "››" are invalid and cause a preprocessor error when running the building commands. I removed them.
For now, everything builds...