Hi I’m trying to build ITK.
I’m using windows.
I have downloaded the source code and configured and generate with cmake.
next I opened ITK.sln with visual studio 2019 and start building ALL_BUILD.
after the build is finished I got 28 errors and 5 warnings.
here’s what I got
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\c_abs.c 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\f77_aloc.c 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\d_cnjg.c 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\c_div.c 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\cabs.c 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\exit_.c 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\itkv3p_netlib.dir\Debug\itkv3p_netlib.pdb itkv3p_netlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\libf2c\c_sqrt.c 1
Error D8040 error creating or communicating with child process itkv3p_netlib C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\v3p\netlib\cl 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_block.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_matlab_print_scalar.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_alloc.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_error.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_math.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_matlab_print_format.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\itkvnl.dir\Debug\itkvnl.pdb itkvnl C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\vnl_na.cxx 1
Error D8040 error creating or communicating with child process itkvnl C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\cl 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_sparse_lu.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_generalized_schur.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_real_eigensystem.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_ldl_cholesky.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_cholesky.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_complex_eigensystem.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\itkvnl_algo.dir\Debug\itkvnl_algo.pdb itkvnl_algo C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\vnl_sparse_symmetric_eigensystem.cxx 1
Error D8040 error creating or communicating with child process itkvnl_algo C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\vnl\algo\cl 1
Warning C4834 discarding return value of function with 'nodiscard' attribute ITKDICOMParser C:\itk\src\Modules\ThirdParty\DICOMParser\src\DICOMParser\DICOMParser.cxx 830
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\testlib\itktestlib.dir\Debug\itktestlib.pdb itktestlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\testlib\testlib_root_dir.cxx 1
Error C1090 PDB API call failed, error code '3': C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\testlib\itktestlib.dir\Debug\itktestlib.pdb itktestlib C:\itk\src\Modules\ThirdParty\VNL\src\vxl\core\testlib\testlib_test.cxx 1
Error D8040 error creating or communicating with child process itktestlib C:\itk\bin\Modules\ThirdParty\VNL\src\vxl\core\testlib\cl 1
Warning C4819 The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss ITKIONRRD C:\itk\bin\Modules\ThirdParty\NrrdIO\src\NrrdIO\NrrdIO.h 1
Warning C4819 The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss ITKOptimizersv4 C:\itk\src\Modules\Numerics\Optimizersv4\include\itkLBFGSOptimizerv4.h 1
Warning C4819 The file contains a character that cannot be represented in the current code page (949). Save the file in Unicode format to prevent data loss ITKOptimizersv4 C:\itk\src\Modules\Numerics\Optimizersv4\include\itkLBFGS2Optimizerv4.h 1
Warning C4834 discarding return value of function with 'nodiscard' attribute ITKIOGE C:\itk\src\Modules\IO\GE\src\itkGE5ImageIO.cxx 300
Error LNK1104 cannot open file '..\..\..\..\lib\Debug\itkvnl_algo-5.0.lib' itkTestDriver C:\itk\bin\Modules\Core\TestKernel\src\LINK 1
I have no idea what these errors mean.
how can I fix it?