acusolve acumakedll error
I'm try to perform the ACU 5301 tutorial as a prep to the SEA CFD analysis,
but can't solve that issue
I all ready download the Visual Studio 2019,
Hopping for your help,
Shahar
"
E:\Altair\Learning\ACU5301_ShipDynamics>acuMakeDll -src wave.c
acuMakeDll: *** ERROR: Unable to find 64-bit C/C++ compiler.
acuMakeDll:
acuMakeDll: If your system has 64-bit Intel or Microsoft Visual C++ compiler,
acuMakeDll: use -cbat option to specify the full path of .bat file.
acuMakeDll:
acuMakeDll: If there is no 64-bit C/C++ compiler available on your system,
acuMakeDll: you may download and install a free Microsoft Visual Studio
acuMakeDll: Community Edition from:
acuMakeDll: https://visualstudio.microsoft.com/vs/community/
acuMakeDll:
acuMakeDll: If your system has other compilers, start off from its
acuMakeDll: Command Prompt and execute:
acuMakeDll: C:\Program Files\Altair\2019\hwcfdsolvers\acusolve\win64\bin\acusim.bat
acuMakeDll: to import AcuSolve environment, then rerun acuMakeDll.
"
Answers
-
Hi,
In the latest version of acuSolve 20.1, Acumakedll now supports Visual Studio 2017.
You should try with that version of visual studio.
0 -
Hi, thank you your replay,
I'm using acuSolve 2019, I installed VS2017, but with no success,
I get the same error,
Do I have to use that UDF approach, or there is another way to create the sea wave?
FYI - my pc OS is win10 64bit -
Hopping for your help,
Shahar
0 -
Shahar said:
Hi, thank you your replay,
I'm using acuSolve 2019, I installed VS2017, but with no success,
I get the same error,
Do I have to use that UDF approach, or there is another way to create the sea wave?
FYI - my pc OS is win10 64bit -
Hopping for your help,
Shahar
One of the options to acuMakeDll (see the result of acuMakeDll -h) is:
acuMakeDll: -cbat <str> full .bat path + argument to setup C environment
acuMakeDll: c_setup_path_arg= _auto [default]On my Windows machine, this ends up being:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.batDo you have that location in your VS2017 installation? If so, try using the -cbat flag to point to that location.
acuMakeDll -src wave.c -cbat C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat
Note, you may need to type that out, as quotes may need to be added to support the spaces in the directory names...
0