CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   error C2064? how to solve (https://www.cfd-online.com/Forums/fluent/49553-error-c2064-how-solve.html)

tcb October 19, 2008 08:18

error C2064? how to solve
 
I was compiling on the calculations involving velocity gradient vectors while the following errors occurred...can anyone tell me how to resolve the error?

(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile")

1 file(s) copied. (chdir "libudf")() (chdir "ntx86\2d")() calc_eq.c c:\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(161) : see previous definition of 'stdout' c:\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(162) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition

C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdin' ..\..\src\calc_eq.c(38) : error C2064: term does not evaluate to a function taking 302 arguments ..\..\src\calc_eq.c(38) : error C2064: term does not evaluate to a function taking 302 arguments

rarnaunot March 24, 2017 03:52

I have the same problem....

error C2064: term does not evaluate to a function taking -1000 arguments

How did you solve it??

Thanks!!

rarnaunot March 27, 2017 04:33

I have solve the problem.
In my case, the compiler detected some characters as a function that couldn't be solved.
I had made a silly mistake writing the code (a mathematical sign was missing) so, once it was solve, it compiled perfectly.


All times are GMT -4. The time now is 08:26.