Home Help Center

generated #include

clemensclemens Member
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?



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

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

    - Mark
Sign In or Register to comment.