Hi all,
I tried to compile OpenSG 2.0 (current source from SVN) using Scons, Boost
1.33.1 etc. on Windows XP (32-bit) with the VS .Net 2003 Compiler.
Unfortunately I got several build errors, that seem to point to a problem in
OSGFieldContainerMFields.
Attached the build-error print outs.
Any suggestions how to solve the problem? ;-)
Best Regards
Marcus
Marcus Hoffmann
Dipl. Ing. for Mediatechnology
Dep. Realtime Solutions for Simulation and Visual Analytics
Fraunhofer-Institute for Computer Graphics Research
Phone: +49 (0)6151 155 - 639
Mail: [EMAIL PROTECTED]
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1283)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::replace' :
local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1290)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::pushValueToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1299)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::pushSizeToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1307)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::setAddMethod'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1313)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::equal' :
local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1333)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::pushValueFromCString'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1342)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::copyValues'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1351)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::shareValues'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1363)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::cloneValues'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1371)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::__ctor' :
local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1380)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::__ctor' :
local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1388)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::getType' :
local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1395)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::isPointerField'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1403)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::pushValueToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1412)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::pushSizeToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1419)
: error C2248:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::Inherited'
: cannot access protected typedef declared in class
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.h(693)
: see declaration of
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::Inherited'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.h(725)
: see declaration of
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1420)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::equal' :
local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1440)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::operator`->''
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1447)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::FieldContainerPtr,0>::Self>::operator`*''
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1454)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1462)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1471)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1477)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1485)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1493)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1499)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1508)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1517)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1528)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1534)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1549)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1557)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1565)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1573)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1579)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1587)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1595)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1601)
: error C2951: template declarations are only permitted at global or namespace
scope
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1617)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::__ctor'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1626)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::__ctor'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1635)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::getType'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1641)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::isPointerField'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1648)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::pushValueToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1657)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::pushSizeToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1664)
: error C2248:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::Inherited'
: cannot access protected typedef declared in class
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.h(836)
: see declaration of
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::Inherited'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.h(887)
: see declaration of
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1665)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::equal'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1685)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::pushValueFromCString'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1694)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::copyValues'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1703)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::shareValues'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1717)
: error C2601:
'OSG::EditMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::cloneValues'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1729)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::__ctor'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1738)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::__ctor'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1747)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::getType'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1754)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::isPointerField'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1761)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::pushValueToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1770)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::pushSizeToStream'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1777)
: error C2248:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::Inherited'
: cannot access protected typedef declared in class
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.h(897)
: see declaration of
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::Inherited'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.h(929)
: see declaration of
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1778)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::equal'
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1798)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::operator`->''
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerMFields.inl(1805)
: error C2601:
'OSG::GetMFieldHandle<OSG::MField<OSG::ParentFieldContainerPtr,0>::Self>::operator`*''
: local function definitions are illegal
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(73)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(73)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(73)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(80)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(80)
: error C2039: 'BitVector' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(82)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(82)
: error C2039: 'BitVector' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(84)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.h(84)
: error C2039: 'BitVector' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.inl(41)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldContainerAttachment.inl(41)
: error C2039: 'UInt32' : is not a member of 'OSG::OSG'
d:\development\OpenSG_2.0\build.win32.cl.7.1\instlinks\include\OpenSG\OSGFieldBundleFactory.h(70)
: fatal error C1903: unable to recover from previous error(s); stopping
compilation
scons: ***
[build.win32.cl.7.1\type-optimized--arch-default\Source\System\Cluster\Base\OSGClusterViewBuffer.obj]
Error 2
scons: building terminated because of errors.
D:\development\OpenSG_2.0>-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users