Can't Add External Plugin #3733
-
Hi, I am trying to add an external plugin with SOFA v22.12, following this instruction https://www.youtube.com/watch?v=46E215871e8, but keep running into this error: This is what I have in the CMakeLists.txt file: find_package(SofaFramework) sofa_add_subdirectory(MyAwesomeComponents/ MyAwesomeComponents) I have also tried specifying the version of the project: sofa_add_subdirectory(MyAwesomeComponents/ MyAwesomeComponents VERSION 1.0). Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Try |
Beta Was this translation helpful? Give feedback.
-
This method is effective for Sofa v22.12 version, but not for Sofa v21.12 version. What should I do? |
Beta Was this translation helpful? Give feedback.
Try
sofa_add_subdirectory(plugin MyAwesomeComponents MyAwesomeComponents)
. I think this function changed since the video.