Linking GTKMaxGUI app on KUbuntu 32 Bit?
Archives Forums/Linux Discussion/Linking GTKMaxGUI app on KUbuntu 32 Bit?
| ||
Hi! How to get rid of these linking errors on 32 Bit? /usr/bin/ld: cannot find -lgtk-x11-2.0 /usr/bin/ld: cannot find -lgdk-x11-2.0 /usr/bin/ld: cannot find -latk-1.0 /usr/bin/ld: cannot find -lpangox-1.0 /usr/bin/ld: cannot find -lpango-1.0 collect2: error: ld returned 1 exit status This is the solution for 64 Bit: http://www.blitzbasic.com/Community/post.php?topic=101357&post=120323 Grisu |
| ||
I take it the you forgot to read the bit about installing gtk manually. http://www.blitzbasic.com/Community/post.php?topic=101587&post=1214632 sudo apt-get install libgtk2.0-dev |
| ||
Thanks! One remains.../usr/bin/ld: cannot find -lpangox-1.0 collect2: error: ld returned 1 exit status |
| ||
Should be sudo apt-get install libpangox-1.0-dev |
| ||
To keep it interesting:/usr/bin/ld: /home/grisu/BlitzMax/mod/bah.mod/gtkmaxgui.mod/gtkmaxgui.release.linux.x86.a(gtkgadget.bmx.release.linux.x86.o): undefined reference to symbol 'gdk_pixbuf_rotate_simple' /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status |
| ||
Add Import "-lgdk_pixbuf-2.0" to the source code. You will probably have trouble with icons at some point. More so with using themes. You now see why I didn't include gtk in any of the scripts. |
| ||
Now I know. Still can't get it to run. Sorry for taking up your time. |
| ||
Now I know. Still can't get it to run. Is that run or compile?Using Bruceys GTK module is very hit and miss. You have to use the svn version from google code. Even then there is no guarantee that it will work out of the box or work across distributions. It' has big issues finding system default icons. It took me a almost over a week digging around to find that out. Look here for what I had to do. You will have to read though it. |
| ||
Too much hassle for me. I only want to create an updated Linux build of my app. I don't use Linux on a daily basis. Without a proper debugmode, a broken ide and faulty Linux drivers, this is a waste of time. |
| ||
Thought I hate to say it. It may be more worth your while to invest in Pure Basic or another language. Pure Basic does what BlitzMax should do, but the down side apart from having to learn new functions is that it's not oop. |