[osg-users] [build] undefined setColorArray and setNormalArray in 3.2.3

Robert Osfield robert.osfield at gmail.com
Fri Feb 12 02:38:22 PST 2016


Hi Mike,

> Have some older code that I have working with on Windows (OSG 3.2.1). Uses setColorArray and setNormal array to define some primitive geometry.
>
> While porting to LINUX using OSG 3.2.3, I get undefines on these two methods while linking. Are there some "deprecation" flags or something I need to link these in?

osg::Geometry::setColorArray(..) and setNormalArray(..) are not
deprecated and are present in OSG-3.2.x, OSG-3.4.x and OSG-3.5.x.

Could it be that you are confusing these methods with others?  Could
you post the actual compile errors you are getting and the code
associated with them?

Robert.



More information about the osg-users mailing list