[Ctk-developers] plugin dll not found

Sascha Zelzer s.zelzer at dkfz-heidelberg.de
Thu Dec 27 11:10:07 EST 2012


Hi Sergio,

I guess you verified that the file at

C:\\work\\pruebas-bin\\CTKTest\\Plugins\\com.alma.rd.tracker\\Release\libcom_alma_rd_tracker.dll

really exists? Did you also try with a path like

C:/work/pruebas-bin/CTKTest/Plugins/com.alma.rd.tracker/Release

?

Best,
Sascha

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20121227/6bb96019/attachment.html>


More information about the Ctk-developers mailing list