|
[Sponsors] |
December 26, 2016, 22:38 |
UDF compiling problem
|
#1 |
New Member
manar
Join Date: Oct 2016
Posts: 17
Rep Power: 10 |
Hello guys
I am trying to compile 2 UDF files for a case that is built in another computer (64-bit) ; when I try to compile in my computer ( win 7 - 64 bit - ansys student 17.1 - visual studio 2010) the UDFs I get these errors : udf_names.c and user_nt.udf files in 2ddp are upto date. (system "copy "C:\PROGRA~1\ANSYSI~1\v171\fluent"\fluent17.1.0\sr c\udf\makefile_nt.udf "libudf\win64\2ddp\makefile" ") 1 file(s) copied. (chdir "libudf")(chdir "win64\2ddp")# Linking libudf.dll because of user_nt.udf udf_names.obj air-RGM.obj air.obj Microsoft (R) Incremental Linker Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. LINK : fatal error LNK1104: Done. when I check the log in 2ddp I found this : jMicrosoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : U1077: ?C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\link.EXE"? Stop. I tried to define the executable file (LINK.exe)in the system variables but the errors remain standstill , is it the version of the visual studio ? , What could be the cause and how to fix it ? any thoughts ! |
|
December 27, 2016, 07:28 |
|
#2 |
New Member
manar
Join Date: Oct 2016
Posts: 17
Rep Power: 10 |
I re-installed VS but this time I installed VS 2015 (community) , I got this error when I load the UDF files :
'cl' is not recognized as an internal or external command , operable program or batch file . NMAKE : U1077 : 'cl' return code '0x1' Please any help with this one ? |
|
January 3, 2017, 05:26 |
|
#3 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Is this the first time that you try to compile UDFs on your computer, or do other UDFs work?
|
|
January 12, 2017, 02:47 |
|
#4 |
New Member
manar
Join Date: Oct 2016
Posts: 17
Rep Power: 10 |
Acually it is a fluent and visual studio compatibility problem .
|
|
January 12, 2017, 08:56 |
|
#5 |
Member
Howard
Join Date: Jun 2012
Posts: 43
Rep Power: 14 |
||
Tags |
fluent - udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with UDF for CG Circular Motion | luthlau | Fluent UDF and Scheme Programming | 1 | September 16, 2016 03:08 |
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. | Ari | Fluent UDF and Scheme Programming | 4 | May 31, 2016 09:51 |
Problem with compiling UDF in Fluent | amojodi | Fluent UDF and Scheme Programming | 4 | April 14, 2015 10:01 |
HELP! Problem compiling UDF function | Syrakus | FLUENT | 6 | April 7, 2006 11:48 |
UDF compiling problem for 3D simulation | Marijo | FLUENT | 1 | March 28, 2006 04:21 |