problem compiling

Official forum for the Chipmunk2D Physics Library.
Post Reply
zerolink92
Posts: 4
Joined: Sat Jan 26, 2008 12:38 am
Contact:

problem compiling

Post by zerolink92 »

Hi, here trying to compile chipmunk sources, but get the following warning along with several other similars.

main.c:269: undefined reference to `glTranslatef@12


I see this is declared in gl.h, and that's properly include in the source.
zerolink92
Posts: 4
Joined: Sat Jan 26, 2008 12:38 am
Contact:

Re: problem compiling

Post by zerolink92 »

solved. I was missing to link with libmesa .

now I managed to compile, but when I execute, the screen stays black, in the command line it shows the output about the collisions, but the screen is black. What could be this problem?
Kingdom Of Fish
Posts: 21
Joined: Sun Jan 27, 2008 10:56 am
Contact:

Re: problem compiling

Post by Kingdom Of Fish »

Some info about your system?
zerolink92
Posts: 4
Joined: Sat Jan 26, 2008 12:38 am
Contact:

Re: problem compiling

Post by zerolink92 »

I am in WindowsXP , compiling with MinGW.

I do not think it is a hardware problem since I have an nVIDIA e-GeForce MX 4000.

512 RAM
1.6 Ghz proccesor

thx.
Blue Prawn
Posts: 22
Joined: Thu Jan 03, 2008 1:36 pm
Contact:

Re: problem compiling

Post by Blue Prawn »

If you really use libmesa for rendering maybe disable antialiasing would help, do this by commenting the lines below in main.c
glEnable(GL_LINE_SMOOTH);
glEnable(GL_POINT_SMOOTH);
zerolink92
Posts: 4
Joined: Sat Jan 26, 2008 12:38 am
Contact:

Re: problem compiling

Post by zerolink92 »

That didn't help.

thx anyway.
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests