Forum

ERROR while copying when compiling

Björn Almstrom, modified 2 Years ago.

ERROR while copying when compiling

Youngling Post: 1 Join Date: 5/28/18 Recent Posts
Hi
I'm trying to compile tag 142586 on an environment with win10, visual studio 2019, Intel OneApi 2023, and .NET 4.8. I followed the instructions in the README-file and used the "built.bat" file to start the compilation. I managed to compile all builds except one (see build_all.log). 

It seems as the error occur when the compiler tries to copy files. The error seems to be related to that the pathways is not correct. In the pathways there is a "\" missing (e.g. Line 7777 in build_all.log): 
ERROR: while copying ":\oneAPI\\mpi\latestenv\*.bat" to "C:\Delft3d\142586\build_all\x64\Release\dflowfm\bin
the pathway should be (bold letters indicates difference): 
C:\oneAPI\\mpi\latest\env\*.bat" to "C:\Delft3d\142586\build_all\x64\Release\dflowfm\bin

Also, it seems as if the pathways to OneAPI are not correct in the compilation (Line 7494-7502):

oss-post_build...
install_dir         : C:\Delft3d\142586\build_all
build_dir           : C:\Delft3d\142586\build_all
checkout_src_root   : C:\Delft3d\142586\src\cmake\..
configuration       : Release
project             : dfm_volume_tool
compiler_redist_dir : :\oneAPI\\compiler\latest\windows\redist\intel64_win\compiler
mkl_redist_dir      : :\oneAPI\\mkl\latest\redist\intel64
mpi_redist_dir      : :\oneAPI\\mpi\latest

oss_mpi             : IntelMPI

Any help with my compilation is outermost appreciated. =)

Thanks!
​​​​​​​/Björn