Archived

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

error about a list

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

  • dwayne
    dwayne St. John's, Newfoundland
    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.