Dumb Question

in Help Center
I'll appologize in advance for my question. Just attempting to run the demo/bdir example in 3.3.1 w/ MSVC integration, but get an error "Performing Custom Build Step". Then I attempted to run Slice2cpp in a dos window manually, but get the following:
error: Can't open include file "Ice/Identity.ice"
Ice is installed in c:\ice-3.1.1, ICE_HOME points to same, and both the ice home folder and the slice folder are included in the path. Please advise.
Thanks,
Andy
error: Can't open include file "Ice/Identity.ice"
Ice is installed in c:\ice-3.1.1, ICE_HOME points to same, and both the ice home folder and the slice folder are included in the path. Please advise.
Thanks,
Andy
0
Comments
Are you using your own Visual Studio project to build this demo, or are you using the one included with Ice? What error messages are you seeing during the build? And which version of Visual Studio are you using?
The error message from slice2cpp indicates that you're missing a -I option. For example:
> slice2cpp -IC:\Ice-3.3.1\slice Callback.ice
Regards,
Mark
Thank you for the reply. But get the same error using:
slice2cpp -IC:\Ice-3.3.1\slice Callback.ice
I'm using vs2005, but at this point do not know if the solution/project files were supplied or I created them. The error is as follows:
"error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
Thanks,
Andy
If you used the Windows installer for Ice 3.3.1, the file C:\Ice-3.3.1\slice\Ice\Identity.ice should be present. Can you confirm that this file exists?
Thanks,
Mark
The only way I can get it to work is copy the slice\ice folder locally, and change from <> to "" in the include statement of the callback.ice file.
Thanks,
Andy
At first I thought this was a typo ... it's strange to install Ice 3.3.1 in c:\ice-3.1.1!
Are you sure you're not mixing up two versions of Ice?
Best regards,
Bernard
Thanks,
Andy
Perhaps removing your Ice installation(s) and reinstalling Ice-3.3.1-VC80.msi would solve your problem!
Best regards,
Bernard
Thanks,
Andy