Butt, Vaughn A. wrote:
> Ummm... I don't know what to do now.
> I would (guessing) try to do the compile and link separately.
> What does the -O2 switch do? Perhaps you could not use it when you do the
-O2 activate the code optimization at level2
I tryed to do it many ways but still didn't work :(
I'll try to make the operation on another DLL and i'll let u know :)
I tried psexport with the libSDL and it worked, i don't know why it
didn't worked with the lib FMOD, perhaps something in the headers, i'll
check later... :)
I've got another problem now, when i compile an exemple:
bash-2.04$ gcc -mconsole lesson02.c -o lesson2.exe -L.
e -lSDL -lopengl32 -lglu32
msvc\lib\libmingw32.a(main.o)(.text+0x8e): undefined reference to
there's only a main(,) in the lesson02.c file. It's using the
<windows.h> but why mingwin32 is looking for a winmain@... ?