Need Help ASAP

BlitzMax Forums/BlitzMax Programming/Need Help ASAP

Will(Posted 2007) [#1]
Hey! I just wrote a program on OSX blitzmax and I'm trying to compile it under Windows blitzamax. The program includes a pair of external C files for loading HDRI images:

Import "rgbe.c"


Extern 

Function bmReadImage(fileName$z)

Function bmGetImageHeight%()

Function bmGetImageWidth%()

Function bmGetNextImageChar%()

End Extern



The files rgbe.c and rgbe.h are in the same folder as the blitzmax file.

I keep getting this error when I try to build:

Building Test
Compiling:rgbe.c
Build Error: failed to compile D:/Test/rgbe.c
Process complete


Can anyone help, and if so, as fast as possible? This is due in an hour or less.

Thanks!
Will


Brucey(Posted 2007) [#2]
You probably want to have a look at this : http://blitzmax.com/Community/posts.php?topic=53442

Looks like you don't have MinGW installed...


Will(Posted 2007) [#3]
Brilliant, thanks so much! I had installed a newer version of MinGW and that was causing the problem!

Thanks!


Brucey(Posted 2007) [#4]
No problem :-)

I had installed a newer version of MinGW

Yeah... been there and done that myself once...