blitzmax on Ubuntu 10.10 (linux)

Archives Forums/Linux Discussion/blitzmax on Ubuntu 10.10 (linux)

ssdw(Posted 2011) [#1]
hello evyone,

I try to use blitzmax on my Ubuntu 10.10 (linux) but I can't build a bmx file.

this is the output:
Building lc
Compiling:lc.bmx
flat assembler  version 1.68  (32768 kilobytes memory)
3 passes, 4145 bytes.
Linking:lc.debug
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
Build Error: Failed to link /home/ssdw/Documenten/lc/lc.debug
Process complete


does anyone know how I can fix this?


ima747(Posted 2011) [#2]
Not a linux expert by any stretch but I think you're missing or need to reinstall the binutils package.


ssdw(Posted 2011) [#3]
were can i find the binutils package?


ima747(Posted 2011) [#4]
Not familiar with Ubuntu but I believe it has a software/packages installer program, I would go rooting under there. If all else fails hit up Google, it's almost definitely a problem with the Ubuntu install or tools rather than bmax itself (did you install GCC and developer libs etc. for example...)


ssdw(Posted 2011) [#5]
I kwno what bin is and how to install but there is no bin file for blitzmax!
if I download blitzmax, I get a .gz (kid of zip) file.
there is no install file for ubuntu.

Last edited 2011


skidracer(Posted 2011) [#6]
The error cannot find -lGLU means you are missing developer files for OpenGL and probably many others, try running the script posted in this thread.

To run a script in Linux, create a new text file, copy the contents of the file in that thread, save as install.sh, set the executable bit of the file permission that you have created, then double click.

Last edited 2011


ssdw(Posted 2011) [#7]
he asks for a password which I type.
then goes out and nothing happens.
I run it in the terminal, otherwise it does nothing.

at startup I get to see this.
[i] Checking architecture...
    found: 32 bit
[i] Identifying package manager...
[e] Unable to find a package manager.
    Supported are: aptitude emerge yum urpmi pacman zypper
[i] Login as root and then re-run this script.



skidracer(Posted 2011) [#8]
Is it your personal computer or does someone else administer it?

Last edited 2011


ssdw(Posted 2011) [#9]
it's my computer


skidracer(Posted 2011) [#10]
Eeek, the last post on that thread says that aptitude must now be installed manually.

To do this I guess you need to find it with the help of Ubuntu Software Manager, otherwise I'm sure someone who knows about these things will post here shortly...

Last edited 2011


skidracer(Posted 2011) [#11]
Try this for aptitude install (I thought apt-get was aptitude... hmmm)


sudo apt-get install aptitude




ssdw(Posted 2011) [#12]
Thanks, now works blitzmax.
and thanks everyone for the help!


orgos(Posted 2011) [#13]
im run this code and the BlitzMax 1.41 + MaxIDE 2 CE works fine but its compile but not RUN... say that:

Building defender
Compiling:defender.bmx
flat assembler version 1.68 (32768 kilobytes memory)
6 passes, 0.3 seconds, 704367 bytes.
Linking:defender

Process complete

then i dont see the app...

salut


skidracer(Posted 2011) [#14]
Hi Orgos, are you in debug mode?