You are using MSVC 6, right?
You wrote:
>I'm trying to use Plib with OpenGL performer.
[...]
>MSVCRT.lib(MSVCRT.dll) : error LNK2005: __getpid already defined in =
LIBCMTD.lib(getpid.obj)
So, obviously you link to LIBCMTD which has one version of __getpid
and you link to OpenGL performer stuff, which has another.
My guess is that one (say OpenGL performer) is compiled using multi
threading and one (say PLIB) is compiled using single threading. So,
switch the settings ogf PLIB and recompile all.
Bye bye,
Wolfram.
|