Archived

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

Compile error, slice2cpp, VC7

Hi,

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?

Thanks,
Andreas

Ps.
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..)

Comments

  • bernard
    bernard Jupiter, FL
    Hi Andreas,

    This looks like a problem with VC7 and STLPort.
    In your environment:
    INCLUDE=E:\Dev\STLport-4.6.2\stlport;E:\Dev\Ice-1.3.0\include;E:\Dev\Dep\include;...

    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?

    Cheers,
    Bernard
  • 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.

    Thanks!