Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when specifying Header Output Directory #27

Open
bernardnormier opened this issue Mar 28, 2024 · 0 comments
Open

Compilation error when specifying Header Output Directory #27

bernardnormier opened this issue Mar 28, 2024 · 0 comments
Assignees
Labels

Comments

@bernardnormier
Copy link
Member

Using VS 2022 and Ice Builder for 6.0.3 to build the main ice branch (future 3.8).

Starting with:

image

(works).

If I change it to:
image

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.

image

@bernardnormier bernardnormier changed the title Compiling error when specifying Header Output Directory Compilation error when specifying Header Output Directory Mar 28, 2024
@pepone pepone self-assigned this Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants