Archived
This forum has been archived. Please start a new discussion on GitHub.
error about IdentityObjectDescDict.h??
in Bug Reports
hi,
I have downloaded Ice-1.5.1.zip today and compiled it in VC7.1(the OS is Windows server 2003),but an compiling error rised.It say that #if/#endif pair is not match in IdentityObjectDescDict.h in $ICE/src/IcePack. I open it and read this:
begin
// **********************************************************************
//
// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
// Ice version 1.5.1
// Freeze types in this file:
// name="IcePack::IdentityObjectDescDict", key="Ice::Identity", value="IcePack::ObjectDescription"
#ifndef __IdentityObjectDescDict_h__
#define __IdentityObjectDescDict_h__
#include <Freeze/Map.h>
#include <Ice/Identity.h>
#include <IcePack/Internal.h>
#ifndef ICE_IGNORE_VERSION
# if ICE_INT_VERSION != 10501
# error Ice version mismatch!
# endif
#endif
end
@@Then I downloaded the file Ice-1.5.1.zip three time but every time the file IdentityObjectDescDict.h is same. I open IdentityObjectDescDict.h in ICE 1.4.0 and it's content is different with the one in ICE1.5.1.And I download Ice-1.5.0.zip but there is no the file IdentityObjectDescDict.h:( .
Can anyone pls tell me the solution?
I have downloaded Ice-1.5.1.zip today and compiled it in VC7.1(the OS is Windows server 2003),but an compiling error rised.It say that #if/#endif pair is not match in IdentityObjectDescDict.h in $ICE/src/IcePack. I open it and read this:
begin
// **********************************************************************
//
// Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
// Ice version 1.5.1
// Freeze types in this file:
// name="IcePack::IdentityObjectDescDict", key="Ice::Identity", value="IcePack::ObjectDescription"
#ifndef __IdentityObjectDescDict_h__
#define __IdentityObjectDescDict_h__
#include <Freeze/Map.h>
#include <Ice/Identity.h>
#include <IcePack/Internal.h>
#ifndef ICE_IGNORE_VERSION
# if ICE_INT_VERSION != 10501
# error Ice version mismatch!
# endif
#endif
end
@@Then I downloaded the file Ice-1.5.1.zip three time but every time the file IdentityObjectDescDict.h is same. I open IdentityObjectDescDict.h in ICE 1.4.0 and it's content is different with the one in ICE1.5.1.And I download Ice-1.5.0.zip but there is no the file IdentityObjectDescDict.h:( .
Can anyone pls tell me the solution?
0
Comments
-
ps. the compiling error rised when compiling IcePackRegistry project0
-
I copy the files,IdentityObjectDescDict.h and IdentityObjectDescDict.cpp from ICE 1.4.0 to ICE1.5.1,change the line :
# if ICE_INT_VERSION != 10400
to
# if ICE_INT_VERSION != 10501
and change "ObjectDescription" to :ObjectDescriptor",the compile is OK.
I don't know if it is the ICE team's real intention.0 -
Sorry about that, Wody already reported this problem but somehow we forgot to fix it (http://www.zeroc.com/vbulletin/showthread.php?s=&threadid=696). I've posted an updated IcePackRegistry.dsp here http://www.zeroc.com/vbulletin/showthread.php?s=&threadid=753
Thanks,
Benoit.0 -
Thanks Benoit.
I found IdentityObjectDescDict is generated from $ICE/src/IcePack/dummy1.ice. And is it because the files is generated differently between ICE1.4.0 and ICE1.5.1?0 -
Correct, the generation of the IdentityObjectDescDict dictionary changed between 1.4.0 and 1.5.x.
Benoit.0 -
Thanks again!
I update the patch and the compile passed.0