Compiler error in Visual Studio.NET 2002

Hi,

I have some trouble with VRay headers in max 8, I got this error when try to compile (VRay 1.50 SP2 Max 8 headers and VC++ 7):

c:\lenguaje\vray\3dsmax R8 for x86\include\sequence.h(85) : error C2065: ‘T’ : undeclared identifier
c:\lenguaje\vray\3dsmax R8 for x86\include\sequence.h(85) : error C2065: ‘justAlloc’ : undeclared identifier
c:\lenguaje\vray\3dsmax R8 for x86\include\sequence.h(85) : error C2687: cannot define a nested UDT of a template class out of line

This error is caused because VC++ 7 does’t support partial template implementation, that are used in this header. But, this is the recommended compiler for Max 8 plugins. How i can compile my plugins with VRay headers for Max 8 and avoid this error ?.

Thanks you.

Daniel Quintero

Hello Daniel,

I will check to see and I’ll let you know how to resolve it. We normally use the Intel C++ compiler so this problem went unnoticed.

Best regards,
Vlado