Hello,
Gerrit Voss wrote:
hmm insteresting, given that these are the only ones, it seem
to only affect the intersect action. For a quick test Patric could you
removed (#if 0) the intersect action part from the component transform
initMethod and try if it compiles.
Unfortunately my download stat says I still have
studio11-sol-sparc.tar.bz2 4% 24MB 5.1KB/s 21:38:15 ET
to go until I have studio11 in Singapore. So it might take a little bit
until I can try (Hope that the resurrected machine lets me install it
without trouble).
I have removed the intersectAction parts from
OSGComponentTransform::initMethod, and also from
OSGTransform::initMethod. Now he compiles those files cleanly.
for your information i was using studio10 until now (default for solaris
2.9), but i have now also tried it with studio11, the errors are the same.
using studio 11 i then got:
"/home/ps790413/work/osg-cvs/OpenSG/Source/System/NodeCores/Drawables/Geometry/OSGExtrusionGeometry.cpp",
line 1765: Error: subdivide<VectorTypeT>(const
std::vector<osg::VectorTypeT, std::allocator<std::T>>&,
std::vector<osg::VectorTypeT, std::allocator<std::T>>*, bool) was
previously declared "extern", not "static".
"/home/ps790413/work/osg-cvs/OpenSG/Source/System/NodeCores/Drawables/Geometry/OSGExtrusionGeometry.cpp",
line 1855: Error: subdivide<VectorTypeT>(const
std::vector<osg::VectorTypeT, std::allocator<std::T>>&,
std::vector<osg::VectorTypeT, std::allocator<std::T>>*, unsigned, bool)
was previously declared "extern", not "static".
2 Error(s) and 144 Warning(s) detected.
using studio 10:
there occured new intersectAction errors in OSGGeometry,
OSGMoveManipulator, OSGRotateManipulator, OSGScaleManipulator and
OSGSurface initMethod.
after removing them, the next errors i get are:
OSGBalancedMultiWindow.cpp", line 643: Error: Could not find a match for
std::count<std::InputIterator, std::T, std::Size>(osg::NodePtr*,
osg::NodePtr*, osg::NodePtr) needed in
osg::BalancedMultiWindow::createLoadGroups().
"/home/ps790413/work/osg-cvs/OpenSG/Source/System/Cluster/Window/BalancedMultiWindow/OSGBalancedMultiWindow.cpp",
line 1026: Warning: The variable comp has not yet been assigned a value.
this one seems to come again from sun's improper implementation of the
standard, as well as this one:
Experimental/SHL/OSGSHLChunk.cpp", line 863: Error: Could not find a
match for std::map<std::string, void(*)(int(*)(unsigned,const
char*),osg::DrawActionBase*,unsigned), std::less<std::string>,
std::allocator<std::pair<const std::string,
void(*)(int(*)(unsigned,const
char*),osg::DrawActionBase*,unsigned)>>>::insert(std::pair<const char*,
void(*)(int(*)(unsigned,const char*),osg::DrawActionBase*,unsigned)>)
needed in osg::SHLChunk::addParameterCallback(const char*,
void(*)(int(*)(unsigned,const char*),osg::DrawActionBase*,unsigned)).
this one:
FileIO/DXF/OSGDXFFile.cpp", line 233: Error: Could not find a match for
std::multimap<std::string, std::string, std::less<std::string>,
std::allocator<std::pair<const std::string,
std::string>>>::insert(std::pair<std::string, std::string>) needed in
static osg::DXFFile::registerEntityType(const char*, osg::DXFEntityBase*).
and these:
"/home/ps790413/work/osg-cvs/OpenSG/Source/System/NodeCores/Drawables/Nurbs/Internal/OSGNurbsPatchSurface.cpp",
line 1421: Error: Could not find a match for std::multimap<double,
unsigned, std::less<double>, std::allocator<std::pair<const double,
unsigned>>>::insert(std::pair<double, int>) needed in
osg::CNurbsPatchSurface::CutCurve(const unsigned, osg::BezierCurve2D&,
std::deque<osg::BezierCurve2D>&, std::vector<unsigned>&,
std::vector<unsigned>&).
line 1440: Error: Could not find a match for std::multimap<double,
unsigned, std::less<double>, std::allocator<std::pair<const double,
unsigned>>>::insert(std::pair<double, unsigned>) needed in
osg::CNurbsPatchSurface::CutCurve(const unsigned, osg::BezierCurve2D&,
std::deque<osg::BezierCurve2D>&, std::vector<unsigned>&,
std::vector<unsigned>&).
line 1464: Error: Could not find a match for std::multimap<double,
unsigned, std::less<double>, std::allocator<std::pair<const double,
unsigned>>>::insert(std::pair<double, unsigned>) needed in
osg::CNurbsPatchSurface::CutCurve(const unsigned, osg::BezierCurve2D&,
std::deque<osg::BezierCurve2D>&, std::vector<unsigned>&,
std::vector<unsigned>&).
then i get these strange errors:
"/home/ps790413/work/osg-cvs/OpenSG/Source/System/FileIO/DXF/OSGDXFTables.cpp"
line 74: Error: tableAppidName is initialized twice.
line 82: Error: tableBlock_recordName is initialized twice.
line 90: Error: tableDimstyleName is initialized twice.
line 98: Error: tableLayerName is initialized twice.
line 107: Error: tableLtypeName is initialized twice.
line 115: Error: tableStyleName is initialized twice.
line 123: Error: tableUcsName is initialized twice.
line 131: Error: tableViewName is initialized twice.
line 139: Error: tableVportName is initialized twice.
line 150: Error: osg::DXFTables::_the is initialized twice.
line 251: Error: Multiple declaration for cvsid_cpp.
line 252: Error: Multiple declaration for cvsid_hpp.
line 253: Error: Multiple declaration for cvsid_inl.
and i still get one error of this kind (hope this is the last one):
OpenSG/Source/System/GraphOp/OSGGeoTypeGraphOp.cpp":
line 78 (and following): Error: GeoNormals3bPtr is not defined.
Those were 'all' errors which occur at the moment, so hopefully there is
not much more fixing to be done.
Please tell me whether i should post my changes back to the cvs, because
until now i make the changes only locally. If yes, then please also tell
me how to do that, i guess i need a proper user account to do so..
thanks so much for your support,
Patric
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users