The errors are something like this:
4>LINK : fatal error LNK1181: cannot open input file 'KratosPfemBaseApplication.lib'
2> Creating library C:/KratosInstall/cmake_build/applications/ExternalSolversApplication/Release/KratosExternalSolversApplication.lib and object C:/KratosInstall/cmake_build/applications/ExternalSolversApplication/Release/KratosExternalSolversApplication.exp
2>superlu.lib(dlacon.obj) : error LNK2001: unresolved external symbol dcopy_
2>add_linear_solvers_to_python.obj : error LNK2001: unresolved external symbol dcopy_
2>superlu.lib(dfgmr.obj) : error LNK2001: unresolved external symbol dcopy_
2>superlu.lib(ilu_dcopy_to_ucol.obj) : error LNK2001: unresolved external symbol dcopy_
2>superlu.lib(ilu_ddrop_row.obj) : error LNK2001: unresolved external symbol dcopy_
2>add_linear_solvers_to_python.obj : error LNK2019: unresolved external symbol dnrm2_ referenced in function "public: virtual bool __cdecl Kratos::SuperLUIterativeSolver<class Kratos::UblasSpace<double,class boost::numeric::ublas::compressed_matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned __int64,__int64>,0,class boost::numeric::ublas::unbounded_array<unsigned __int64,class std::allocator<unsigned __int64> >,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > >,class Kratos::UblasSpace<double,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned __int64,__int64>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > >,class Kratos::Reorderer<class Kratos::UblasSpace<double,class boost::numeric::ublas::compressed_matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned __int64,__int64>,0,class boost::numeric::ublas::unbounded_array<unsigned __int64,class std::allocator<unsigned __int64> >,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > >,class Kratos::UblasSpace<double,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned __int64,__int64>,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > >,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > > > >::Solve(class boost::numeric::ublas::compressed_matrix<double,struct boost::numeric::ublas::basic_row_major<unsigned __int64,__int64>,0,class boost::numeric::ublas::unbounded_array<unsigned __int64,class std::allocator<unsigned __int64> >,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > &,class boost::numeric::ublas::vector<double,class boost::numeric::ublas::unbounded_array<double,class std::allocator<double> > > &)" (?Solve@?$SuperLUIterativeSolver@V?$UblasSpace@NV?$compressed_matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@$0A@V?$unbounded_array@_KV?$allocator@_K@std@@@234@V?$unbounded_array@NV?$allocator@N@std@@@234@@ublas@numeric@boost@@V?$vector@NV?$unbounded_array@NV?$allocator@N@std@@@ublas@numeric@boost@@@234@@Kratos@@V?$UblasSpace@NV?$matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@V?$unbounded_array@NV?$allocator@N@std@@@234@@ublas@numeric@boost@@V?$vector@NV?$unbounded_array@NV?$allocator@N@std@@@ublas@numeric@boost@@@234@@2@V?$Reorderer@V?$UblasSpace@NV?$compressed_matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@$0A@V?$unbounded_array@_KV?$allocator@_K@std@@@234@V?$unbounded_array@NV?$allocator@N@std@@@234@@ublas@numeric@boost@@V?$vector@NV?$unbounded_array@NV?$allocator@N@std@@@ublas@numeric@boost@@@234@@Kratos@@V?$UblasSpace@NV?$matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@V?$unbounded_array@NV?$allocator@N@std@@@234@@ublas@numeric@boost@@V?$vector@NV?$unbounded_array@NV?$allocator@N@std@@@ublas@numeric@boost@@@234@@2@@2@@Kratos@@UEAA_NAEAV?$compressed_matrix@NU?$basic_row_major@_K_J@ublas@numeric@boost@@$0A@V?$unbounded_array@_KV?$allocator@_K@std@@@234@V?$unbounded_array@NV?$allocator@N@std@@@234@@ublas@numeric@boost@@AEAV?$vector@NV?$unbounded_array@NV?$allocator@N@std@@@ublas@numeric@boost@@@456@1@Z)
2>superlu.lib(dfgmr.obj) : error LNK2001: unresolved external symbol dnrm2_
2>superlu.lib(ilu_ddrop_row.obj) : error LNK2001: unresolved external symbol dnrm2_
2>superlu.lib(sp_ienv.obj) : error LNK2019: unresolved external symbol xerbla_ referenced in function sp_ienv
2>superlu.lib(dgsequ.obj) : error LNK2001: unresolved external symbol xerbla_
2>superlu.lib(dgscon.obj) : error LNK2001: unresolved external symbol xerbla_
2>superlu.lib(dgssv.obj) : error LNK2001: unresolved external symbol xerbla_
2>superlu.lib(dgsisx.obj) : error LNK2001: unresolved external symbol xerbla_
2>superlu.lib(dgstrs.obj) : error LNK2001: unresolved external symbol xerbla_
2>superlu.lib(dsp_blas2.obj) : error LNK2001: unresolved external symbol xerbla_
2>superlu.lib(dgstrs.obj) : error LNK2019: unresolved external symbol dtrsm_ referenced in function dgstrs
2>superlu.lib(dgstrs.obj) : error LNK2019: unresolved external symbol dgemm_ referenced in function dgstrs
2>superlu.lib(dsp_blas2.obj) : error LNK2019: unresolved external symbol dtrsv_ referenced in function sp_dtrsv
2>superlu.lib(dsnode_bmod.obj) : error LNK2001: unresolved external symbol dtrsv_
2>superlu.lib(dpanel_bmod.obj) : error LNK2001: unresolved external symbol dtrsv_
2>superlu.lib(dcolumn_bmod.obj) : error LNK2001: unresolved external symbol dtrsv_
2>superlu.lib(dsp_blas2.obj) : error LNK2019: unresolved external symbol dgemv_ referenced in function sp_dtrsv
2>superlu.lib(dsnode_bmod.obj) : error LNK2001: unresolved external symbol dgemv_
2>superlu.lib(dpanel_bmod.obj) : error LNK2001: unresolved external symbol dgemv_
2>superlu.lib(dcolumn_bmod.obj) : error LNK2001: unresolved external symbol dgemv_
2>superlu.lib(dfgmr.obj) : error LNK2019: unresolved external symbol ddot_ referenced in function dfgmr
2>superlu.lib(dfgmr.obj) : error LNK2019: unresolved external symbol daxpy_ referenced in function dfgmr
2>superlu.lib(ilu_ddrop_row.obj) : error LNK2001: unresolved external symbol daxpy_
2>superlu.lib(ilu_ddrop_row.obj) : error LNK2019: unresolved external symbol dswap_ referenced in function ilu_ddrop_row
2>superlu.lib(ilu_ddrop_row.obj) : error LNK2019: unresolved external symbol dasum_ referenced in function ilu_ddrop_row
2>superlu.lib(dlacon.obj) : error LNK2001: unresolved external symbol dasum_
2>superlu.lib(ilu_ddrop_row.obj) : error LNK2019: unresolved external symbol idamax_ referenced in function ilu_ddrop_row
2>superlu.lib(dlacon.obj) : error LNK2001: unresolved external symbol idamax_
2>C:\Program Files\KratosLibs\Blas_Lapack\libblas.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
2>C:\KratosInstall\cmake_build\applications\ExternalSolversApplication\Release\KratosExternalSolversApplication.pyd : fatal error LNK1120: 12 unresolved externals
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 1.
I was also getting some "inconsistent .dll links". But I fixed that somehow.
If the "runkratos.exe" is not generated, how do I use with GiD? Do I create a .bat to link GiD files with the python scripts?
Regards,
Juliano.