libinkscape_base.so import INK_UNORDERED_MAP fatal error:
I am trying to import inkscape as library from another application but it notifies me an error:
In file included from file_2.cxx:5: In file included from /<path>/inkscape-0.92.5/src/main.h:93: In file included from /<path>/inkscape-0.92.5/src/sp-namedview.h:23: /<path>/inkscape-0.92.5/src/util/units.h:140:13: fatal error: no template named 'INK_UNORDERED_MAP' typedef INK_UNORDERED_MAP<Glib::ustring, Unit> UnitMap;
The inkscape is compiled normaly and works normaly.
But I cannot import it into another clang++ application from library file /<path>/inkscape-0.92.5-build/lib/libinkscape_base.so
clang++ -Wall -Wextra -pedantic -Wmissing-prototypes -Wstrict-prototypes \ -Wold-style-definition -Wfatal-errors -std=c++17 -o \ /<path>/otpremnica-racun-institut-C \ otpremnica-racun-institut-C.cxx \ file_2.cxx \ ... -L /<path>/inkscape-0.92.5-build/install_dir/lib/inkscape \ -I /<path>/inkscape-0.92.5/src \ -L /lib/x86_64-linux-gnu \ -I /usr/include \ `pkg-config --cflags gtk+-2.0 gtkmm-2.4 gdk-2.0 gdkmm-2.4 libxml-2.0 \ pangocairo pangoft2 fontconfig gthread-2.0 gsl gmodule-2.0 \ x11 lcms2 cairo-svg libcdr-0.1 \ `;
participants (1)
-
ofsetb@gmail.com