Home Help Center

Compile error, slice2cpp, VC7

KaosKaos Member

I've just downloaded Ice, and most seem to compile fine this far, but
I get this error message when compiling Gen.cpp in the slice2cpp project:
../../include\IceUtil\OutputUtil.h(131) : error C2678: binary '<<' : no operator found which takes a left-hand operand of type '_STL::ostringstream' (or there is no acceptable conversion)

I've put my build log at: http://kaos.explosive.se/files/BuildLog.htm
Using .NET 2002 on WinXP box.

Any hints on what I'm missing?


On a side note: haven't been able to open the mentioned file in VC without it stop responding either.. (weird, any other file works just fine, or the same file with another text tool..)


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

    This looks like a problem with VC7 and STLPort.
    In your environment:

    I use VC7 with the bundled STL implementation all the time without any problem.

    Do you really want to use STLPort to build Ice with VC7?

  • KaosKaos Member
    Oh, yes, that did the trick!

    Misread the INSTALL files where I spoted the requirement of STLport (but it was for VC6), but I'm curious as to what is wrong, since it's the same code I would use if I had VC6.

Sign In or Register to comment.