minib3d setup for mac?

BlitzMax Forums/MiniB3D Module/minib3d setup for mac?

Captain Wicker (crazy hillbilly)(Posted 2012) [#1]
Hello,

Is there a guide on how to properly setup minib3d on osx lion? I have my pen and paper ready. :P


Thnx in advance.


kfprimm(Posted 2012) [#2]
Drop the 'sidesign.mod' folder from the zip into /Applications/BlitzMax/mod and rebuild your modules.

Same thing applies for Linux and Windows (with the exception of MinGW).


Captain Wicker (crazy hillbilly)(Posted 2012) [#3]
with the exception of MinGW

Do I need mingw on osx?


Yasha(Posted 2012) [#4]
...no.

(MinGW is a Windows port of GCC. Unix and Unix-like systems can use the real thing.)


Captain Wicker (crazy hillbilly)(Posted 2012) [#5]
so id guess there arent near as many bugs in minib3d running on osx then?
Unix and Unix-like systems

so mac is unix?

All in all, Great advice and thank you for that. :)


Yasha(Posted 2012) [#6]
so id guess there arent near as many bugs in minib3d running on osx then?


Given that it's the same code, one would have thought there would be exactly the same number of bugs...

so mac is unix


Arguably (although also arguably not). It contains some code inherited from BSD, and is fully POSIX-compliant, so it's as Unixy as it needs to be.


Captain Wicker (crazy hillbilly)(Posted 2012) [#7]
I get all sorts of errors when using minib3d. "Unable to Create Temp Directory", "Failed to compile cpp files", "Identifier Missing". I've been using Vista, XP + Win7 and get the same errors every single time. I include the minib3d.bmx file on Windows but does no good. I have user account control disabled and granted special rights and permissions to the installation but still buggy. I hope this doesn't happen on mac though probably has to do with MinGW I think.

EDIT: and "Memory Exception Error at line #"

Last edited 2012


AdamRedwoods(Posted 2012) [#8]
you'll need xcode.


Yasha(Posted 2012) [#9]
probably has to do with MinGW I think


Did you install MinGW? It doesn't come with Windows (in fact, it directly competes with a Microsoft product).

Installing should be no problem as long as you follow the steps on the MinGW site exactly (a lot of people don't seem to understand "exactly" and have all sorts of problems because they put it in Program Files like they were repeatedly told not to do, or similar things). Do use mingw-get rather than faffing about with "alternatives" - it is by far the easiest and best way to install it.

You might also have to copy ar and ld to the BlitzMax bin folder? I really can't remember, but if you do there will be instructions here for you to search for.

If MinGW is installed correctly, it will work identically to the original GCC. 99% of it is the same code, after all.


Captain Wicker (crazy hillbilly)(Posted 2012) [#10]
Im not so sure thats the case. Ive been using it on three different machines and get the same result. The OS's of these machines are XP x86, Vista x86, Win7 x64. I am hoping I just made some careless error somewhere. I'll reinstall and see what happens. ;)


Yasha(Posted 2012) [#11]
I am hoping I just made some careless error somewhere


Let's put it this way: the problem isn't going to be with one of the most important and widely-used pieces of software in the world.

(It could however be with BlitzMax; the newest version seems to have changed the rules about MinGW in ways I haven't fully bothered to understand, and recommends you use the conveniently-unavailable Nuwen version for some reason.)


kfprimm(Posted 2012) [#12]
I'm totally with Yasha on this one.

I'm not too sure what causes so many people problems with MinGW.

In my experience, all you have to do is install it to C:\MinGW, and then add C:\MinGW\bin to your path and create a MINGW environment variable to get the IDE to recognize that it is installed.

That simple procedure has always worked for in XP, Vista, and 7.