Still it is not possible to assemble it
builddeps :
- lsb-release
- libim-devel
- libcd-devel
- pkgconfig(gtk+-3.0)
- libglu-devel
- pkgconfig(ftgl)
- libwebkit-gtk-devel
environment:
export USE_GTK3=Yes
export USE_PKGCONFIG=Yes
export CD_LIB=/usr/lib
export CDLUA_LIB=/usr/lib
export IM_LIB=/usr/lib
export IMLUA_LIB=/usr/lib
export FTGL_LIB=/usr/lib
setup : |
sed -i 's|ifneq ($(findstring Linux5, $(TEC_UNAME)), )|ifneq ($(findstring Linux5, $(subst Linux6,Linux5,$(TEC_UNAME))), )|g' srcweb/config.mak
sed -i 's|ifneq ($(findstring Linux5, $(TEC_UNAME)), )|ifneq ($(findstring Linux5, $(subst Linux6,Linux5,$(TEC_UNAME))), )|g' tecmake.mak
The build stops at the generation of executable files
Tecmake: linking iupvled ...
g++ -o ../bin/Linux60_64/iupvled ../obj/iupvled/Linux60_64/iup_vled.o ../obj/iupvled/Linux60_64/iup_vled_imgs.o ../obj/iupvled/Linux60_64/vled_image_editor.o ../lib/Linux60_64/libiupim.a /usr/lib/libim_process.a /usr/lib/libcdim.a ../lib/Linux60_64/libiupimglib.a ../lib/Linux60_64/libiup_scintilla.a ../lib/Linux60_64/libiupglcontrols.a ../lib/Linux60_64/libiup_plot.a /usr/lib/libcdgl.a /usr/lib/libcdcontextplus.a ../lib/Linux60_64/libiupcontrols.a ../lib/Linux60_64/libiupweb.a ../lib/Linux60_64/libiupcd.a ../lib/Linux60_64/libiupgl.a ../lib/Linux60_64/libiup.a /usr/lib/libcd.a /usr/lib/libim.a /usr/lib/libftgl.a -L/usr/X11R6/lib64 -latk-1.0 -lfontconfig -lpng -lwebkit2gtk-4.0 -lgio-2.0 -lfreetype -lz -lGLU -lGL -lXext -lX11 -lm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
/usr/bin/ld: ../lib/Linux60_64/libiup_scintilla.a(PlatGTK.o): undefined reference to symbol 'g_module_open'
/usr/bin/ld: /usr/lib64/libgmodule-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [../tecmake.mak:1696: ../bin/Linux60_64/iupvled] Error 1
make[1]: *** [Makefile:10: do_all] Error 2
make: *** [Makefile:51: iupvled] Error 2
I also tried using the NO_STATIC=Yes
flag, but it also didn't bring any results.
P.S. I had to rebuild ftgl
to get a static library, since the static library is linked in the IUP
assembly.
P.P.S. The IM
, CD
and FTGL
dependencies in the documentation (Unpacking) have relative linking paths. Since I collected them in the form of packages, the variables for linking had to be installed in the directories where these libraries were unpacked - /usr/lib