Hey there,
So as I said, I'm trying to get a simple TinySDGL demo to compile on my windows PC.
I installed the windows devkit, and SDL, made sure that was all working ok. Then I installed the TheOddBot library pack, and tried to compile and got a bunch of libraries not found. I dug around on my hard drive and found the ones I needed in a devkit that I installed months ago and forgot about (possibly a different version from the one I'm now using). So I copied them into /lib, and that seemed ok.
Thing is, now I get a bunch of undefined references to maths functions like sin, cos and pow, and I have no idea how to fix them. They go along the lines of:
C:\devkitGP2X\lib\libTinyGLU.a(glu.o) In function `drawTorus':
[Linker error] undefined reference to `cos'
There's virtually no tinySDGL documentation that I can find, and I've searched the forums and not found anyone with similar problems.
Can anyone help me out here?
cheers,
SatNav
So as I said, I'm trying to get a simple TinySDGL demo to compile on my windows PC.
I installed the windows devkit, and SDL, made sure that was all working ok. Then I installed the TheOddBot library pack, and tried to compile and got a bunch of libraries not found. I dug around on my hard drive and found the ones I needed in a devkit that I installed months ago and forgot about (possibly a different version from the one I'm now using). So I copied them into /lib, and that seemed ok.
Thing is, now I get a bunch of undefined references to maths functions like sin, cos and pow, and I have no idea how to fix them. They go along the lines of:
C:\devkitGP2X\lib\libTinyGLU.a(glu.o) In function `drawTorus':
[Linker error] undefined reference to `cos'
There's virtually no tinySDGL documentation that I can find, and I've searched the forums and not found anyone with similar problems.
Can anyone help me out here?
cheers,
SatNav