Re: [Iup-users] Compiling IUP - linker errors
Brought to you by:
scuri
From: Antonio S. <ant...@gm...> - 2012-03-05 12:55:31
|
Hi, CD and IM had a few changes in their configuration that affected the IUP build. But we still did not release a new IUP version with the necessary updates in the Makefiles. So you will need to download IUP from CVS. We expect to release a new IUP version soon, but I don't have a date yet, still working on some tasks. This should solve both of your issues. Best Regards, Antonio Scuri > -----Original Message----- > From: Eddy Martin [mailto:hp...@la...] > Sent: segunda-feira, 5 de março de 2012 02:12 > To: iup...@li... > Subject: [Iup-users] Compiling IUP - linker errors > > Hello all, I'm new to this list, in fact new to a lot of programming-related > subjects, so hopefully I won't be a nuisance while I learn, but please bear with > me, as I'm stumped trying to build IUP on my machine. > > I'm running Debian 'testing' on a 64-bit machine. > Following the instructions at http://www.tecgraf.puc-rio.br/iup/ I successfully > built IM and CD, but IUP fails. > All required development files are installed. > This is the last message I received: > > Tecmake: linking iupview ... > g++ -o ../bin/Linux32_64/iupview ../obj/iupview/Linux32_64/iup_view.o > ./lib/Linux32_64/libiupim.a ../lib/Linux32_64/libiupimglib.a > ./lib/Linux32_64/libiupcontrols.a ../lib/Linux32_64/libiupcd.a > ./lib/Linux32_64/libiupgl.a ../lib/Linux32_64/libiup.a > ./../cd/lib/Linux32_64/libcd.a ../../im/lib/Linux32_64/libim.a > -L/usr/X11R6/lib64 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangox-1.0 > -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lXmu -lXt - > lXext -lX11 -lm > /usr/bin/ld: ../../im/lib/Linux32_64/libim.a(pngwrite.o): undefined reference > to symbol 'deflate' > /usr/bin/ld: note: 'deflate' is defined in DSO /usr/lib/libz.so.1 so try adding it > to the linker command line > /usr/lib/libz.so.1: could not read symbols: Invalid operation > collect2: ld returned 1 exit status > make[2]: *** [../bin/Linux32_64/iupview] Error 1 > make[1]: *** [iupview] Error 2 > make: *** [iupview] Error 2 > > I've already had to add softlinks to some gtk include files, because they were > installed a bit strangely. > Hopefully I didn't break something: > > ln -s /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h > /usr/include/glib-2.0/glibconfig.h > ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/include/gdkconfig.h > /usr/include/gtk-2.0/gdkconfig.h > ln -s /usr/lib/libwebkitgtk-1.0.so /usr/lib/libwebkit-1.0.so > > At this point I have no idea how to do what it suggests, any takers? > > -Eddy > > > > > > > ---------------------------------------------------------------------------- -- > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers is > just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro > Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users |