Trying to get running on Linux

BlitzMax Forums/BlitzMax Beginners Area/Trying to get running on Linux

Blueapples(Posted 2006) [#1]
Hey I just installed BlitzMax in my new Ubuntu installation, and I can't get a basic program to compile:

Code:
Print "Hello world!"

Output:
Building untitled1
Compiling:untitled1.bmx
flat assembler version 1.64
3 passes, 2638 bytes.
Linking:untitled1.debug
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
Build Error: Failed to link /home/isaac/Programs/BlitzMax/tmp/untitled1.debug
Process complete


I assume this means I need an OpenGL dev library installed, and a linux friend of mine said that I'll need to identify my video card (ATI Rage 128 Pro) in order to know what GL stuff I need. I find that a bit hard to believe...isn't there a way to get this thing going without installing custom GL drivers/libraries?

I don't do game programming by the way, so all I need to work is console stuff and MaxGUI at some point, so if possible I'd rather just eliminate OpenGL from the mix all together. I think maybe I could do that with the Framework command? But I'm not sure what I need to do with that in order to just get a basic console library...


skidracer(Posted 2006) [#2]
Framework brl.standardio
Print "hello"



Blueapples(Posted 2006) [#3]
Awesome, thank you.