preliminary web search suggests that -lX11 is missing somewhere.

Though I can't find out where to add it.

(Raspberian, gtk 3.0)



Tecmake: linking iuplua51 ...
g++ -o ../bin/Linux41/Lua51/iuplua51
../obj/iuplua51/Linux41/Lua51/iup_lua.o
../lib/Linux41/Lua51/libiuplua51.a
/usr/lib/arm-linux-gnueabihf//liblua5.1.a ../lib/Linux41/libiup.a -Wl,-E
 -ldl -lm -lgtk-3 -latk-1.0 -lgio-2.0 -lgdk-3 -lpangocairo-1.0
-lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0
-lglib-2.0
/usr/bin/ld: ../lib/Linux41/libiup.a(iupunix_info.o): undefined
reference to symbol 'XGetWindowAttributes'
//usr/lib/arm-linux-gnueabihf/libX11.so.6: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
../tecmake.mak:1543: recipe for target '../bin/Linux41/Lua51/iuplua51'
failed
make[2]: *** [../bin/Linux41/Lua51/iuplua51] Error 1
Makefile:11: recipe for target 'iuplua5' failed
make[1]: *** [iuplua5] Error 2
Makefile:41: recipe for target 'iupconsole' failed



------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to