Anyone able to compile maxmod2 under 10.04 Ubuntu?
BlitzMax Forums/BlitzMax Programming/Anyone able to compile maxmod2 under 10.04 Ubuntu?
| ||
First let me say that I am running BlitzMax 1.45 for Linux (Ubuntu 10.04LTS) under the latest VirtualBox, which may or may not be a factor. When I go to compile the module, it gets to the first file, "file.cpp", and then goes no further: No error messages, no disk activity, nothing. I have to force-quit BlitzMax to get out of it (BlitzMax becomes completely unresponsive, but Ubuntu itself keeps working fine.). Anyone else successfully using this combination? Thanks in advance! Russell p.s. I'm pretty sure I had the same result under Ubuntu 11.10 (which I hated and immediately removed). |
| ||
Well, I totally forgot about the need to add#include <stdio.h> to the top of "file.cpp" source file. That got the module itself to compile. Examples don't work, though. Changed the code in "PlayFolder.bmx" from SuperStrict Import MaxMod2.RtAudio Import MaxMod2.Modplayer SetAudioStreamDriver("MaxMod RtAudio") to SuperStrict Import MaxMod2.rtaudio Import MaxMod2.dumb SetAudioStreamDriver("MaxMod RtAudio") and get the error "RtApiAlsa::callbackEvent: audio write error, Unknown error 613.". "miniplayer.bmx" gives the same error message, but with a different error number. Does it matter that I have pulseaudio as my sound driver? Thanks, Russell |