Previous Thread  Next Thread

chat icon Mighty Nikolatesla20 or anybody that...

Devas73

Posted: Wed Oct 23, 2002 6:27 pm
Joined: 15 Oct 2002
Posts: 25
...managed to compile blender on win32 with msvc6:
I get this error (sorry for the lenght):

source\kernel\gen_system\GEN_Map.h(143) : error C2678: binary '==' : no operator defined which takes a left-hand operand of type 'class GEN_HashedPtr' (or there is no acceptable conversion)
..\..\..\source\kernel\gen_system\GEN_Map.h(141) : while compiling class-template member function 'void **__thiscall GEN_Map<class GEN_HashedPtr,void *>::operator [](class GEN_HashedPtr) '
..\..\..\source\kernel\gen_system\GEN_Map.h(143) : fatal error C1903: unable to recover from previous error(s); stopping compilation
..\..\..\source\kernel\gen_system\GEN_Map.h(141) : while compiling class-template member function 'void **__thiscall GEN_Map<class GEN_HashedPtr,void *>::operator [](class GEN_HashedPtr) '

It seems that when the templated class "Key" (see GEN_map.h) gets istantiated to a GEN_HashedPtr, the compiler cannot find the "==" operator but it exists!
Anybody had this problem? Confused
Reply with quote


nikolatesla20

Posted: Wed Oct 23, 2002 9:48 pm
Joined: 13 Oct 2002
Posts: 25
Nope, I never got any errors like that !

Just a quick question : did you get the blenkey.h file? The prior tutorials on compiling blender in *nix had the contents of what goes in that file (mainly a simple struct)

otherwise, dont know what to say. You using VC++?

-nt20
Reply with quote


Devas73

Posted: Wed Oct 23, 2002 10:28 pm
Joined: 15 Oct 2002
Posts: 25
Uhm, I missed the tutorial about unix... I'll make a search.
Yep, I use msvc6.
Thanks Niko, you're doing a great job! Very Happy
Reply with quote


_florian_

Posted: Wed Oct 23, 2002 11:06 pm
Joined: 16 Oct 2002
Posts: 36
hadn't the problem with msvc.

perhaps you have checked on the c++ tab in the projectsettings
to generate warnings as errors.

florian
_________________
GIT d+ s:- a- C++ UL+++ P--- L+ E--- W+ N+ o-- K- w++ O-- M V--
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++
Reply with quote


benoit

Posted: Thu Oct 24, 2002 10:17 am
Joined: 16 Oct 2002
Posts: 5
I did have the same problem... You can fix it using ugly cast, but it's probably a bug in C++ compiler. I'am using Visual C++ 6.0 without service pack (I guess). the cl version is 12.00.8168, what version are you using?

Benoit.
Reply with quote


Devas73

Posted: Thu Oct 24, 2002 6:51 pm
Joined: 15 Oct 2002
Posts: 25
Hmm, never patched before.
I guess i have an old and bugged version.
How can I see the cl version? I tried cl /v without success - I have to dig my msvc library CDs.
I hope on the m$ site there still is the patch, as now it's .net everywhere...
Reply with quote


_florian_

Posted: Thu Oct 24, 2002 11:12 pm
Joined: 16 Oct 2002
Posts: 36
yeah! cl version isn't as clear to get as it should be. only know that
i have the latest svp installed. checked afternoon for the servicepack
and didn't found it. only .NET stuff there. (msdn.microsoft.com/vstudio)
they act like there was never something other than .NET.
but if you have a MSDN subscription you have it on cd. i think technet
has also the dev-svp's.

florian
_________________
GIT d+ s:- a- C++ UL+++ P--- L+ E--- W+ N+ o-- K- w++ O-- M V--
PS+ PE Y+ PGP++ t+++ 5 X+++ R- tv++ b++ DI- D- G e+ h-- r- y++
Reply with quote


benoit

Posted: Fri Oct 25, 2002 7:26 am
Joined: 16 Oct 2002
Posts: 5
I've just installed sp4 for visual C++ 6.0 and now it works fine. The cl version is 12.00.8804.

Benoit.
Reply with quote


Devas73

Posted: Fri Oct 25, 2002 9:36 pm
Joined: 15 Oct 2002
Posts: 25
I found SP5 for vc++, doing a google search:
"visual c++ service pack 5 download"
130 Meg download, made at work - Monday I'll have to bring my external drive for harvest Cool
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group