Archived
This forum has been archived. Please start a new discussion on GitHub.
Slice2cpp Include Problem
tony_h
in Help Center
I am using following prebuild step in VS6:
cd ../../common/talnet
slice2cpp --include-dir talnet -I. talnet_statec.ice
The statec file is including talnet_common.h within the same directory.
Here is first part of output :
In file included from talnet_statec.ice:9:
talnet_common.h:16: Ice/LocalObjectF.h: No such file or directory
talnet_common.h:17: Ice/ProxyF.h: No such file or directory
talnet_common.h:18: Ice/ObjectF.h: No such file or directory......
I know that it is related to an environment variable but am not sure where I need to set the ice include path.
The talnet_common.cpp builds OK when building directly in VS6.
cd ../../common/talnet
slice2cpp --include-dir talnet -I. talnet_statec.ice
The statec file is including talnet_common.h within the same directory.
Here is first part of output :
In file included from talnet_statec.ice:9:
talnet_common.h:16: Ice/LocalObjectF.h: No such file or directory
talnet_common.h:17: Ice/ProxyF.h: No such file or directory
talnet_common.h:18: Ice/ObjectF.h: No such file or directory......
I know that it is related to an environment variable but am not sure where I need to set the ice include path.
The talnet_common.cpp builds OK when building directly in VS6.
0
Comments
-
I already have the ICE include directory set there. I have no problem building ICE files from within the VS6 IDE, the only problem I have is when slice2cpp is building files.
More specifically, the problem only arose when i split out parts of my code and had to put #include directives in the .ice files.0
