Is USE_PKGCONFIG defined in your environment?

 Because gmodule is included automatically by tecmake.mak, but it is not on
your list. This is only possible if USE_PKGCONFIG is defined.

Best,
Scuri


Em ter., 4 de ago. de 2020 às 02:33, sur-behoffski <
sur_behoff...@grouse.com.au> escreveu:

> G'day,
>
> I've updated my repository, and have placed pdflib7 and ftgl into
> the workspace by hand (now I have to work out the best way to
> integrate these into the assistant...).  CD/PDFLib-Lite-7 and ftgl
> in the canvasdraw-cd repository is now at r896.
>
> I'm pleased that, with some (obvious) manual intervention, all of
> CD, IM and IUP now build fully, and I can run my usual very-trivial
> IUP "hello, world" script.
>
> Many thanks for your quick response.
>
> On the "ftgl" front, I was able to make it a top-level project
> alongside pdflib7, and was able to successfully run "make" in this
> subdirectory.
>
> Since FTGL was a problem previously, interfering with "iupvled",
> I've tried to improve the IUP build, by removing:
>
>         EXCLUDE_TARGETS="iupvled"
>
> from the IUP top-level compilation line.
>
> Sadly (but this was very much a long shot that I did just out of hope),
> iupvled partially built, but then halted with the following error:
>
>
>
>
> [... other make output ...]
>
>         In file included from vled_image_editor.c:7:0:
>         ../include/iup.h:334:14: note: expected 'const char **' but
> argument is of type 'char **'
>          IUP_API int  IupListDialog(int type, const char *title, int size,
> const char** list,
>               ^~~~~~~~~~~~~
>         At top level:
>         vled_image_editor.c:891:13: warning: 'view_fit_rect' defined but
> not used [-Wunused-function]
>          static void view_fit_rect(int canvas_width, int canvas_height,
> int image_width, int image_height, int *view_width, int *view_height)
>              ^~~~~~~~~~~~~
>
>         Tecmake: linking iupvled ...
>         g++ -o ../bin/Linux54_64/iupvled
> ../obj/iupvled/Linux54_64/iup_vled.o
> ../obj/iupvled/Linux54_64/iup_vled_imgs.o
> ../obj/iupvled/Linux54_64/vled_image_editor.o ../lib/Linux54_64/libiupim.a
> ../../im/lib/Linux54_64/libim_process.a ../../cd/lib/Linux54_64/libcdim.a
> ../lib/Linux54_64/libiupimglib.a ../lib/Linux54_64/libiup_scintilla.a
> ../lib/Linux54_64/libiupglcontrols.a  ../lib/Linux54_64/libiup_plot.a
> ../../cd/lib/Linux54_64/libcdgl.a
> ../../cd/lib/Linux54_64/libcdcontextplus.a
> ../lib/Linux54_64/libiupcontrols.a ../lib/Linux54_64/libiupweb.a
> /usr/lib/x86_64-linux-gnu/liblua5.1.a ../lib/Linux54_64/libiupcd.a
> ../lib/Linux54_64/libiupgl.a ../lib/Linux54_64/libiup.a
> ../../cd/lib/Linux54_64/libcd.a ../../im/lib/Linux54_64/libim.a
> ../../ftgl/lib/Linux54_64/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 -latk-1.0
> -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
>               -lgobject-2.0 -lglib-2.0
>         /usr/bin/ld: ../lib/Linux54_64/libiup_scintilla.a(PlatGTK.o):
> undefined reference to symbol 'g_module_symbol'
>         //usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: error adding
> symbols: DSO missing from command line
>         collect2: error: ld returned 1 exit status
>         ../tecmake.mak:1695: recipe for target '../bin/Linux54_64/iupvled'
> failed
>         make[2]: *** [../bin/Linux54_64/iupvled] Error 1
>         Makefile:10: recipe for target 'do_all' failed
>         make[1]: *** [do_all] Error 2
>         Makefile:51: recipe for target 'iupvled' failed
>         make: *** [iupvled] Error 2
>
>
>
>
>
> So, thank you for fixing the main CD/pdflib7 issue so quickly, and
> I'll work on improving my infrastructure do all that the pdflib7
> (and ftgl?) require to successfully build without manual intervention.
>
> [And yes, I'm into my second coffee of the day, now!]
>
> cheers,
>
> sur-behoffski (Brenton Hoff)
> programmer, Grouse Software
>
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to