Can't get c_funcs.c to work

BlitzMax Forums/BlitzMax Programming/Can't get c_funcs.c to work

Battle Tanks(Posted 2006) [#1]
I keep getting this error when I try to Build a c file

Build Error: failed to compile D:/Space Game/Blitz Max Test programs/math.c

even if there is nothing in the file

they will Build on my c++ IDE but not on Blitzmax

also where did the brl.blitzgl module go?

Thanks in advance for your help


N(Posted 2006) [#2]
Is MinGW's bin directory in your PATH?


gman(Posted 2006) [#3]
would be my guess to. see this post for more info:

http://www.blitzmax.com/Community/posts.php?topic=55543


Battle Tanks(Posted 2006) [#4]
I sorry but that link dus not work

Could someone take me throw the process

I have just downloaded mingw-runtime-3.1.tar.gz
Is that the right one?

where do I put it?
What setting do I change?

Thanks for your help


Dreamora(Posted 2006) [#5]
For some reason I have similar problems since 1.14 although MingW is installed and all paths are ok (MingW as well as path)
Does BM still have its worse "space in path" problem? (thought it would be the best to install MingW in the BM directory, which is a subdirectory of "game creation")

(Build modules already fails with the first directory or better blitz_app.c)


skidracer(Posted 2006) [#6]
StarForce, please use the second link in this post which is a proper installer for mingw:


MingW Instructions


Battle Tanks(Posted 2006) [#7]
I am downloading the file and will give it a go I will let you know how I get on. I am looking forward to using c in my game. I have having lots of fun with OpenGL too. thanks for you help.


Battle Tanks(Posted 2006) [#8]
Well it works. I can't see much speed improvement with c. about 20% at best. But then Blitzmax is sometime fasters. one of the nice things I have seen is the Blitzmax runs over twice the speed of Blits3d.

Anyway thanks for all your help. Blitzmax compiles fast code thanks Mark.