Hi everybody!
I have a (perhaps stupid) problem: I have 2 slice files in the same directory: test1.ice and test2.ice
Code:#ifndef TEST1 #define TEST1 module Tests { struct Coordinate { double x; double y; double z; }; }; #endifI can make "slice2java test1.ice" and it works and generate the java source files under the Tests folder but "slice2java test2.ice" doesn't work and also shows this message:Code:#ifndef TEST2 #define TEST2 #include <test1.ice> module Tests { interface RemoteTrackingSystem { Coordinate getLocation(string identifier); }; }; #endif
What is the problem? And what should I change if the "included" slices are from other folder or from other ice module?Code:/home/luis/IceTests/SLICE/test2.ice:4: error: Can't open include file "test1.ice" #include <test1.ice> 1 error in preprocessor.
Thank you in advance for your help
Luis

Reply With Quote
