On 1/14/16, Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> wrote: > Am 14.01.2016 um 13:49 schrieb Eric Wing: >> On 1/2/16, Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> wrote: >>> 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 >> >> >> Do you mean Raspbian Jessie? > > Yes, I did. > >> I just upgraded and got things running. I am only using C libiup.so >> and haven't seen this. > > You mean you did not build the executables coming with Iup? > > That's where things failed for me. > > Downside: I don't have them thus I can't use them (convert graphics > etc.). Issue: not that big so far because so far I only use iup from C. >
I downloaded the Iup-3.17 source code and extracted it. I typed 'make' It built. It created a libiup.a and libiup.so in the lib/ subdirectory. (I also got a libiupcd.a and libiupcontrols.a, but I think those builds failed because I didn't have all the dependencies installed. I'm not sure why those files exist.) I then built my personal Iup based app against that libiup.so. It works. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users