Home Help Center

Building ICE-3.3.0 library.Error in cpp/ICE-PATCH2 related to utility

pdubeypdubey Member PARIKSHAT DUBEYOrganization: TRANSPORT | WAREHOUSE OPTIMIZATIONProject: APAL
Hi All,

I am building 64 bit ICE-3.3.0 package on windows 7 (64 bit).

While building ice,got the following error:

gnoring ICE_HOME environment variable to build current source tree.
"making all in cpp"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in config"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in src"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in IceUtil"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in Slice"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2cpp"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2cs"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2freeze"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2freezej"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2docbook"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2java"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2py"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2rb"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in slice2html"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in Ice"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in IceXML"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in IceSSL"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in IceBox"
Ignoring ICE_HOME environment variable to build current source tree.
"making all in IcePatch2"
Ignoring ICE_HOME environment variable to build current source tree.
cl.exe /c -I. -I.. -I..\..\..\..\openssl-1.0.1g\dynamic\include -I"D:\Ice-3.3.0-ThirdParty-VC100_EXPRESS\include" -nologo -W3 -WX -GR -EHsc -FD -D_CONSOLE -O2 -DNDEBUG -MD -I..\..\include -DWIN32_LEAN_AND_MEAN FileServerI.cpp
FileServerI.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) : error C2440: 'initializing' : cannot convert from 'int' to 'const unsigned char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(247) : see reference to function template instantiation 'std::_Pair_base<_Ty1,_Ty2>::_Pair_base<_Ty,_Ty>(_Other1 &&,_Other2 &&)' being compiled
with
[
_Ty1=const unsigned char *,
_Ty2=const unsigned char *,
_Ty=int,
_Other1=int,
_Other2=int
]
FileServerI.cpp(87) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2>::pair<int,int>(_Other1 &&,_Other2 &&)' being compiled
with
[
_Ty1=const Ice::Byte *,
_Ty2=const Ice::Byte *,
_Other1=int,
_Other2=int
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) : error C2439: 'std::_Pair_base<_Ty1,_Ty2>::first' : member could not be initialized
with
[
_Ty1=const unsigned char *,
_Ty2=const unsigned char *
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(166) : see declaration of 'std::_Pair_base<_Ty1,_Ty2>::first'
with
[
_Ty1=const unsigned char *,
_Ty2=const unsigned char *
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) : error C2440: 'initializing' : cannot convert from 'int' to 'const unsigned char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(163) : error C2439: 'std::_Pair_base<_Ty1,_Ty2>::second' : member could not be initialized
with
[
_Ty1=const unsigned char *,
_Ty2=const unsigned char *
]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\utility(167) : see declaration of 'std::_Pair_base<_Ty1,_Ty2>::second'
with
[
_Ty1=const unsigned char *,
_Ty2=const unsigned char *
]

Please advice.

Comments

  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi Parikshat,

    Welcome to our forums!

    The simplest would to to use our binary distribution for Ice 3.3.0, available at: ZeroC - Download - Ice 3.3.0.

    Ice-3.3.0-VC90.msi includes 64-bit binaries built with Visual Studio 2008. You could also rebuild everything from sources if you wish, using Visual Studio 2008, or the older Visual Studio 2005.

    We did not support Visual Studio 2010 (aka Visual Studio 10.0) with Ice 3.3.0.

    Best regards,
    Bernard
Sign In or Register to comment.