Hi
When I'm importing this in a New Temporal BMX file
It's working
But when I import third party code on my managed blide solution I get this error :
C:/BlitzMax/lib/libmingw32.a(main.o):main.c:(.text+0x106): undefined reference to `WinMain@16'
This is my Math.c file
As you can see I'm trying to use Math C function but this error give me problem.
What's this error and how to remove it ?
Thanks
When I'm importing this in a New Temporal BMX file
SuperStrict Framework BRL.StandardIO Import "Math.c" Extern Function PowerOf:Float(X:Float, Y:Float) End Extern Local X:Float = 4.0, Y:Float = 2.0 Print PowerOf(X, Y)
It's working
But when I import third party code on my managed blide solution I get this error :
C:/BlitzMax/lib/libmingw32.a(main.o):main.c:(.text+0x106): undefined reference to `WinMain@16'
This is my Math.c file
#include <math.h> float PowerOf(float base, float exp) { return pow(base,exp); }
As you can see I'm trying to use Math C function but this error give me problem.
What's this error and how to remove it ?
Thanks