[info-performer] pfGetCurLights in Performer 3.0 Windows

New Message Reply Date view Thread view Subject view Author view

From: Guillaume Millet (guillaume.millet++at++oktal.fr)
Date: 01/07/2003 16:05:32


Hello,

I'm trying to port an application from IRIX/Linux to Windows that use the function pfGetCurLights.

When linking I have the following error:

error LNK2001: unresolved external symbol _pfGetCurLights

When looking in Performer/pr/pfLight.h (My application is C++) I found the following lines:

extern "C" { // EXPORT to CAPI

/* ------------------ pfLight Related Functions--------------------- */

extern int pfGetCurLights(pfLight *_lights[PF_MAX_LIGHTS]);
}

There is no DLLEXPORT define in front of declaration, it is why I cant link my application ?
If the answer is Yes, I think there is a mistake in Windows version that need correction.

Thanks

-- 
Guillaume Millet
Societe OKTAL
55 Rue Thiers
92100 Boulogne Billancourt
Tel : (+33) 1 46 94 97 80
Fax : (+33) 1 41 41 91 44


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 02:45:13 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.