Question to set up CC for coding plugins
Posted: Tue Dec 13, 2022 6:57 pm
Hey, i'm having trouble getting CC ready for coding a plugin. Disclaimer: I am new to C++ and never did anything with it apart from learning the basics. Still i will try and get better to know what all this stuff with CMake, Debug and Release mean in a practical way.
So, my basic question is, what can i do to bring CC into a state where i can code a (first of all empty placeholder) plugin and get CC running showing basically the name of the new plugin? I've read about the example plugin (https://www.danielgm.net/cc/forum/viewtopic.php?t=5033) which has to be pasted into the 'plugin/core/standard' folder, but i guess i'm not at that point yet.
What i did so far is that i tried to run these steps (after installing Qt):
https://github.com/CloudCompare/CloudCo ... r/BUILD.md
Until step 4 it works all fine. Step 5 doesnt work.
Error:
Thats what i get.
works, but i'm not sure if this is the correct way to approach since it doesnt create an executable.
If there is any in-depth tutorial for setting up CC ready to alter or create plugins, i'd be very thankful for a link.
Any help is welcome,
cheers!
So, my basic question is, what can i do to bring CC into a state where i can code a (first of all empty placeholder) plugin and get CC running showing basically the name of the new plugin? I've read about the example plugin (https://www.danielgm.net/cc/forum/viewtopic.php?t=5033) which has to be pasted into the 'plugin/core/standard' folder, but i guess i'm not at that point yet.
What i did so far is that i tried to run these steps (after installing Qt):
https://github.com/CloudCompare/CloudCo ... r/BUILD.md
Until step 4 it works all fine. Step 5 doesnt work.
Error:
Code: Select all
[my folder]>cmake --install .
-- Install configuration: "Release"
CMake Error at libs/CCAppCommon/cmake_install.cmake:43 (file):
file INSTALL cannot find
"[my folder]/CCAppCommon.dll":
No error.
Call Stack (most recent call first):
libs/cmake_install.cmake:37 (include)
cmake_install.cmake:37 (include)
Code: Select all
cmake --install . config Debug
If there is any in-depth tutorial for setting up CC ready to alter or create plugins, i'd be very thankful for a link.
Any help is welcome,
cheers!