Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 04-17-2006
lifesong lifesong is offline
Registered User
 
 
Join Date: Jan 2006
Posts: 5
Question Build Ice resource code error


I download the lastest version of STLport and want to use. I have set STLport path in VC directories and appended _STLP_NEW_PLATFORM_SDK macro in all ice reource projects. Then I build the the all.dsw project.
report error as follows:
\src\iceutil\Exception.cpp(52) : error C2679: binary '<<' : no operator defined which takes a right-hand operand of type 'const class stlpd_std::basic_string<char,class stlpd_std::char_traits<char>,class stlpd_std::allocator<cha
r> >' (or there is no acceptable conversion)
Reply With Quote
  #2 (permalink)  
Old 04-17-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
Welcome to the forum! For assistance you need to fill in your signature details as described in the link contained in my signature. We also require more information to help you, such as your operating system and compiler version. Also, why do you want to use a newer version of STLport? Note that we have not tested with any version other than the one in the VC6 requirements.
Reply With Quote
  #3 (permalink)  
Old 04-18-2006
lifesong lifesong is offline
Registered User
 
 
Join Date: Jan 2006
Posts: 5
Exclamation


I work on a network grid project and build projects in VC 6.0 enterprise edition on windows XP professional SP2.
I use the newer version of STLport for that is possible better than old version.
__________________
full name: WuQing
universities: WuHan University
URL: www.whu.edu.cn
Reply With Quote
  #4 (permalink)  
Old 04-18-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
My guess is that the problem has something to do with the builtin iostreams package not being compiled for STLport. Perhaps the _STLP_NO_NEW_IOSTREAMS is defined or something along these lines?

Unless you really need some feature added in a later release of STLport, or you want to use a later version as an experiment I wouldn't bother trying to modify Ice to support this yourself. The 4.5.2 version that we officially support, and that is bundled with the Ice third party distribution is very stable.
Reply With Quote
  #5 (permalink)  
Old 06-08-2006
lifesong lifesong is offline
Registered User
 
 
Join Date: Jan 2006
Posts: 5
Unhappy Now, have new compile errors


open src\Ice\ice.dsp and build it.
For the EventHandlerPtr type was defined as Handle<EventHandler> in INCLUDE\Ice\Handle.h(46).
It isn't like a pointer type.
Now, have new compile errors:
1.
src\Ice\ThreadPool.cpp(408) error C2451:
conditional expression of type 'class IceInternal::Handle<class IceInternal::EventHandler>' is illegal
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

2.
src\Ice\ThreadPool.cpp(553) : error C2676:
binary '||' : 'class IceInternal::Handle<class IceInternal::EventHandler>' does not define this operator or a conversion to a type acceptable to the predefined operator

3.
src\Ice\ThreadPool.cpp(567) : error C2819:
type 'IceInternal::Handle<class IceInternal::EventHandler>' does not have an overloaded member 'operator ->'
Reply With Quote
  #6 (permalink)  
Old 06-08-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
You must fill in your signature details before we can help you. You should also tell us what version of the compiler, and Ice you are attempting to compile.
Reply With Quote
  #7 (permalink)  
Old 06-08-2006
lifesong lifesong is offline
Registered User
 
 
Join Date: Jan 2006
Posts: 5
Question


compiler : VC 6.0 Enterprise Edition
OS : Windows XP Professional SP2
ICE : 3.0.1
__________________
full name: WuQing
universities: WuHan University
URL: www.whu.edu.cn
Reply With Quote
  #8 (permalink)  
Old 06-08-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
Are you using the correct service patch level? We require service pack 5. Are you also trying to build against a new version of STLport or are you using our third party package?
Reply With Quote
  #9 (permalink)  
Old 06-08-2006
lifesong lifesong is offline
Registered User
 
 
Join Date: Jan 2006
Posts: 5
compiler : VC 6.0 Enterprise Edition SP6
OS : Windows XP Professional SP2
ICE : 3.0.1
ThirdParty : 3.0.1 (except STLport)
STLport : 5.0.2
__________________
full name: WuQing
universities: WuHan University
URL: www.whu.edu.cn
Reply With Quote
  #10 (permalink)  
Old 06-08-2006
bernard's Avatar
bernard bernard is online now
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Quote:
Originally Posted by lifesong

open src\Ice\ice.dsp and build it.
That's not the proper way to build Ice: you need to use the all.dsw solution when building.

Also note that the Berkeley DB/C++ included in ThirdParty 3.0.1 (for VC6) was built using the STLPort 4.6.2 in the same distribution. If you want to use your own STLPort version, you should rebuild Berkeley DB/C++ as well using that version.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
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
Build error in Redhat Linux 9.0 wuqiu Help Center 10 05-16-2006 11:39 PM
Build error on Red Hat Linux (kernel:2.4.18) rc_hz Help Center 3 11-26-2005 08:58 PM
Freeze sample build error chenhong_sz Help Center 7 03-28-2005 09:24 PM
Project : error PRJ0019: A tool returned an error code: "Performing Custom Build Step Falagard Help Center 6 04-11-2004 10:12 PM
Resource / Code Snippet Submission? amrufon Comments 0 10-29-2003 04:21 AM


All times are GMT -4. The time now is 10:27 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.