<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Sergio,<br>
<br>
I guess you verified that the file at<br>
<br>
<font face="courier new, monospace">C:\\work\\pruebas-bin\\CTKTest\\Plugins\\com.alma.rd.tracker\\Release\libcom_alma_rd_tracker.dll</font><br>
<br>
really exists? Did you also try with a path like<br>
<br>
<font face="courier new, monospace">C:/work/pruebas-bin/CTKTest/Plugins/com.alma.rd.tracker/Release</font><br>
<br>
?<br>
<br>
Best,<br>
Sascha<br>
<br>
On 12/27/2012 03:29 PM, Sergio Vera wrote:<br>
</div>
<blockquote
cite="mid:CAD1Tg9Qih5dNqhbwFDt++vSb6LW7Sjn-3fPNLUvUv78z4_cFyg@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true" href="http://www.alma3d.com">www.alma3d.com</a>
</div>
</blockquote>
<br>
</body>
</html>