I added the flexible plugin in CMAKE and recompiled, but I received an error relating to CImg:
…\src\applications\plugins\Flexible\..\image/ImageTypes.h(34): fatal error C1083: Cannot open include file: ‘CImg/SOFACImg.h’: No such file or directory …\src\applications\plugins\Flexible\Flexible_test\FramesBeamMaterial_test.cpp)
I found out that the CImg directory is not at the desired path.
Can any one help me to fix this problem?
You are using v16.08, right ?
There has been changes with CImg since then.
Did you activate the image plugin as well?
Thank you for the quick reply and sorry for the delay in my response; I always try to go further based on your hints and then reply with more feedback.
Yes I used v16.08 and I did not activate image plugin.
Since your reply, I tried to build v16.12, and I activate flexible and image plugins. I received the following error:
v16.12\src\applications\plugins\flexible\quadrature\GaussPointSmoother.h(60): error C2899: typename cannot be used outside a template declaration
I fixed the problem by deleting the “typename” from the GaussPointSmoother.h, using the hint in the link below:
And sofa built successfully.
Nice to hear !
Thanks for sharing your solution.
Shall we close the topic then ?
Yes, Thank you.
You must be logged in to reply to this topic.
Get involved in this forum: