[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Pixie's plugins not working
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-03-18 21:57:29
[Download RAW message or body]


When selecting an effect from the 'Effect' menu:

'Plugin was not linked with libkifplugin! The plugin name is libkif_magick'

Here's the link line for libkif_magick:

g++ -shared  magick.lo dialog.lo  -L/usr/X11R6/lib -L/home/rik/work/cvs/qt-copy/lib \
-L/home/rik/work/cvs/kde/lib ../../../libminimagick/.libs/libminimagick.so \
../../libifplugin/.libs/libkifplugin.so   -lc  -Wl,-soname -Wl,libkif_magick.so.1 -o \
.libs/libkif_magick.so.1.0.0

Here's the code that does the test:

lt_ptr_t proc_func = lt_dlsym(handle, "process");
proc_ptr = (void *(*)()) proc_func;
if(effect_ptr && proc_ptr){
  ...
} else {
  if (!effect_ptr)
    // error above is shown
}

Hmm.. extern "C" void process() is defined in plugins/magick/magick.cpp
so is this really a problem with not being linked to libkif_magick ?


Rik


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic