Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2004
lkw lkw is offline
Registered User
 
Name: David Lee
Organization: Allfast software company
Project: Vehicle Monitor With GPS
 
Join Date: Dec 2003
Location: P.R.China
Posts: 20
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?
Reply With Quote
  #2 (permalink)  
Old 08-25-2004
lkw lkw is offline
Registered User
 
Name: David Lee
Organization: Allfast software company
Project: Vehicle Monitor With GPS
 
Join Date: Dec 2003
Location: P.R.China
Posts: 20
ps. the compiling error rised when compiling IcePackRegistry project
Reply With Quote
  #3 (permalink)  
Old 08-25-2004
lkw lkw is offline
Registered User
 
Name: David Lee
Organization: Allfast software company
Project: Vehicle Monitor With GPS
 
Join Date: Dec 2003
Location: P.R.China
Posts: 20
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.
Reply With Quote
  #4 (permalink)  
Old 08-25-2004
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
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.
Reply With Quote
  #5 (permalink)  
Old 08-25-2004
lkw lkw is offline
Registered User
 
Name: David Lee
Organization: Allfast software company
Project: Vehicle Monitor With GPS
 
Join Date: Dec 2003
Location: P.R.China
Posts: 20
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?
Reply With Quote
  #6 (permalink)  
Old 08-25-2004
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Correct, the generation of the IdentityObjectDescDict dictionary changed between 1.4.0 and 1.5.x.

Benoit.
Reply With Quote
  #7 (permalink)  
Old 08-25-2004
lkw lkw is offline
Registered User
 
Name: David Lee
Organization: Allfast software company
Project: Vehicle Monitor With GPS
 
Join Date: Dec 2003
Location: P.R.China
Posts: 20
Thanks again!

I update the patch and the compile passed.

Last edited by lkw : 08-25-2004 at 11:31 PM.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 08:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.