Re: [Plib-devel] Compile Problems with MSVC
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-02-15 23:31:55
|
Wolfram Kuss wrote: > > 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. Wow! I'm amazed that compiles anywhere! It's fixed in the PLIB CVS archive. Those lines should be: sgCopyVec4 ( specular_colour, src -> specular_colour ) ; sgCopyVec4 ( emission_colour, src -> emission_colour ) ; sgCopyVec4 ( ambient_colour, src -> ambient_colour ) ; sgCopyVec4 ( diffuse_colour, src -> diffuse_colour ) ; Sorry! -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |