Compilation on Mac OpenAl module

BlitzMax Forums/BlitzMax Programming/Compilation on Mac OpenAl module

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Are you trying to compile a previously Windows coded BMX file on Mac? It looks like you've used the GetActiveWindow() API in Pub.Win32 which will only work on Windows. If so, you will have to wrap GetActiveWindow() with compiler directive (such as ?Win32), so that it doesn't throw up error on OS X.