Failing OpenMVG installation using VS 2017 on windows - c++

I've been trying to install OpenMVG on windows 10 using this guide.
the build isn't passing.
https://github.com/openMVG/openMVG/blob/master/BUILD
first i built a vs 2017 compatible project using CMake
then compiled it using vs 2017.
here is the build output.
1>------ Build started: Project: INSTALL, Configuration: Release Win32 -----
1>-- Install configuration: "Release"
1>CMake Error at cmake_install.cmake:31 (file):
1> file INSTALL cannot make directory "C:/Program Files
1> (x86)/openMVG/include/openMVG_dependencies": No such file or directory
1>
1>
1>-- Installing: C:/Program Files (x86)/openMVG/include/openMVG_dependencies
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 1.
1>Done building project "INSTALL.vcxproj" -- FAILED.
2>------ Skipped Deploy: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>Project not selected to build for this solution configuration
3>------ Skipped Deploy: Project: cxsparse, Configuration: Release Win32 ------
3>Project not selected to build for this solution configuration
4>------ Skipped Deploy: Project: fast, Configuration: Release Win32 ------
4>Project not selected to build for this solution configuration
5>------ Skipped Deploy: Project: lemon (OpenMVG\3rdParty\lemon\lemon), Configuration: Release Win32 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Deploy: Project: lib_clp (OpenMVG\3rdParty\lib_clp\lib_clp), Configuration: Release Win32 ------
6>Project not selected to build for this solution configuration
7>------ Skipped Deploy: Project: openMVG_features, Configuration: Release Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Deploy: Project: stlplus, Configuration: Release Win32 ------
8>Project not selected to build for this solution configuration
9>------ Skipped Deploy: Project: zlib, Configuration: Release Win32 ------
9>Project not selected to build for this solution configuration
10>------ Skipped Deploy: Project: openMVG_numeric, Configuration: Release Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Deploy: Project: ceres (OpenMVG\3rdParty\ceres\ceres), Configuration: Release Win32 ------
11>Project not selected to build for this solution configuration
12>------ Skipped Deploy: Project: lib_CoinUtils (OpenMVG\3rdParty\lib_CoinUtils\lib_CoinUtils), Configuration: Release Win32 ------
12>Project not selected to build for this solution configuration
13>------ Skipped Deploy: Project: lib_Osi (OpenMVG\3rdParty\lib_Osi\lib_Osi), Configuration: Release Win32 ------
13>Project not selected to build for this solution configuration
14>------ Skipped Deploy: Project: lib_OsiClpSolver (OpenMVG\3rdParty\lib_OsiClpSolver\lib_OsiClpSolver), Configuration: Release Win32 ------
14>Project not selected to build for this solution configuration
15>------ Skipped Deploy: Project: tiff, Configuration: Release Win32 ------
15>Project not selected to build for this solution configuration
16>------ Skipped Deploy: Project: png, Configuration: Release Win32 ------
16>Project not selected to build for this solution configuration
17>------ Skipped Deploy: Project: openMVG_system, Configuration: Release Win32 ------
17>Project not selected to build for this solution configuration
18>------ Skipped Deploy: Project: openMVG_multiview, Configuration: Release Win32 ------
18>Project not selected to build for this solution configuration
19>------ Skipped Deploy: Project: jpeg, Configuration: Release Win32 ------
19>Project not selected to build for this solution configuration
20>------ Skipped Deploy: Project: openMVG_matching, Configuration: Release Win32 ------
20>Project not selected to build for this solution configuration
21>------ Skipped Deploy: Project: openMVG_image, Configuration: Release Win32 ------
21>Project not selected to build for this solution configuration
22>------ Skipped Deploy: Project: vlsift, Configuration: Release Win32 ------
22>Project not selected to build for this solution configuration
23>------ Skipped Deploy: Project: openMVG_kvld, Configuration: Release Win32 ------
23>Project not selected to build for this solution configuration
24>------ Skipped Deploy: Project: openMVG_matching_image_collection, Configuration: Release Win32 ------
24>Project not selected to build for this solution configuration
25>------ Skipped Deploy: Project: easyexif, Configuration: Release Win32 ------
25>Project not selected to build for this solution configuration
26>------ Skipped Deploy: Project: openMVG_sample_pano_converter, Configuration: Release Win32 ------
26>Project not selected to build for this solution configuration
27>------ Skipped Deploy: Project: openMVG_sample_robustHomography_guided, Configuration: Release Win32 ------
27>Project not selected to build for this solution configuration
28>------ Skipped Deploy: Project: openMVG_sample_robust_estimation_Homography, Configuration: Release Win32 ------
28>Project not selected to build for this solution configuration
29>------ Skipped Deploy: Project: openMVG_sample_multiview_robustHomography, Configuration: Release Win32 ------
29>Project not selected to build for this solution configuration
30>------ Skipped Deploy: Project: main_svgSample, Configuration: Release Win32 ------
30>Project not selected to build for this solution configuration
31>------ Skipped Deploy: Project: openMVG_sample_features_affine, Configuration: Release Win32 ------
31>Project not selected to build for this solution configuration
32>------ Skipped Deploy: Project: openMVG_main_exif_Parsing, Configuration: Release Win32 ------
32>Project not selected to build for this solution configuration
33>------ Skipped Deploy: Project: openMVG_multiview_test_data, Configuration: Release Win32 ------
33>Project not selected to build for this solution configuration
34>------ Skipped Deploy: Project: openMVG_sample_cameras_undistoBrown, Configuration: Release Win32 ------
34>Project not selected to build for this solution configuration
35>------ Skipped Deploy: Project: openMVG_sample_features_kvld, Configuration: Release Win32 ------
35>Project not selected to build for this solution configuration
36>------ Skipped Deploy: Project: openMVG_sample_features_siftPutative, Configuration: Release Win32 ------
36>Project not selected to build for this solution configuration
37>------ Skipped Deploy: Project: openMVG_sample_geodesy_show_exif_gps_position, Configuration: Release Win32 ------
37>Project not selected to build for this solution configuration
38>------ Skipped Deploy: Project: openMVG_sample_image_matching, Configuration: Release Win32 ------
38>Project not selected to build for this solution configuration
39>------ Skipped Deploy: Project: openMVG_sample_main_features_repeatability_dataset, Configuration: Release Win32 ------
39>Project not selected to build for this solution configuration
40>------ Skipped Deploy: Project: openMVG_sample_multiview_robustFundamental, Configuration: Release Win32 ------
40>Project not selected to build for this solution configuration
41>------ Skipped Deploy: Project: openMVG_sample_multiview_robustFundamental_guided, Configuration: Release Win32 ------
41>Project not selected to build for this solution configuration
42>------ Skipped Deploy: Project: openMVG_lInftyComputerVision, Configuration: Release Win32 ------
42>Project not selected to build for this solution configuration
43>------ Skipped Deploy: Project: openMVG_sfm, Configuration: Release Win32 ------
43>Project not selected to build for this solution configuration
44>------ Skipped Deploy: Project: openMVG_main_ListMatchingPairs, Configuration: Release Win32 ------
44>Project not selected to build for this solution configuration
45>------ Skipped Deploy: Project: openMVG_main_ColHarmonize, Configuration: Release Win32 ------
45>Project not selected to build for this solution configuration
46>------ Skipped Deploy: Project: openMVG_main_ComputeFeatures, Configuration: Release Win32 ------
46>Project not selected to build for this solution configuration
47>------ Skipped Deploy: Project: openMVG_main_ComputeMatches, Configuration: Release Win32 ------
47>Project not selected to build for this solution configuration
48>------ Skipped Deploy: Project: openMVG_main_ComputeSfM_DataColor, Configuration: Release Win32 ------
48>Project not selected to build for this solution configuration
49>------ Skipped Deploy: Project: openMVG_main_ComputeStructureFromKnownPoses, Configuration: Release Win32 ------
49>Project not selected to build for this solution configuration
50>------ Skipped Deploy: Project: openMVG_main_ConvertList, Configuration: Release Win32 ------
50>Project not selected to build for this solution configuration
51>------ Skipped Deploy: Project: openMVG_main_ConvertSfM_DataFormat, Configuration: Release Win32 ------
51>Project not selected to build for this solution configuration
52>------ Skipped Deploy: Project: openMVG_main_ExportCameraFrustums, Configuration: Release Win32 ------
52>Project not selected to build for this solution configuration
53>------ Skipped Deploy: Project: openMVG_main_ExportUndistortedImages, Configuration: Release Win32 ------
53>Project not selected to build for this solution configuration
54>------ Skipped Deploy: Project: openMVG_main_FrustumFiltering, Configuration: Release Win32 ------
54>Project not selected to build for this solution configuration
55>------ Skipped Deploy: Project: openMVG_main_GlobalSfM, Configuration: Release Win32 ------
55>Project not selected to build for this solution configuration
56>------ Skipped Deploy: Project: openMVG_main_IncrementalSfM, Configuration: Release Win32 ------
56>Project not selected to build for this solution configuration
57>------ Skipped Deploy: Project: openMVG_main_SfMInit_ImageListing, Configuration: Release Win32 ------
57>Project not selected to build for this solution configuration
58>------ Skipped Deploy: Project: openMVG_main_SfM_Localization, Configuration: Release Win32 ------
58>Project not selected to build for this solution configuration
59>------ Skipped Deploy: Project: openMVG_main_evalQuality, Configuration: Release Win32 ------
59>Project not selected to build for this solution configuration
60>------ Skipped Deploy: Project: openMVG_main_exportKeypoints, Configuration: Release Win32 ------
60>Project not selected to build for this solution configuration
61>------ Skipped Deploy: Project: openMVG_main_exportMatches, Configuration: Release Win32 ------
61>Project not selected to build for this solution configuration
62>------ Skipped Deploy: Project: openMVG_main_exportTracks, Configuration: Release Win32 ------
62>Project not selected to build for this solution configuration
63>------ Skipped Deploy: Project: openMVG_main_geodesy_registration_to_gps_position, Configuration: Release Win32 ------
63>Project not selected to build for this solution configuration
64>------ Skipped Deploy: Project: openMVG_main_openMVG2CMPMVS, Configuration: Release Win32 ------
64>Project not selected to build for this solution configuration
65>------ Skipped Deploy: Project: openMVG_main_openMVG2MESHLAB, Configuration: Release Win32 ------
65>Project not selected to build for this solution configuration
66>------ Skipped Deploy: Project: openMVG_main_openMVG2MVE2, Configuration: Release Win32 ------
66>Project not selected to build for this solution configuration
67>------ Skipped Deploy: Project: openMVG_main_openMVG2MVSTEXTURING, Configuration: Release Win32 ------
67>Project not selected to build for this solution configuration
68>------ Skipped Deploy: Project: openMVG_main_openMVG2NVM, Configuration: Release Win32 ------
68>Project not selected to build for this solution configuration
69>------ Skipped Deploy: Project: openMVG_main_openMVG2PMVS, Configuration: Release Win32 ------
69>Project not selected to build for this solution configuration
70>------ Skipped Deploy: Project: openMVG_main_openMVG2openMVS, Configuration: Release Win32 ------
70>Project not selected to build for this solution configuration
71>------ Skipped Deploy: Project: openMVG_sample_multiview_robustEssential, Configuration: Release Win32 ------
71>Project not selected to build for this solution configuration
72>------ Skipped Deploy: Project: openMVG_sample_multiview_robustEssential_ba, Configuration: Release Win32 ------
72>Project not selected to build for this solution configuration
73>------ Skipped Deploy: Project: openMVG_sample_multiview_robustEssential_spherical, Configuration: Release Win32 ------
73>Project not selected to build for this solution configuration
74>------ Skipped Deploy: Project: ALL_BUILD, Configuration: Release Win32 ------
74>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 73 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 73 skipped ==========
and there is no deploy option enabled in the configuration manager for ALL_BUILD and INSTALL.

Related

Visual Studio 2015 Community C++ Build Failure: A task was cancelled

I'm trying to build a brand new c++ console project in Visual Studio 2015 Community and getting the following output:
1>------ Build started: Project: ConsoleApplication3, Configuration: Debug Win32 ------
1>A task was canceled.
1>A task was canceled.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
From this question it looks like the same problem. but the time has been recently synced:
And restarting Visual Studio doesn't change the build output. I've tried uninstalling Visual Studio and then reinstalling it, but the outcome is the same.
Delete Debug/Release folders and restart MSVC.

Can't debug an application on Win CE 6.0 with VS2005

I'm trying to get debugging working for a Windows CE 6.0 application but I cannot even start the debugging process. I can run a "Hello World" application OK but when I try to run my app which is linked against another DLL I don't get any error but debuggin does not start. The DLL is present in the same folder as the executable.
This are the logs from VS2005.
1>------ Deploy started: Project: protobuf_lite, Configuration: Release SDK3 (ARMV4I) ------
2>------ Deploy started: Project: libus_cqlink_msg, Configuration: Release SDK3 (ARMV4I) ------
3>------ Deploy started: Project: libus_cqlink_nw, Configuration: Release SDK3 (ARMV4I) ------
4>------ Deploy started: Project: libus_cqlink_cli, Configuration: Release SDK3 (ARMV4I) ------
5>------ Deploy started: Project: CtrlClientWinCE, Configuration: Release SDK3 (ARMV4I) ------
========== Deploy: 5 succeeded, 0 failed, 0 skipped ==========
I also checked dependencies on Executable on Win CE device using peinfo.exe.
This is the log from peinfo.e
Necessary library file(s):
libus_cqlink_cli.dll Is loadable
COREDLL.dll Is loadable
commctrl.dll Is loadable
ole32.dll Is loadable
OLEAUT32.dll Is loadable
Imports Table:
libus_cqlink_cli.dll
OrigFirstThunk: 0016D3AC (Unbound IAT)
ForwarderChain: 00000000
First thunk RVA: 0016E710
Ordn Name
11 ?instance#USPlatformMgr#cs##SAPAV12#XZ (Bound to: 0016D3E4)
COREDLL.dll
I can not figure out what's wrong I am doing.
Please suggest.
Windows CE devices are very often configured with minimal free space for Storage Memory. While using debugger VS must copy some files to Storage Memory (ie. \Windows folder), and if there is not enough space it fails. The solution is to increasing memory level for Storage Memory, its in control panel -> System Properties -> Memory on your device.

