- This topic has 5 replies, 3 voices, and was last updated 5 years, 8 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Failed to Build CGAL Plugin
Tagged: 64_bits, CGAL, SOFA_1806, VS2017, Windows_10
Hi
Could you help me build the CGAL Plugin?
I followed the steps here https://www.sofa-framework.org/community/doc/using-sofa/optional-features/cgal-library/, installed and compiled CGAL 4.7 in Windows 10. Then I rebuild the sofa in MinSizeRel and all succeeded. A CGALPlugin.dll was generated in the /bin folder. However, when I run runSofa, and it shows
[ERROR] [PluginManager] Plugin loading failed (A:/SOFA/sofa/build/CGAL/bin/MinSizeRel/CGALPlugin.dll): The specified module could not be found.
Thanks
Hi @zliu157
Are you using the v18.06 version of SOFA?
Did you try to load manually the CGALPlugin.dll from the Plugin Manager (in runSofa, in the Edit menu)?
Best
Hugo
Hi @hugo
Thanks for your reply. I am using the unstable version on the master branch. Is that an issue?
I tried your method to load manually the CGALPlugin.dll, but the same error occurred as the pictures show. Also, I tried the latest CGAL 4.13, but it was not working as well. Do you have any other idea about it?
pic1
pic2
Thanks,
Zhichao
Hi @Zhichao,
I had the same problem, it was because the cgal dll files were not found by CGALPlugin.dll
So you should add the cgal bin directory to your env path or look at this PR I try to fix that problem:
https://github.com/sofa-framework/sofa/pull/958
best regards,
Hi @epernod,
I added the cgal bin to my path, and it was not working. Then I downloaded the latest /application/plugin/CGALPlugin and recompiled it. It was working! Thanks for your huge help.
Best regards,
Zhichao
Ok great!
You are welcome. Could you set the field as resolved. Thanks.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.