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

How you can manage to compile your UDF with Windows 7 64bit

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By sega

Reply
 
LinkBack Thread Tools Display Modes
Old   March 25, 2010, 05:36
Default How you can manage to compile your UDF with Windows 7 64bit
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 13
sega is on a distinguished road
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
ghost82 likes this.
__________________
Schr÷dingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   March 22, 2017, 11:36
Default
  #2
New Member
 
T.
Join Date: Jun 2016
Posts: 9
Rep Power: 3
deada is on a distinguished road
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!
deada is offline   Reply With Quote

Old   March 23, 2017, 06:32
Default
  #3
New Member
 
Grecu Ionut Stelian
Join Date: Sep 2016
Posts: 15
Rep Power: 2
Ionut G is on a distinguished road
Hi deada,

Try these steps maybe it help.
Attached Files
File Type: txt FLUENT Compiler command.txt (2.3 KB, 12 views)
Ionut G is offline   Reply With Quote

Old   March 23, 2017, 10:18
Default
  #4
New Member
 
T.
Join Date: Jun 2016
Posts: 9
Rep Power: 3
deada is on a distinguished road
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
deada is offline   Reply With Quote

Reply

Tags
64 bit, udf, windows 7, x64

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 38 June 2, 2017 04:23
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 13:24
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 10:48
Fluent doesn┬┤t compile UDF on Windows HSeldon FLUENT 4 February 15, 2007 00:01


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