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/)
-   -   How you can manage to compile your UDF with Windows 7 64bit (https://www.cfd-online.com/Forums/fluent-udf/74127-how-you-can-manage-compile-your-udf-windows-7-64bit.html)

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.

http://www.cfd-online.com/Wiki/Fluen...ows_7_64bit.3F

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:
Code:

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
strain_source.c
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

Done.

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.