linker warnings

L

Luká¹ Polok

hi!

i've got some OpenGL program that needs some OpenGL extensions. basically
they're pointers to functions, there's no problem with that ... but on some
machines there's newer OpenGL library which offers same functions, therefore
there's conflict, because there are duplicate symbol of different type. g++
screams this:

/usr/local/bin/ld: Warning: type of symbol `glCopyTexSubImage3D' changed
from 2 to 1 in OpenGL20.o

is there any way to ignore duplicate library functions? i would like to use
my function pointers. or any other sollution?

thanks in advance ...

lukas
 
T

Tor Rustad

Luká¹ Polok said:
hi!

i've got some OpenGL program that needs some OpenGL extensions. basically
they're pointers to functions, there's no problem with that ... but on some
machines there's newer OpenGL library which offers same functions, therefore
there's conflict, because there are duplicate symbol of different type. g++
screams this:

Why do you seek advice in a C group?

You better ask in a OpenGL related group, which for sure this isn't.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top