Home Help Center

slice2cpp ByteSeq Not Defined

aennenaennen Member Alan EnnenOrganization: AmdocsProject: Innovations
Took Ripper example from manual and tried running slice2cpp and got

Ripper.ice:16 `Ice::ByteSeq' is not defined
Ripper.ice:21 `Ice::ByteSeq' is not defined

Am i missing something ?


module Ripper
exception EncodingFailedException
string reason;

sequence<short> Samples;

interface Mp3Encoder
// Input: PCM samples for left and right channels
// Output: MP3 frame(s).
Ice::ByteSeq encode(Samples leftSamples, Samples rightSamples)
throws EncodingFailedException;

// You must flush to get the last frame(s). Flush also
// destroys the encoder object.
Ice::ByteSeq flush()
throws EncodingFailedException;

interface Mp3EncoderFactory
Mp3Encoder* createEncoder();



  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff

    Thanks for pointing this out, I've fixed the documentation. You need to include <Ice/BuiltinSequences.ice> to get the Ice::ByteSeq definition. This Slice file is located in the "slice" directory of your Ice installation.

Sign In or Register to comment.