|
|
|
|||||
|
error about IdentityObjectDescDict.h??
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 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. |
|
||||||
|
Sorry about that, Wody already reported this problem but somehow we forgot to fix it
(bug in IcePackRegistry.dsp). I've posted an updated IcePackRegistry.dsp here Patch for Windows IcePackRegistry build problem (Ice 1.5.x)Thanks, Benoit. |
|
|||||
|
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? |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fatal error C1189: #error : WINDOWS.H already included | delloby | Help Center | 1 | 02-05-2006 02:58 AM |
| Project : error PRJ0019: A tool returned an error code: "Performing Custom Build Step | Falagard | Help Center | 6 | 04-11-2004 10:12 PM |
| link error: error LNK2001: unresolved external symbol __imp___assert | gmueckl | Help Center | 2 | 09-03-2003 03:49 AM |