How to add and show plugin in Linux env

For any question about plugins!
Post Reply
HowzC
Posts: 4
Joined: Thu Mar 24, 2022 6:04 am

How to add and show plugin in Linux env

Post 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?
HowzC
Posts: 4
Joined: Thu Mar 24, 2022 6:04 am

Re: How to add and show plugin in Linux env

Post 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 ."
Post Reply