Home Help Center

error about a list

peterpeter Member Peter JaxyOrganization: Reihnisch Westfälisch technische HochschuleProject: Integrative Production Technologie ✭✭
I wrote a ice file and used the slice2cpp compiler to create the .h and .cpp file.
And the slice2cpp compiler didn't print any error messages.
But if I try to compile:
c++ -I. -I/usr/include server.cpp CCU.ccp CCUIS.cpp
I get al lot of error messages.
It seems, that a list wasn't found.

What is my error?

greeting
Peter

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    You did not include the include directive for <list> in you slice file.
    [["cpp:include:list"]]
    
    It is also not necessary to have
    [["cpp:include:vector"]]
    [["cpp:include:map"]]
    
    as these as these types are always used by Ice.
Sign In or Register to comment.