Archived

This forum has been archived. Please start a new discussion on GitHub.

compile problems in Windows xp using vs2003

Hi. all.

I installed third-party libraries.msi and i want build ice-3.1.1 source.
but i got many errors. like this:
Compiling...
cexp.c
cexp.c(1183) : error C2449: found '{' at file scope (missing function header?)
cexp.c(2010) : error C2059: syntax error : '}'
cexp.y(513) : error C2065: 'lexptr' : undeclared identifier
cexp.y(513) : warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int'
cexp.y(563) : warning C4047: 'function' : 'size_t' differs in levels of indirection from 'char *'
cexp.y(598) : warning C4047: '=' : 'int' differs in levels of indirection from 'char *'
cexp.y(667) : warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int'
cexp.y(669) : error C2100: illegal indirection
cexp.y(676) : error C2113: '-' : pointer can only be subtracted from another pointer
cexp.y(696) : error C2100: illegal indirection
cexp.y(792) : warning C4047: 'initializing' : 'char *' differs in levels of indirection from 'int'
cexp.y(795) : error C2100: illegal indirection
cexp.y(802) : error C2113: '-' : pointer can only be subtracted from another pointer
cexp.y(1025) : warning C4047: '=' : 'int' differs in levels of indirection from 'char *'
cexp.y(1037) : error C2100: illegal indirection
cccp.c
Generating Code...

Build log was saved at "file://c:\Ice-3.1.1\src\icecpp\Debug\BuildLog.htm"
icecpp - 9 error(s), 6 warning(s)

c:\Ice-3.1.1\include\IceSSL\Plugin.h(14): fatal error C1083: Cannot open include file: 'Ice/Plugin.h': No such file or directory
c:\Ice-3.1.1\src\IceSSL\TrustManager.h(13): fatal error C1083: Cannot open include file: 'Ice/CommunicatorF.h': No such file or directory
c:\Ice-3.1.1\include\IceSSL\Plugin.h(14): fatal error C1083: Cannot open include file: 'Ice/Plugin.h': No such file or directory
c:\Ice-3.1.1\include\IceSSL\Plugin.h(14): fatal error C1083: Cannot open include file: 'Ice/Plugin.h': No such file or directory
c:\Ice-3.1.1\include\IceSSL\Plugin.h(14): fatal error C1083: Cannot open include file: 'Ice/Plugin.h': No such file or directory
c:\Ice-3.1.1\src\IceSSL\Instance.h(15): fatal error C1083: Cannot open include file: 'Ice/CommunicatorF.h': No such file or directory
c:\Ice-3.1.1\src\Ice\EndpointI.h(14): fatal error C1083: Cannot open include file: 'Ice/Endpoint.h': No such file or directory
c:\Ice-3.1.1\src\IceSSL\ConnectorI.h(13): fatal error C1083: Cannot open include file: 'Ice/LoggerF.h': No such file or directory

Comments

  • We discovered a problem with some of the generated files shortly after release and updated the source distributions on the website. This problem only affects developers using Microsoft Visual C++ 6.0 and 7.1 who are building Ice from the source distribution. I recommend that you download a fresh source distribution from our website and try again.
  • thanks

    hi, i got right. thank you so much.