Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 05-26-2003
mthiercy mthiercy is offline
Registered User
 
 
Join Date: Feb 2003
Location: Montpellier - FRANCE
Posts: 4
Unhappy Compilation problem under Win XP

I'm trying to compile Ice 1.01 under Windows XP using the .NET Visual environment (and after having installed all the required components - DB, openssl, etc.)

I have had a first problem with IceUtil/UUID.cpp where the conditionnal test (and the similar test on line 47):
#if _MSC_VER > 1200
wchar_t* str;
#else
unsigned char* str;
#endif
generated errors. I had to remove the test to force an 'unsigned char' declaration and generate the executable.

The second issue is when I try to build the Ice directory. I get a message like :
------ Build started: Project: Ice, Configuration: Release Win32 ------

Performing Custom Build Step
[many similar lines...]
Performing Custom Build Step
Compiling...
UserExceptionFactoryManager.cpp
UserExceptionFactory.cpp
UnknownEndpoint.cpp
UdpTransceiver.cpp
UdpEndpoint.cpp
Transceiver.cpp
TraceUtil.cpp
../../include\Ice\Proxy.h(88) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(89) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(90) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(91) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(92) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(95) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(98) : error C2039: 'Context' : is not a member of 'IceProxy::Ice'
../../include\Ice\Proxy.h(88) : error C2039: 'Context' : is not a member of 'operator``global namespace'''
../../include\Ice\Proxy.h(88) : error C3861: 'Context': identifier not found, even with argument-dependent lookup

And the same messages are repeated afterwards for other CPPs.

I don't understand the error message as the declaration seems perfectly right into the Proxy.h file. Is it an issue with the Windows compiler configuration ? A missing option ?

Thanks for your help.
Reply With Quote
  #2 (permalink)  
Old 05-26-2003
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,772
Which version of Visual C++ .NET are you using? 7.0 or 7.1?
Reply With Quote
  #3 (permalink)  
Old 05-27-2003
mthiercy mthiercy is offline
Registered User
 
 
Join Date: Feb 2003
Location: Montpellier - FRANCE
Posts: 4
I'm using Microsoft Development Environment 7.1(.2292)
There is no specific reference number for the C++ compiler.

Thanks for your help.
Reply With Quote
  #4 (permalink)  
Old 05-27-2003
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 761
Ice 1.0.1 was released before Visual Studio .NET 2003 ... at that time, there was only one Visual Studio .NET.

If you send an e-mail to support@zeroc.com, I'd be happy to send you a 1.0.1 patch (just a few files) to work-around the bugs introduced in VC7.1. Or you could wait a day or so for Ice 1.1.0: it supports VC7.1 (and 7.0 and 6.0), and includes binary distributions for Windows.

Cheers,
Bernard
Reply With Quote
  #5 (permalink)  
Old 05-28-2003
mthiercy mthiercy is offline
Registered User
 
 
Join Date: Feb 2003
Location: Montpellier - FRANCE
Posts: 4
Thumbs up It works !

I succeeded in compiling Ice 1.0.1 with the patch (but I guess you already know it solves the problem ) . I'm going on with my tests.

Thanks again for the help.
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
Ice-EJ: problem with the compilation of the sources albertods Help Center 5 10-16-2006 11:58 AM
Compilation Problem with GCC mykael Help Center 1 07-03-2006 04:06 AM
problem with c++ compilation arnaud Help Center 4 04-21-2006 08:18 PM
FreeBSD compilation problem: EPROTO undeclared rodrigc Bug Reports 1 02-22-2003 06:53 PM
FreeBSD compilation problem: pthread_t is not unsigned long rodrigc Bug Reports 2 02-22-2003 06:49 PM


All times are GMT -4. The time now is 03:07 AM.


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.