bgslibrary
bgslibrary copied to clipboard
Build Fails: Project File Missing
So I'm following the Windows install instructions for OpenCV 3 and Visual Studio 2015 and everything goes fine until I get to the cmake command at which point I get the following error:
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.17134.
CMake Error at CMakeLists.txt:3 (project):
Failed to run MSBuild command:
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe
to get the value of VCTargetsPath:
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: VCTargetsPath.vcxproj
Exit code: 1
Configuring incomplete, errors occurred!
See also "C:/Windows/System32/bgslibrary/build_win64/CMakeFiles/CMakeOutput.log".
Hello @mexicantexan ,
Thanks for opening this issue.
It's strange for me this kind of error. Can you show me a more detailed step-by-step what you did ?
If possible, put the cmake output too. In your comment you say using Visual Studio 2015
but in the logs it shows Visual Studio 2017
....however this is not an issue because the library is compatible with both.
It seems to be something missing from your Visual Studio side.
Just for curiosity, why the project bgslibrary
is located in the C:/Windows/System32
? it's normal or there is a specific reason ?
Thanks in advance,
Andrews