Hi,
i tried to compile debug and optimized (i reported console output in
previous mail) but there are compiling errors.
I report these errors here again:
OSGReferenceCountTest.cpp
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(60) : error
C2143: s
yntax error : missing ';' before 'constant'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(60) : error
C2064: t
erm does not evaluate to a function taking 1 arguments
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(65) : error
C2228: l
eft of '.get' must have class/struct/union
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(70) : error
C2227: l
eft of '->getId' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(81) : error
C2227: l
eft of '->getRefCount' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(81) : error
C2665: '
UnitTest::CheckEqual' : none of the 4 overloads could convert all the
argument t
ypes
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(30): could be 'void UnitTest::CheckEqual(UnitTest::TestResults
&,const ch
ar *,const char *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(32): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,char *,
const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(34): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,const c
har *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(36): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,const char
*,c
har *,const UnitTest::TestDetails &)'
while trying to match the argument list '(UnitTest::TestResults,
int)'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(82) : error
C2227: l
eft of '->getWeakRefCount' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(90) : error
C2664: '
void OSG::Node::setCore(OSG::NodeCore *const )' : cannot convert parameter 1
fro
m 'int' to 'OSG::NodeCore *const '
Conversion from integral type to pointer type requires
reinterpret_cast,
C-style cast or function-style cast
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(95) : error
C2227: l
eft of '->getRefCount' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(95) : error
C2665: '
UnitTest::CheckEqual' : none of the 4 overloads could convert all the
argument t
ypes
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(30): could be 'void UnitTest::CheckEqual(UnitTest::TestResults
&,const ch
ar *,const char *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(32): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,char *,
const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(34): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,const c
har *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(36): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,const char
*,c
har *,const UnitTest::TestDetails &)'
while trying to match the argument list '(UnitTest::TestResults,
int)'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(103) : error
C2227:
left of '->getMFParents' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(103) : error
C2227:
left of '->at' must point to class/struct/union/generic type
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(103) : error
C2665:
'UnitTest::CheckEqual' : none of the 4 overloads could convert all the
argument
types
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(30): could be 'void UnitTest::CheckEqual(UnitTest::TestResults
&,const ch
ar *,const char *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(32): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,char *,
const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(34): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,const c
har *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(36): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,const char
*,c
har *,const UnitTest::TestDetails &)'
while trying to match the argument list '(UnitTest::TestResults,
OSG::No
deRecPtr)'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(110) : error
C2106:
'=' : left operand must be l-value
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(291) : error
C2143:
syntax error : missing ';' before 'constant'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(291) : error
C2440:
'=' : cannot convert from 'OSG::GroupTransitPtr' to 'int'
No user-defined-conversion operator available that can perform this
conv
ersion, or the operator cannot be called
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(298) : error
C2228:
left of '.get' must have class/struct/union
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(305) : error
C2227:
left of '->getId' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(314) : error
C2664:
'void OSG::Node::setCore(OSG::NodeCore *const )' : cannot convert parameter
1 fr
om 'int' to 'OSG::NodeCore *const '
Conversion from integral type to pointer type requires
reinterpret_cast,
C-style cast or function-style cast
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(315) : error
C2664:
'void OSG::Node::setCore(OSG::NodeCore *const )' : cannot convert parameter
1 fr
om 'int' to 'OSG::NodeCore *const '
Conversion from integral type to pointer type requires
reinterpret_cast,
C-style cast or function-style cast
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(323) : error
C2227:
left of '->getRefCount' must point to class/struct/union/generic type
type is 'int'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(323) : error
C2665:
'UnitTest::CheckEqual' : none of the 4 overloads could convert all the
argument
types
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(30): could be 'void UnitTest::CheckEqual(UnitTest::TestResults
&,const ch
ar *,const char *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(32): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,char *,
const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(34): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,char
*,const c
har *,const UnitTest::TestDetails &)'
c:\progetti\endonav\sorgenti\opensg\tools\unittest-cpp\unittest++\src\Ch
ecks.h(36): or 'void UnitTest::CheckEqual(UnitTest::TestResults &,const char
*,c
har *,const UnitTest::TestDetails &)'
while trying to match the argument list '(UnitTest::TestResults,
int)'
Source\System\FieldContainer\Base\OSGReferenceCountTest.cpp(333) : error
C2106:
'=' : left operand must be l-value
scons: ***
[build.win32.cl.8.0\type-debug--arch-default\Source\System\FieldConta
iner\Base\OSGReferenceCountTest.obj] Error 2
scons: building terminated because of errors.
Tks
Lorenzo
----- Original Message -----
From: "Gerrit Voss" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, August 27, 2008 12:05 PM
Subject: Re: [Opensg-users] OPENSG 2.0 compiling errors under windows
>
> Hi,
>
> On Wed, 2008-08-27 at 11:59 +0200, Lorenzo Cesario wrote:
>> Hi,
>> errors about OSGGLDefineMapper_auto.cpp are resolved.
>> Now....if i try to build without any option of var_type building i have
>> these errors (and there are the same errors
>> obtained if i use this command line
>> python Tools\scons-local\scons.py
>> BoostBaseDir=C:\Programmi\boost\boost_1_33_1 enable_unittest=false
>> type_var=hybrid MSVS_VERSION=8.0):
> ^^^^^^
> don't build hybrid, build either debug or optimized, IIRC hybrid never
> really worked, at least I currently don't testbuild it.
>
> kind regards,
> gerrit
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users