CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Compiling

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 20, 2002, 20:48
Default Compiling
  #1
MON
Guest
 
Posts: n/a
Hello dear Fluent Users,

I am a new user of Fluent and I would like to compile a UDF (Define source (Source.Cpp)) in fluent 6.i use Microsoft Windows NT 4.after doing the steps for Building Compiled Windows UDFs using Microsoft Visual C++ 6.0( link http://www.fluent.com/support/instal...q/udfguide.htm) When i compile the UDF,i run nmake this the error message ************************ *********************** ension used : formal parameter 'port' was previously defined as a type f:\fluent.inc\fluent6.0\cortex\src\sprim.h(220) : warning C4224: nonstandard ext ension used : formal parameter 'obj' was previously defined as a type f:\fluent.inc\fluent6.0\cortex\src\sprim.h(230) : warning C4224: nonstandard ext ension used : formal parameter 'port' was previously defined as a type # Generating udf_names.c because of Source.Cpp

cl /c /Za -If:\fluent.inc\fluent6.0\ntx86\3ddp -If:\fluent.inc\fluent6. 0\src -If:\fluent.inc\fluent6.0\cortex\src -If:\fluent.inc\fluent6.0\client\sr c -If:\fluent.inc\fluent6.0\tgrid\src -If:\fluent.inc\fluent6.0\multiport\src udf_names.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

udf_names.c # Linking libudf.dll because of makefile user_nt.udf udf_names.obj Source.Cpp

link /Libpath:f:\fluent.inc\fluent6.0\ntx86\3ddp /dll /debug /out:libu df.dll udf_names.obj Source.Cpp fl6012s.lib Microsoft (R) Incremental Linker Version 6.00.8168 Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

******** LINK : fatal error LNK1104: cannot open file "Source.Cpp" NMAKE : fatal error U1077: 'link' : return code '0x450' Stop. ************************************************** **** ************************************************** ****

My UDF is worked with interpred mode.but with compiling mode i found the error Thnak you for your help
  Reply With Quote

Reply

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 icoStructFoam error using OF1.7 mhassani OpenFOAM Installation 7 June 11, 2012 09:22
paraview 3.10.1 compiling error (1.6-ext) vkrastev OpenFOAM Installation 7 October 28, 2011 03:17
Help with KIVA4 source code compiling geothokar Main CFD Forum 0 September 3, 2010 05:40
error msg when compiling user fortran Ollimarc CFX 0 March 13, 2008 19:16
Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100 sponiar OpenFOAM Running, Solving & CFD 3 February 26, 2008 07:31


All times are GMT -4. The time now is 02:38.