Setting up Irrlicht

BlitzMax Forums/BlitzMax Beginners Area/Setting up Irrlicht

Jaydubeww(Posted 2010) [#1]
Could someone tell me what I'm doing wrong? Also, I'm trying to set it up for mac.

This is what I've done:

1. Built the libIrrlicht.a in xcode

2. Copied the irrlicht.mod to blitzmax/mod/ folder

3. Copied the libIrrlicht.a file to core.mod folder (this replaced the one currently there).

4. Renamed the libIrrlicht.a to libIrrlichtMac.a

5. Started Blitzmax IDE, selected Rebuild All Modules

After doing all this, none of the examples work.

Running any example gives me pages of warnings then a final build error of: Build Error: Failed to link /Applications/BlitzMax/mod/irrlicht.mod/examples/01.HelloWorld/01.helloworld.debug.app/Contents/MacOS/01.helloworld.debug

I also tried compiling core.bmx only to recieve "module does not match commandline module" and highlights the line "Module Irrlicht.Core"


Thanks!


H&K(Posted 2010) [#2]
Paths?


Jaydubeww(Posted 2010) [#3]
What do you mean by paths?

I have the libIrrlichtMac.a set up like this:
blitzmax/mod/irrlicht.mod/core.mod/libIrrlichtMac.a


H&K(Posted 2010) [#4]
I dont have a mac, but dont you need to tell the OS where the files are


Zeke(Posted 2010) [#5]
try lower case: Module Irrlicht.Core -> Module irrlicht.core and then try compile.


Jaydubeww(Posted 2010) [#6]
to H&K:
I installed blitzmax to a different directory just to make sure that I didn't need to set any paths and it turns out that I don't need to. ( I haven't used blitzmax in several months..)

to Zeke:
That didn't work either.

For those of you who have irrlicht installed, can you build core.bmx just fine?