CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Fluent UDF compiling error C1083 (https://www.cfd-online.com/Forums/fluent-udf/160532-fluent-udf-compiling-error-c1083.html)

leizhao512 October 9, 2015 14:20

Fluent UDF compiling error C1083
 
Hi, everyone, I was writing UDF on fluent. I then tried to compile the UDF, however, I received the same error on two of my computers, that is "nmake is not recognized as an internal or external command". Then I followed the instruction from "http://www.cfd-online.com/Wiki/Fluent_FAQ#How_can_I_manage_to_compile_my_UDF_with _Windows_7_64bit.3F". The old computer finally worked. But I got another error message on the new computer"fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory".

Both computers are using microsoft visual studio 2015 and the old computer has fluent 14.5 and fluent 15.0 on it. The new computer has fluent 16.0 on it. Is this a compatibility problem? Can anybody help me with this?
I also tried to add "include""Lib""Libpath"to my environment variables, but it doesnt work either.

Thank you.

4asino October 13, 2015 12:01

Refer to that , it will be helpful
http://http://www.cfd-online.com/For...pile-udfs.html

leizhao512 October 13, 2015 12:11

Quote:

Originally Posted by 4asino (Post 568012)

Thank you very much. It is really really helpful.
I am also trying another approach.
In one of my computers, I am using fluent 15.0 and MSVS 2015, and I defined the environment variables. It works if start fluent from SDK prompt.
In the other computer, I am using fluent 16.0 and MSVS 2015. Starting fluent SDK prompt doesn't work at all. So I then tried to start fluent on "MSVS 2015 x86 x64 cross tool command". Then the UDF can be successfully compiled. But I need to make sure if it is really working.

4asino October 14, 2015 02:15

Do you mean that you want a udf file to check it ?


All times are GMT -4. The time now is 14:30.