[compile error] cmake-generated compile flags does not compile #4380
Labels
help wanted
kind: compile error
Type of issue
needs: testing
Specify why not closed/merged yet
skill: cmake
Skills/areas of expertise needed to tackle the issue
Describe the error
Hi everyone, thanks for all your work in this excellent project.
I would just like to ask your expertise in solving the compile error that I have encountered. I am currently updating the docker image that is used to compile our code. The previous image uses Ubuntu 16.04 and the new image has Ubuntu 18.04. I am using the same PCL version and there are no changes in the code so far. The compilation in the old image had no problems but when I tried compiling in the new image, the following error came out:
I tried to get a verbose output of the make command and the following output was shown:
The generated VTK compile flags seems to have parentheses missing:
Commenting out the following
CMakeList.txt
lines fixed the compile flags. That was the reason I guessed it might be the compile flags generated by PCL that was causing the error.To Reproduce
It is not possible to post the CMakeList.txt file and code here but I am compiling the code inside a Docker container.
Your Environment (please complete the following information):
The Docker image I am using is quiet big so I am not able to post it here but the following are the software versions contained in the previous and new image:
PCL compilation commands inside container:
The text was updated successfully, but these errors were encountered: