Mighty Nikolatesla20 or anybody that...

General discussion about the development of the open source Blender

Moderators: jesterKing, stiv

Devas73
Posts: 27
Joined: Wed Oct 16, 2002 12:21 am

Mighty Nikolatesla20 or anybody that...

Postby Devas73 » Wed Oct 23, 2002 7:27 pm

...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? :?

nikolatesla20
Posts: 25
Joined: Sun Oct 13, 2002 7:41 pm

hm

Postby nikolatesla20 » Wed Oct 23, 2002 10:48 pm

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

Devas73
Posts: 27
Joined: Wed Oct 16, 2002 12:21 am

Postby Devas73 » Wed Oct 23, 2002 11:28 pm

Uhm, I missed the tutorial about unix... I'll make a search.
Yep, I use msvc6.
Thanks Niko, you're doing a great job! :D

_florian_
Posts: 36
Joined: Wed Oct 16, 2002 10:17 am

Re: Mighty Nikolatesla20 or anybody that...

Postby _florian_ » Thu Oct 24, 2002 12:06 am

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++

benoit
Posts: 5
Joined: Wed Oct 16, 2002 8:08 am
Location: Nice (France)

Postby benoit » Thu Oct 24, 2002 11:17 am

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.

Devas73
Posts: 27
Joined: Wed Oct 16, 2002 12:21 am

Postby Devas73 » Thu Oct 24, 2002 7:51 pm

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...

_florian_
Posts: 36
Joined: Wed Oct 16, 2002 10:17 am

Postby _florian_ » Fri Oct 25, 2002 12:12 am

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++

benoit
Posts: 5
Joined: Wed Oct 16, 2002 8:08 am
Location: Nice (France)

Postby benoit » Fri Oct 25, 2002 8:26 am

I've just installed sp4 for visual C++ 6.0 and now it works fine. The cl version is 12.00.8804.

Benoit.

Devas73
Posts: 27
Joined: Wed Oct 16, 2002 12:21 am

Postby Devas73 » Fri Oct 25, 2002 10:36 pm

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 8)


Return to “News & Chat”

Who is online

Users browsing this forum: No registered users and 0 guests