Compilation error when specifying Header Output Directory
Opened this issue · 0 comments
bernardnormier commented
Using VS 2022 and Ice Builder for 6.0.3 to build the main ice branch (future 3.8).
Starting with:
(works).
the build fails with a confusing error message.
Build started at 4:25 PM...
1>------ Build started: Project: icestormadmin, Configuration: Debug x64 ------
1>Compiling ..\..\Election.ice Generating -> x64\Debug\Election.cpp and x64\Debug\Election.h
1>Compiling ..\..\IceStormInternal.ice Generating -> x64\Debug\IceStormInternal.cpp and x64\Debug\IceStormInternal.h
1>Compiling ..\..\LinkRecord.ice Generating -> x64\Debug\LinkRecord.cpp and x64\Debug\LinkRecord.h
1>Compiling ..\..\LLURecord.ice Generating -> x64\Debug\LLURecord.cpp and x64\Debug\LLURecord.h
1>Compiling ..\..\SubscriberRecord.ice Generating -> x64\Debug\SubscriberRecord.cpp and x64\Debug\SubscriberRecord.h
1>C:\Users\bernard\source\repos\ice\cpp\msbuild\packages\zeroc.icebuilder.msbuild.5.0.9\build\zeroc.icebuilder.msbuild.cpp.targets(85,9): error MSB6003: The specified task executable "slice2cpp.exe" could not be run. Could not find file 'C:\Users\bernard\source\repos\ice\cpp\src\IceStorm\msbuild\icestormadmin\x64\Debug\Election.h'.
1>Done building project "icestormadmin.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 9 up-to-date, 0 skipped ==========
========== Build completed at 4:25 PM and took 00.746 seconds ==========
And indeed Election.h is not generated. All the other header files appear to be there.