Page 1 of 1

How to add and show plugin in Linux env

Posted: Fri Jul 01, 2022 7:22 am
by HowzC
I want to add plugin into cloudcompare in Linux environment, but I don't know how to add it, is there any document about this?
I copy https://github.com/CloudCompare/CloudCo ... leIOPlugin those code to ~Cloudcompare/core/standard and change plugin name, then I take the steps which compile standard cloudcompare(mkdir build and enter build, and "cmake ..", then "cmake --build .", and final "sudo cmake --install .")
BUT, I can't find my own plugin at the "plugins" drop down menu of cloudcompare.
So, can anyone provide a guide for adding plugin into cloudcompare in Linux env?

Re: How to add and show plugin in Linux env

Posted: Mon Jul 04, 2022 9:34 am
by HowzC
I tried again and success.

Just add "-DPLUGIN_MYPLUGIN=ON" (the plugin added name is "MYPLUGIN") at CMake configuration, and other command not change. And final I can find new-added plugin at the drop-down menu "plugins" in the toolbar.

Detail command is "cmake -DPLUGIN_MYPLUGIN=ON .. ", and then "cmake --build .", final "sudo cmake --install ."