Hello everyone!
I am new to BlitzMAX, and have followed Blitz Research from the days of BlitzBasic.
I finally pulled out the green and purchased this fine product from Blitz Research Inc! I must say IT IS GREAT! (uh... I have used only the Windows version with a full compile, but the Linux edition is much the same!)
That said. Now to the point.
I have been a Lindows/Linspire user for several years, and this document is for users of Linspire 5.0 (I am unsure what would happen in 4.5, as 5.0 is a major upgrade -- new kernel! I am guessing BM would still need the same packages, and you could still install all what is required under the older kernel). I Purchased BlitzMAX to finally create X-Platform programs, where the commands will work the SAME on each platform (Windose, Mac OS-X, and Linux), usually resulting in minimal code changes (if ANY)
The same problem keeps arising with different distros "What packages are required for BM to run on their distro?" Hmmm...
Although I cannot answer this at the moment, I am working on the Linspire distro, which should relate to ALL Debian based systems, if not most major Distros. Linux is all based on the same Kernel, just a different version/revision. 2.4.x, 2.6.x, etc. Mainly, those are revisions with added technology advancements built into the Kernel (2.4.x was USB, and some other goodies, 2.6.x improved it,and so on)
Having noted what Mark Sibly went through, and everyone else, I would like to add my experience thus far. What a ride it has been!
First, and foremost, I have YET to get BlitzMAX to fully build and run a program (even though it says it compiled, but I never see a thing). Also, remember, Linspire uses STABLE releases and CNR follows suit. Realize that you can by-pass all the nice Linspire appeal, and do things the traditional Linux way :)
1) If you ARE a CNR member, DO NOT use the "X11 Development Library". It is OLDER than what is required. This is version 6.8.1 STABLE <g>, and Mark is using the UNSTABLE version of 6.8.2
2) Use the Debian website, and pull out the latest X11 development libraries. At this point, I am still trying to get the X11 Development Library off my box.
3) Linspire is built rather intuitively for which GFX drivers to install. nVidia is what I use, and it already installed all the necessary drivers for GL, GLU, and configuring the xorg.cf... I am not sure that you really need *any* mesa drivers unless your card is that generic.
4) Linspire, as well as Debian itself, uses the new X-org wrapper to XFree86, and not the XFree86 itself. So if you must play with the config file, use the /usr/X11R6/lib/X11/config/xorg.cf
Here's the list of what I see so far that was upgraded:
gcc
g++
gobjc (3.3)
X11 Development Library (using CNR, like I said, DO NOT use this, go to the Debian website)
This package contains all the stuff you need, but an older 6.8.1 version.
The list as described by mark Sibly for the X11 stuff:
libx11-dev (6.8.2-10)
libxext-dev (6.8.2-10)
libxi-dev (6.8.2-10)
libxkbfile-dev (6.8.2-10)
x-dev (6.8.2-10)
The the GFX stuff, but I am unsure at this point is needed (unless you have a generic GFX card or one not supported in Linux for acceleration):
freeglut3-dev (2.2.0-8)
libglut3-dev (3.7-25)
xlibmesa-gl-dev (6.8.2-10)
xlibmesa-glu-dev (6.8.2-10)
Where I think the problem is that I am getting is maybe in the Mesa driver... as I think more about it. Here's my error I get when doing a 'Build and Run' in BlitzMAX:
[Start Output]
Building rockout
Compiling:rockout.bmx
flat assembler version 1.52
6 passes, 113037 bytes.
Linking:rockout
Executing:rockout
/home/dan/BlitzMax/samples/hitoro/rockout: symbol lookup error: /home/dan/BlitzMax/samples/hitoro/rockout: undefined symbol: XF86VidModeGetAllModeLines
Process Complete
[End Output]
I am working on a new freshly built PC with Linspire 5.0, sooooo... I will retry all this with nothing on it, as this PC has been morphed over the years with Lindows/Linspire.
This is where it stands now. I am hoping to get the process for nailing down what should go with the "complete" usage of Linspire and BlitzMAX!
If anyone has suggestions, ideas, or corrections, please post a message!
I am new to BlitzMAX, and have followed Blitz Research from the days of BlitzBasic.
I finally pulled out the green and purchased this fine product from Blitz Research Inc! I must say IT IS GREAT! (uh... I have used only the Windows version with a full compile, but the Linux edition is much the same!)
That said. Now to the point.
I have been a Lindows/Linspire user for several years, and this document is for users of Linspire 5.0 (I am unsure what would happen in 4.5, as 5.0 is a major upgrade -- new kernel! I am guessing BM would still need the same packages, and you could still install all what is required under the older kernel). I Purchased BlitzMAX to finally create X-Platform programs, where the commands will work the SAME on each platform (Windose, Mac OS-X, and Linux), usually resulting in minimal code changes (if ANY)
The same problem keeps arising with different distros "What packages are required for BM to run on their distro?" Hmmm...
Although I cannot answer this at the moment, I am working on the Linspire distro, which should relate to ALL Debian based systems, if not most major Distros. Linux is all based on the same Kernel, just a different version/revision. 2.4.x, 2.6.x, etc. Mainly, those are revisions with added technology advancements built into the Kernel (2.4.x was USB, and some other goodies, 2.6.x improved it,and so on)
Having noted what Mark Sibly went through, and everyone else, I would like to add my experience thus far. What a ride it has been!
First, and foremost, I have YET to get BlitzMAX to fully build and run a program (even though it says it compiled, but I never see a thing). Also, remember, Linspire uses STABLE releases and CNR follows suit. Realize that you can by-pass all the nice Linspire appeal, and do things the traditional Linux way :)
1) If you ARE a CNR member, DO NOT use the "X11 Development Library". It is OLDER than what is required. This is version 6.8.1 STABLE <g>, and Mark is using the UNSTABLE version of 6.8.2
2) Use the Debian website, and pull out the latest X11 development libraries. At this point, I am still trying to get the X11 Development Library off my box.
3) Linspire is built rather intuitively for which GFX drivers to install. nVidia is what I use, and it already installed all the necessary drivers for GL, GLU, and configuring the xorg.cf... I am not sure that you really need *any* mesa drivers unless your card is that generic.
4) Linspire, as well as Debian itself, uses the new X-org wrapper to XFree86, and not the XFree86 itself. So if you must play with the config file, use the /usr/X11R6/lib/X11/config/xorg.cf
Here's the list of what I see so far that was upgraded:
gcc
g++
gobjc (3.3)
X11 Development Library (using CNR, like I said, DO NOT use this, go to the Debian website)
This package contains all the stuff you need, but an older 6.8.1 version.
The list as described by mark Sibly for the X11 stuff:
libx11-dev (6.8.2-10)
libxext-dev (6.8.2-10)
libxi-dev (6.8.2-10)
libxkbfile-dev (6.8.2-10)
x-dev (6.8.2-10)
The the GFX stuff, but I am unsure at this point is needed (unless you have a generic GFX card or one not supported in Linux for acceleration):
freeglut3-dev (2.2.0-8)
libglut3-dev (3.7-25)
xlibmesa-gl-dev (6.8.2-10)
xlibmesa-glu-dev (6.8.2-10)
Where I think the problem is that I am getting is maybe in the Mesa driver... as I think more about it. Here's my error I get when doing a 'Build and Run' in BlitzMAX:
[Start Output]
Building rockout
Compiling:rockout.bmx
flat assembler version 1.52
6 passes, 113037 bytes.
Linking:rockout
Executing:rockout
/home/dan/BlitzMax/samples/hitoro/rockout: symbol lookup error: /home/dan/BlitzMax/samples/hitoro/rockout: undefined symbol: XF86VidModeGetAllModeLines
Process Complete
[End Output]
I am working on a new freshly built PC with Linspire 5.0, sooooo... I will retry all this with nothing on it, as this PC has been morphed over the years with Lindows/Linspire.
This is where it stands now. I am hoping to get the process for nailing down what should go with the "complete" usage of Linspire and BlitzMAX!
If anyone has suggestions, ideas, or corrections, please post a message!