I have developed a plugin that works well with both the source-generated version of Cloud Compare and the standalone version installed from the site. (Windows 11, VS 2019)
However, as soon as I want to test this plugin on another computer or on a virtual machine, CC does not load it and displays an error message like:
Plugin's makefile :MyPlugin.dll does not seem to be a valid plugin (Cannot load library MyPlugin.dll : la procédure spécifiée est introuvable )
Code: Select all
project(MyPlugin )
AddPlugin( NAME ${PROJECT_NAME} )
set(CloudCompare_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../qCC)
include_directories( ${CloudCompare_SOURCE_DIR} )
add_subdirectory( include )
add_subdirectory( src )
Code: Select all
target_link_libraries( ${PROJECT_NAME} CCCoreLib::CCCoreLib )
Code: Select all
target_link_libraries( ${PROJECT_NAME} QCC_DB_LIB )
According to Depency Walker, "QCC_DB_LIB is not found", but adding QCC_DB_LIB.dll in the same folder of the plugin doesn't work either...
Any ideas ?
Thanks