|
[Sponsors] |
UDF with precompiled object using fluent's built-in compiler |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2022, 18:29 |
UDF with precompiled object using fluent's built-in compiler
|
#1 |
New Member
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11 |
Hey,
I have a udf that calls functions which I have compiled into a file called functions.o, and with a header called functions.h. I followed the instructions from the fluent udf manual (for windows) detailing how to setup the libudf directory and adapting the user_nt and makefile_nt files. But then I need to use the fluent's built in compiler because I can't use nmake or scons since I don't have visual studio or clang. So I use the TUI to compile my files but I'm pretty sure that it ignores my user_nt and makefile files since it tells me that the function I'm calling in my udf is not defined (lld-link: error: undefined symbol). Also, I'm not seeing any mention of the functions.o file in the console when I do the build. I was wondering if any of you worked with precompiled objects and the fluent's built-in compiler and if you had any success. And by the way, does it matter whether the object is called .o or .obj? Thanks for your help! Benjamin |
|
August 22, 2022, 03:20 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
never used build-in compiler, however, from common sense
you need make file to link percompiled objects, so I believe you need stand alone compiler to do that
__________________
best regards ****************************** press LIKE if this message was helpful |
|
Tags |
fluent - udf, precompile, tui |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to implant anisotropic electrical conductivity UDF inside fluent's PEMFC module | brucelqs | Fluent UDF and Scheme Programming | 0 | June 24, 2022 04:41 |
[B]the compiler keep on compile previous udf without updating new udf?[/B] | fruitkiwi | Fluent UDF and Scheme Programming | 5 | July 24, 2014 20:38 |
Language for Fluent 6.3.26 UDF Compiler ?? | Abhya | Fluent UDF and Scheme Programming | 1 | October 31, 2012 02:30 |
UDF compiler help | sosososo1114 | Fluent UDF and Scheme Programming | 9 | January 24, 2011 06:02 |
C++ Compiler for UDF | Dmitriy Makarov | FLUENT | 1 | December 12, 2000 03:41 |