CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   How you can manage to compile your UDF with Windows 7 64bit (

sega March 25, 2010 05:36

How you can manage to compile your UDF with Windows 7 64bit
Since I had a lot of trouble making my UDF work with Windows 7 64bit I added an entry to the FLUENT FAQ's.

deada March 22, 2017 11:36

Hi sega,
thanks for sharing your knowledge in the wiki. I found your post here because when I tried to compile an udf with fluent opened from a visual studio command window I got errors saying that my source is x64 and target is x86.
I followed the suggestions in the wiki. But when I try to compile an udf in fluent startet with the suggested SDK command prompt I know get the feedback:

Creating user_nt.udf file for 3ddp ...
(system "copy "C:\PROGRA~1\ANSYSI~1\v162\fluent"\fluent16.2.0\src\udf\makefile_nt.udf "libudf\win64\3ddp\makefile" ")
        1 Datei(en) kopiert.
(chdir "libudf")(chdir "win64\3ddp")# Generating ud_io1.h
C:\PROGRA~1\ANSYSI~1\v162\fluent\fluent16.2.0\tgrid\src\hash.h(16) : fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory


Have you or anyone else experience with this and any advice how to solve this problem? That would be great!

Ionut G March 23, 2017 06:32

1 Attachment(s)
Hi deada,

Try these steps maybe it help.

deada March 23, 2017 10:18

Thanks, I already found the problem. I installed the more recent Windows SDK and added C:\Program Files\Microsoft SDKs\Windows\v7.0\Include to the enviroment variables as a search path analogous to what is recommended in the wiki

All times are GMT -4. The time now is 11:41.