Separated console output from devenv (project by project) for Jenkins

I have Jenkins up and running with one job, building one big VS solution using devenv.
Console log output looks like the normal VS output (changed example):
Microsoft (R) Visual Studio Version 9.0.101010.2.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: MyProject, Configuration: Release Win32 ------
2>------ Build started: Project: MyProject2, Configuration: Release Win32 ------
1>Compiling...
3>------ Build started: Project: MyProject3, Configuration: Release Win32 ------
3>Compiling...
3>Compiling...
1>Main.cpp...
2>Project.cpp...
Is there any possibility to have separated log (project by project) in Jenkins. Or maybe some plugin to track each project build log. Because when build fails it's hard to follow log tree to find all project occurrences.
There is Collapsing Console Sections plugin. It allows to define start/end points of "sections", once the log has those, they are marked on the console log and can be collapsed for easier reading

Migrating a project to a different computer: "Error: The device is not ready."

I'm using Visual C++ 2010 Express, and I just copied over a full project folder to a new computer (both are on Windows 8, if that's relevant). I opened the solution file exactly as I did on the other computer, and tried to build.
I'm getting the following error:
1>------ Build started: Project: <project_name>, Configuration: Debug Win32 ------
1>Error: The device is not ready.
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
With no other context.
What's the deal?

Error Running Windows Filtering Platform Sample

I am trying to test WFP(Windows Filtering Platform) sample provided by microsoft. While testing I got error.
While building it builds well: With following message:
Build started: Project: package (Package\package), Configuration: Win8 Debug Win32 ------
Inf2Cat task was skipped as there were no inf files to process
========== Build: 1 succeeded, 0 failed, 5 up-to-date, 0 skipped ==========
And While running the exe file I got an error. as:
"Cannot Verify Digital signature of the file.......".
how to resolve this.
Code From: msdn
I am using Windows 8 Release Preview machine with Visual studio 2012.