Archived

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

generated #include

Hi all,

i'm running ICE 1.1.0 with VC++6 on a Win2k system.

My slice file contains #include <Ice/Locator.ice>.

Running slice2cpp -I$(ICEDIR)/slice MyFile.ice with
ICEDIR set to "D:\usr\Ice-1.1.0", the generated
MyFile.h contains the following include directive:

#include <D://usr//Ice-1.1.0/slice/Ice/Locator.h>

How can i tell slice2cpp not to generate an
absolute include file name, i.e. generate
#include <Ice/Locator.h> instead?

Regards
clemens

Comments

  • mes
    mes California
    Hi,

    Use forward slashes instead: set ICEDIR to "D:/usr/Ice-1.1.0", and specify the option "-I$(ICEDIR)/slice".

    - Mark