CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Compiling UDF in windows 8

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

LinkBack Thread Tools Display Modes
Old   April 27, 2014, 06:47
Default Compiling UDF in windows 8
New Member
Christophe Lorant
Join Date: Apr 2014
Posts: 2
Rep Power: 0
christophelorant is on a distinguished road
Hi everyone,

I've recently been forced to switch to a windows 8 (64bit) computer and I'm facing some trouble to compile my udf in Fluent.

Here is what i've done so far to fix the problem (following solutions found in and :

1. Install Fluent 6.3.26 64bit

2. Install Microsoft Visual Studio 2013 Express

3. Add the following to the PATH environment variable:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin

4. Open the VS2013 cross tools x64 command prompt

5. Navigate to the directory where my .cas, .dat and .c files are and start Fluent from there

6. Try to compile the very simple following UDF file test.c:

#include "udf.h"

    return 0.0;

This however, generates the following error:

Deleted old libudf\win64\2ddp\libudf.dll
1 fichier(s) copi‚(s).
(system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\win64\2ddp\makefile")
1 fichier(s) copi‚(s).
(chdir "libudf")()
(chdir "win64\2ddp")()
c:\\fluent6.3.26\src\config.h(119) : error C2143: erreur de syntaxe˙: absence de '{' avant ':'
c:\\fluent6.3.26\src\config.h(119) : error C2059: erreur de syntaxe˙: ':'
If anyone has already faced (and solved) this kind of issue, help would be appreciated!

C. Lorant
christophelorant is offline   Reply With Quote


udf, windows 8;64bit;compile

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
compiling udf at window Nt(64BIT) noa FLUENT 3 July 29, 2014 23:01
Error during Compiling UDF for Rotor Motion deepak.dce06 Fluent UDF and Scheme Programming 1 October 15, 2013 12:51
ERROR in compiling UDF stefanos Fluent UDF and Scheme Programming 1 April 25, 2012 07:37
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
error compiling UDF on windows x64 Andres FLUENT 0 February 12, 2009 16:22

All times are GMT -4. The time now is 23:31.