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

UDF compilation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2019, 11:04
Default UDF compilation problem
  #1
Ari
New Member
 
Arianna
Join Date: Sep 2015
Posts: 9
Rep Power: 11
Ari is on a distinguished road
Hello everyone!
I am working to write a UDF that uses external functions to parse a .json file and read velocity data to impose at a domain boundary.
The UDF uses a DEFINE_PROFILE macro. All the headers needed (such as json.h) are included at the beginning of the file.
I launch fluent through Visual Studio as per regular UDF compilation.
However, I get this error:
udf.obj: error LNK 2019: unresolved external symbol

The error refers to the symbols I’m using to parse the .json file and its structure.
It is definitely a linker/compilation error but I can’t figure out how to fix it or if I am missing a compilation step.

Does anyone know how to solve this issue or have experience with a similar error?

Thank you in advance for any suggestion or help!
Ari is offline   Reply With Quote

Reply


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 Off
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 40 March 18, 2018 07:05
Problem in UDF compilation iitgbim Fluent UDF and Scheme Programming 14 September 19, 2014 07:20
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
UDF compilation problem ravindra Fluent UDF and Scheme Programming 0 July 23, 2012 08:31
parallel UDF problem kerem FLUENT 2 June 20, 2006 07:56


All times are GMT -4. The time now is 18:05.