<div dir="ltr"><br clear="all"><div style>Hello all,</div><div style><br></div><div style>I have my test CTK plugin configured with cmake (its a dummy plugin, no services registered yet, just the minimum ctkPluginActivator methods)</div>
<div style><br></div><div style>I build my project, and when I try to start my empty plugin from an executable using</div><div style><br></div><div style><font face="courier new, monospace">ctkPluginFrameworkLauncher::addSearchPath("C:\\work\\pruebas-bin\\CTKTest\\Plugins\\com.alma.rd.tracker\\Release");<br>
</font></div><div style><font face="courier new, monospace">succeeded = ctkPluginFrameworkLauncher::start("com.alma.rd.tracker");</font><br></div><div style><br></div><div style>I get:</div><div style><br></div>
<div style><div>ctkRuntimeException: ctkPlugin start failed</div><div style>with a ctkException cause():</div><div>Loading plugin failed: The shared library was not found.</div><div><br></div><div style>I have a proper </div>
<div style><font face="courier new, monospace">Q_EXPORT_PLUGIN2(com_alma_rd_tracker, TrackerListenerActivator)</font> in my dummy plugin<br></div></div><div style><br></div><div style>and </div><div style><font face="courier new, monospace">set(PLUGIN_export_directive "com_alma_rd_tracker_EXPORT")</font> in my plugin's CmakeLists.txt<br>
</div><div style><br></div><div style>What can be wrong? I've tried manually moving the generated dll file next to my exe file to no avail.</div><div style><br></div><div style>many thanks</div><div style><br></div>-- <br>
Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a>
</div>