Hi OpenSG Users,
I'm trying to compile OpenSG2 on a Windows 7 machine.
I got it to build with VS2010, both 64bit and 32bit, but I'm
experiencing difficulties with VS2005.
I've latest Service Pack installed, cl version is:
"Microsoft (R) 32-bit C/C++ Optimizing Compiler Version
14.00.50727.762 for 80x86"
I get this compile error when building OSGImageForeground.cpp in OSGWindow
==================== ERROR =======================
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\xutility(1685) : error C2593: 'operator -' is ambiguous
D:\devel\OpenSG2\Source\Base\FieldContainer\Fields\PointerFields\OSGPointerMField.h(285):
could be '__w64 int OSG::operator -(const
OSG::PointerMFieldConstIterator &,const
OSG::PointerMFieldConstIterator &)' [found using argument-dependent
lookup]
with
[
PtrTypeT=OSG::Image *,
RefCountPolicy=OSG::UnrecordedRefCountPolicy,
NamespaceI=0
]
d:\devel\opensg2\source\base\fieldcontainer\fields\pointerfields\OSGPointerMField.inl(586):
or '__w64 int OSG::operator -(const OSG::PointerMFieldConstIterator
&,const OSG::PointerMFieldConstIterator &)' [found using
argument-dependent lookup]
with
[
PtrTypeT=OSG::Image *,
RefCountPolicy=OSG::UnrecordedRefCountPolicy,
NamespaceI=0
]
while trying to match the argument list
'(OSG::PointerMFieldConstIterator, OSG::PointerMFieldConstIterator)'
with
[
PtrTypeT=OSG::Image *,
RefCountPolicy=OSG::UnrecordedRefCountPolicy,
NamespaceI=0
]
C:\Program Files (x86)\Microsoft Visual Studio
8\VC\include\xutility(1693) : see reference to function template
instantiation 'void std::_Distance2<_InIt,__w64
int>(_RanIt,_RanIt,_Diff &,std::random_access_iterator_tag)' being
compiled
with
[
_InIt=OSG::PointerMFieldConstIterator,
_RanIt=OSG::PointerMFieldConstIterator,
_Diff=__w64 int
]
..\..\..\Source\System\Window\Foreground\OSGImageForeground.cpp(213)
: see reference to function template instantiation '__w64 int
std::distance>(_InIt,_InIt)' being compiled
with
[
PtrTypeT=OSG::Image *,
RefCountPolicy=OSG::UnrecordedRefCountPolicy,
NamespaceI=0,
_InIt=OSG::PointerMFieldConstIterator
]
==================== ERROR =======================
Any hint? Thank you.
Josef
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users