RE: [Plib-devel] Compile Problems with MSVC
Brought to you by:
sjbaker
From: Vallevand, M. K <Mar...@UN...> - 2000-02-15 15:12:44
|
Hmmm. I regularly compile PLIB with MSVC v6. I don't remember this problem. It seems to compile right out of the box. I'll check again at home tonight. I have version 1.1.9. Regards. Mark K Vallevand ma...@rs... Outside of a dog, a book is man's best friend. Inside of a dog, its too dark to read. - Groucho > 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. |