On 09-Nov-2016 17:56, mathog wrote:
On 04-Nov-2016 17:04, mathog wrote:
/usr/local/src/inkscape_trunk/src/ui/widget/dock.h:15, from /usr/local/src/inkscape_trunk/src/ui/widget/dock.cpp:13: /usr/local/src/inkscape_trunk/src/ui/widget/dock.cpp: In constructor ‘Inkscape::UI::Widget::Dock::Dock(Gtk::Orientation)’: /usr/local/src/inkscape_trunk/src/ui/widget/dock.cpp:55:70: error: cannot convert ‘GdlDock* {aka _GdlDock*}’ to ‘GObject* {aka _GObject*}’ for argument ‘1’ to ‘GtkWidget* gdl_dock_bar_new(GObject*)’
Found it (but did not fix it). See the comment 15 in bug 1193841 here:
Then it goes all the way to the linker, which then fails at :
Linking CXX shared library ../lib/libinkscape_base.so [ 97%] Built target inkscape_base Scanning dependencies of target inkview Scanning dependencies of target inkscape [ 97%] [ 97%] Building CXX object src/CMakeFiles/inkview.dir/inkview.cpp.o Building CXX object src/CMakeFiles/inkscape.dir/main.cpp.o Linking CXX executable ../bin/inkview ../lib/libinkscape_base.so: undefined reference to `_cmsChannelsOf' ../lib/libinkscape_base.so: undefined reference to `cmsTakeProductDesc' ../lib/libinkscape_base.so: undefined reference to `cmsTakeProductName' ../lib/libinkscape_base.so: undefined reference to `cmsErrorAction' ../lib/libinkscape_base.so: undefined reference to `cmsSetErrorHandler' collect2: error: ld returned 1 exit status make[2]: *** [bin/inkview] Error 1 make[1]: *** [src/CMakeFiles/inkview.dir/all] Error 2
The expanded command is:
cd /usr/local/src/inkscape_trunk/build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/inkscape.dir/link.txt --verbose=1 /usr/bin/c++ -fopenmp -pthread -std=c++11 -O3 -DNDEBUG CMakeFiles/inkscape.dir/main.cpp.o -o ../bin/inkscape -rdynamic ../lib/libinkscape_base.so ../lib/libnrtype_LIB.a ../lib/libcroco_LIB.a ../lib/libavoid_LIB.a ../lib/libcola_LIB.a ../lib/libvpsc_LIB.a ../lib/liblivarot_LIB.a ../lib/libuemf_LIB.a ../lib/lib2geom_LIB.a ../lib/libdepixelize_LIB.a ../lib/libutil_LIB.a ../lib/libgc_LIB.a -pthread -Wl,--export-dynamic -lharfbuzz -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -lgmodule-2.0 -lglib-2.0 -lharfbuzz -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -lgsl -lgslcblas -lm -lgmodule-2.0 -lglib-2.0 -lX11 -lgnomevfs-2 -llcms2 -lc -lgc -lpoppler -lpoppler-glib -lcairo -lwpg-0.2 -lwpd-0.9 -lwpd-stream-0.9 -ljpeg -lpng -lpopt -lpotrace -lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdl-3 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lfreetype -laspell -lxslt -lxml2 -lz -lsigc-2.0 -Wl,-rpath,/usr/local/src/inkscape_trunk/build/lib:
The system has both liblcm1 and liblcms2-2. There is a -llcms2 in the command above, changing it to -llcms in that command lets the link complete. The cmake log file has:
-- Found LCMS2: /usr/lib/i386-linux-gnu/liblcms2.so ENABLE_LCMS: ON
So it seem to be a little confused on this system as to which lcms to use.
Look familiar to anybody?
Thanks,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech