[Plib-devel] Compile Problems with MSVC
Brought to you by:
sjbaker
From: Wolfram K. <w_...@rz...> - 2000-02-15 13:16:49
|
Hi, I have got a compile problem in file ssgSimpleState.cxx. The four lines specular_colour = src -> specular_colour ; emission_colour = src -> emission_colour ; ambient_colour = src -> ambient_colour ; diffuse_colour = src -> diffuse_colour ; dont compile under MSVC. The error is "=": The left operand has to be a L-Value. specular_colour etc are member-variables of ssgSimpleState with type sgVec4. When I change the type in file ssg.h into SGfloat * then it compiles, but I see this as a kludge. However, I found no other solution :-(. Bye bye, Wolfram Kuss. |