CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Fluent UDF compiling error C1083

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2015, 14:20
Default Fluent UDF compiling error C1083
  #1
New Member
 
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 10
leizhao512 is on a distinguished road
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.
leizhao512 is offline   Reply With Quote

Old   October 13, 2015, 12:01
Default
  #2
New Member
 
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11
4asino is on a distinguished road
Refer to that , it will be helpful
http://http://www.cfd-online.com/For...pile-udfs.html
4asino is offline   Reply With Quote

Old   October 13, 2015, 12:11
Default
  #3
New Member
 
Lei Zhao
Join Date: Sep 2015
Posts: 12
Rep Power: 10
leizhao512 is on a distinguished road
Quote:
Originally Posted by 4asino View Post
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.
leizhao512 is offline   Reply With Quote

Old   October 14, 2015, 02:15
Default
  #4
New Member
 
Anwar
Join Date: Nov 2014
Posts: 28
Rep Power: 11
4asino is on a distinguished road
Do you mean that you want a udf file to check it ?
4asino is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
looking for a smart interface matlab fluent chary FLUENT 24 June 18, 2021 09:07
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
Error while compiling udf in fluent 13.0.0 siddharth12 FLUENT 0 December 3, 2013 16:46
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 00:43
compiling my UDF Seyed Farid Hosseinizadeh FLUENT 22 February 14, 2006 10:19


All times are GMT -4. The time now is 16:15.