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

Build fails: CLinkerTask complains OutputFile parameter value is missing #19

Open
heinrich-ulbricht opened this issue Sep 26, 2021 · 1 comment

Comments

@heinrich-ulbricht
Copy link

I followed the instructions and upon build I get the following error:

[user@dev Doxa]$ export VCTargetsPath=./
[user@dev Doxa]$ dotnet build /p:Configuration=Debug
Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /home/user/Repos/Doxa/Doxa/Doxa.vcxproj (in 191 ms).
/home/user/.nuget/packages/gccbuildtargets/1.19.325.5/build/Microsoft.Cpp.targets(214,5): error MSB4044: The "CLinkerTask" task was not given a value for the required parameter "OutputFile". [/home/user/Repos/Doxa/Doxa/Doxa.vcxproj]

Build FAILED.

/home/user/.nuget/packages/gccbuildtargets/1.19.325.5/build/Microsoft.Cpp.targets(214,5): error MSB4044: The "CLinkerTask" task was not given a value for the required parameter "OutputFile". [/home/user/Repos/Doxa/Doxa/Doxa.vcxproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.86

Do you have any hints where I should look for the cause?

(I'm trying to build this one in Fedora 33: https://github.com/brandonmpetty/Doxa)

@heinrich-ulbricht
Copy link
Author

heinrich-ulbricht commented Sep 26, 2021

Seems like the project file triggers no ClCompile item which apparently causes this error.

https://github.com/brandonmpetty/Doxa/blob/master/Doxa/Doxa.vcxproj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant