Results 1 to 7 of 7

Thread: error about IdentityObjectDescDict.h??

  1. #1
    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?

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

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

  4. #4
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Sorry about that, Wody already reported this problem but somehow we forgot to fix it (http://www.zeroc.com/vbulletin/showt...=&threadid=696). I've posted an updated IcePackRegistry.dsp here http://www.zeroc.com/vbulletin/showt...=&threadid=753

    Thanks,

    Benoit.

  5. #5
    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?

  6. #6
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Correct, the generation of the IdentityObjectDescDict dictionary changed between 1.4.0 and 1.5.x.

    Benoit.

  7. #7
    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 10:31 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. error LNK2019 : unresolved symbol error
    By colorado in forum Help Center
    Replies: 3
    Last Post: 12-16-2010, 06:57 PM
  2. make test error! demo error!
    By zeronumber in forum Help Center
    Replies: 1
    Last Post: 12-16-2009, 04:36 AM
  3. Replies: 1
    Last Post: 02-05-2006, 01:58 AM
  4. Replies: 6
    Last Post: 04-11-2004, 09:12 PM
  5. Replies: 2
    Last Post: 09-03-2003, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •