[CMake] dlopen()able library making
William A. Hoffman
billlist at nycap.rr.com
Tue Apr 4 20:30:50 EDT 2006
At 06:18 PM 4/4/2006, Craig Bradney wrote:
>Hi,
>
>I'm making decent progress in the conversion of Scribus to cmake (main app
>runs now with all dependencies found.. yay!).. but now I'm stuck up against
>creating the dlopen()able plugins. The symbols exist but seem to be marked
>undefined.. eg:
>360: 00000000 0 NOTYPE GLOBAL DEFAULT UND _ZTV16ColorWheelPlugin
>versus the autohell built one:
>370: 000236a0 128 OBJECT WEAK DEFAULT 21 _ZTV16ColorWheelPlugin
I would have to see the sources to give a better answer.
But the symbol is the virtual table for the ColorWheelPlugin class:
$ c++filt _ZTV16ColorWheelPlugin
vtable for ColorWheelPlugin
Can you post the CMakeLists.txt file for building this plugin?
I would expect it to look something like this:
SET(SRCS colorblind.cpp colorwheelwidget.cpp cwsetcolor.cpp
colorwheel.cpp cwdialog.cpp)
ADD_LIBRARY(colorwheel MODULE ${SRCS})
(I looked at scribus-1.3.3.1cvs to get the sources.)
-Bill
More information about the CMake
mailing list