PlusToolkit / PlusLib

Software library for data acquisition, pre-processing, and calibration for navigated image-guided interventions.
http://www.plustoolkit.org
Other
130 stars 102 forks source link

Building Plus-app for Blackmagic Grabber with Decklink API #1149

Open MAbdolghaffar opened 6 months ago

MAbdolghaffar commented 6 months ago

Hi there I attempted to follow the provided instructions for building a new Plus-app that is compatible with the NDI Polaris camera and Blackmagic Video Grabber. However, during the solution building process, an MSB8066 error occurred. This error indicates an issue in the custom build of several projects, including VTK, PlusApp, OpenIGTLink, IGSIO, and others.

Upon inspection of the CMake rules for each project, I find out that all of them were empty.

I encountered this issue while attempting to build the solution on Windows 10, using Visual Studio 17, and I experimented with various versions of QT in an effort to resolve it.

e.g. for vtk project: MSB8066 Custom build for 'C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-mkdir.rule;
C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-download.rule;
C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-update.rule; C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-patch.rule; C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-configure.rule; C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-build.rule; C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\07df348d00baf49a7c0d83341ac84902\vtk-install.rule; C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\2205b5ad04b716c53795d3d0f512503e\vtk-complete.rule; C:\PLUS_Build\Cmake_Bin\Plus\CMakeFiles\4c6a2bd4deb1885aa8bb4defbe495d9a\vtk.rule; C:\PLUS_Build\PlusBuild-master\CMakeLists.txt' exited with code 1.

CMake Configuration

MAbdolghaffar commented 6 months ago

p.s. Attached is the output log for the PlusApp build process. @Sunderlandkyl @adamrankin Output Log for PlusLib.txt

adamrankin commented 6 months ago

All those projects mean one of the subprojects in the superbuild failed. Try building each one individually to determine which one failed, and open that solution specifically to get a more useful error message.