Unable to copy d_hydro.exe when compiling with OneAPI (error code: MSB3073) - Forum - Delft3D
Forum
- Home
- 2. Questions and troubleshooting
- 2.1 Questions about the software
- 2.1.1 Compiling the code
- Unable to copy d_hydro.exe when compiling with OneAPI (error code: MSB3073)
Unable to copy d_hydro.exe when compiling with OneAPI (error code: MSB3073)
KIM YOUNG WOO, modified 2 Years ago.
Unable to copy d_hydro.exe when compiling with OneAPI (error code: MSB3073)
Youngling Post: 1 Join Date: 11/9/21 Recent Posts
I am compiling delft3d(tags/delft3d4/69179) with VS 2019, Net 4.7, Ifort compiler23 (OneAPI 2023.0.0).
(I added environment variables IFORT_COMPILER21 and IFORT_COMPILER23 as both "C:\Program Files (x86)\Intel\oneAPI\compiler\2023.0.0\windows\". please check cc1.png)
After creating delft3d_open.sln using prepare_sln.py, I tried compiling with visual studio 2019.
when d_hyro part compiling, Code MSB3073 error occurred.
The content of the error is "while copying "engines_gpl\d_hydro\bin\x64\Release\d_hydro.exe" to "bin\x64\dflow2d3d\bin" ".
more detail (please check cc2.png):
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Severity Code Description Project Project Rank File Line Suppression State
Error MSB3073 The command "..\..\..\..\scripts_lgpl\win64\oss-install_x64.cmd d_hydro bin "C:\Program Files (x86)\Intel\oneAPI\compiler\2023.0.0\windows\redist\intel64_win\compiler\"
CEnd" exited with code 4. d_hydro (engines_gpl\d_hydro\d_hydro) 12 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets 155
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I would be grateful if you could tell me how to solve this error.
Thank you
(I added environment variables IFORT_COMPILER21 and IFORT_COMPILER23 as both "C:\Program Files (x86)\Intel\oneAPI\compiler\2023.0.0\windows\". please check cc1.png)
After creating delft3d_open.sln using prepare_sln.py, I tried compiling with visual studio 2019.
when d_hyro part compiling, Code MSB3073 error occurred.
The content of the error is "while copying "engines_gpl\d_hydro\bin\x64\Release\d_hydro.exe" to "bin\x64\dflow2d3d\bin" ".
more detail (please check cc2.png):
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Severity Code Description Project Project Rank File Line Suppression State
Error MSB3073 The command "..\..\..\..\scripts_lgpl\win64\oss-install_x64.cmd d_hydro bin "C:\Program Files (x86)\Intel\oneAPI\compiler\2023.0.0\windows\redist\intel64_win\compiler\"

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I would be grateful if you could tell me how to solve this error.
Thank you
Attachments: