my problem wuth UDF compiling
Hi every one
I try to compile my UDF in ansys 13, winxp (both 64 and 32 bit), and I installed visual stdio 2010.net
first I got the nmake error and with the help of this forum I solve the error. (I go to the path at the environment variable and paste the path of nmake file to that.)
but know I get these errors when I try to build my udf files:
I think the error is because the C++ program do not be familiar with inclyde files that may udf has (such as udf.h and any thing that I put in the ".." after include.
can anybody help me?
I try to open fluent from commond prompt but I donot know how.
Have you found a solution to this problem?
I have exactly similar problem. Can you recall how did you solve?
I just check what I wrote again. there are some characters that are wrong because I copy some of my codes from some where else.
go to MS word copy your code there then use the show paragraph symbols (crt+*) then you can see the symbols of enter, space and other symbols. if there are other than space or enter delete them.
and you can just check your code there must be a syntax error.
Thank you very much for your reply. It's so nice of you. You were absoultely right there was some syntax error. The problem is solved however, a new error is created as follows:
udf_name.c(&) : error C2059: syntax error : '}'
udf_names.c (8): warning C4034: sizeof returns 0
there may be some extra "space" or "enter" or some other syntax error. If I send you the udf copied file on your email, could you find what error was giving "build" problem? and could you tell me why the errors are created by extra spaces and enters?
|All times are GMT -4. The time now is 23:29.|