[ 63%] Completed 'vtkm'
[ 63%] Built target vtkm
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I’m bad at CMake, please, give me some clue what this error could be about?
I want to use Paraview for visualize a result from libpointmatcher (ICP library for 2-D/3-D mapping in Robotics)
Thank you!
Are you sure you are building from the v5.4.1 tag in the superbuild? Actually, that may not be helpful for figuring out what the errors you are seeing mean, but it is a good thing to check nonetheless.
Does the build complete if you run make a second time?
HI, thanks for your response
Yes, I’m building from the v5.4.1 tag.
No, I’ve tried multiple times, that’s basically the error, while running make second time.
[ 63%] Completed 'vtkm'
[ 63%] Built target vtkm
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I don’t suspect a Python error. @ben.boeckel have we ever seen this?
What command are you running to execute the build? make should be sufficient without the -j option - parallel building happens at the project level. Maybe if you are including -j that is leading to a problem (wild guess, haven’t tried it).
Strangely enough, make without the -j option was the way to go.
I’d also like to point out, due to slow internet connection, I’ve been pre-downloading required dependencies into the CMAKE_INSTALL_PREFIX/downloads/ dir., where it is expected to be found by superbuild.
So, reason could be wrongly set permission access , although it was set to 777 or broken files.
Is there any way to check whether compressed files are corrupt or not?
Anyways, installing without -j flag and without pre-downloading archives solved the problem.
@cory.quammen@artemiialessandrini Surprisingly, I have seen issues with a -j before, but not for a long time. When you do get a good build, you may want to also try building with Paraview 5.7. 5.4.1 was a really good, stable release, but it is a few years old at this point.
I imagine that there could certainly be parallel build issues in 5.4.1 with Makefiles. I believe Ninja was the vastly preferred method at the time, but the superbuild may have not supported Ninja then either. It’s hard to tell without the output of the actual failure (which in a parallel build may be far away from the make: *** [all] Error 2 output you have above).