Results 1 to 3 of 3

Thread: Slice Path

  1. #1
    Jennie is offline Registered User
    Join Date
    Oct 2004
    Posts
    13

    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

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    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

  3. #3
    Jennie is offline Registered User
    Join Date
    Oct 2004
    Posts
    13

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Bad path element for Java
    By myrosia in forum Help Center
    Replies: 5
    Last Post: 05-19-2010, 01:09 PM
  2. Slice Include Path
    By aerowyn in forum Help Center
    Replies: 4
    Last Post: 11-19-2009, 07:41 PM
  3. The ice include path...
    By sac_urs in forum Help Center
    Replies: 6
    Last Post: 11-29-2005, 02:03 AM
  4. slice2cpp and absolute path
    By DeepDiver in forum Bug Reports
    Replies: 2
    Last Post: 10-25-2005, 08:30 PM
  5. Path #1 for Ice 2.1.1, all languages
    By michi in forum Patches
    Replies: 0
    Last Post: 06-08-2005, 02:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •