Home Help Center

Slice Path

Hello,

When I slice2cpp files that reference eachother they all use the angle brackets to #include other ice-defined files, despite the fact that they are not sytem-defined headers. This forces me to include my development path in my system include path. How can I make the slice files include other local slice files with #include "..." notation when they are generated? Is this possible? Thank you.

Jennie

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Jennie,

    slice2cpp always uses angle brackets for include files. This usually means you just need to specify a compiler option (e.g., -I/my/slice/headers ) so that it can locate the header files correctly. Is there some reason you can't specify a compiler option?

    If you're still having trouble, please provide your platform and compiler information.

    Take care,
    - Mark
  • JennieJennie Member
    Angle Brackets

    Mark,

    Thank you for your speedy reply. For some reason what did not work before is working now. Blame it on computer magic.

    Take care,

    Jennie
Sign In or Register to comment.