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? I just upgraded and got things running. I am only using C libiup.so and haven't seen this. But my first recommendation is try the dynamic library (.so) and not the static libraries. DSO implies Dynamic Shared Object. I think I recall general problems if a static library tries to load or do things with dynamic libraries, but my memory is really hazy. By the way, I had to apt-get install libgtk-3-dev. At first, Iup was not building correctly but I seemed to be getting a .a file, but no .so. (I don't think I should have gotten either until I installed that package.) -Eric ------------------------------------------------------------------------------ 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