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

Adding sqlite to my UDF?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2022, 02:14
Default Adding sqlite to my UDF?
  #1
New Member
 
Join Date: Nov 2022
Posts: 10
Rep Power: 3
rephical is on a distinguished road
Hey all, I want to create a UDF where I'll be reading from a sql database, so I need to find a way to get sqlite to work in ansys. I did #include sqlite3.h in my source file and then compiled them in ansys, but everytime that I do, it asks for a header file. The first header file it asked was windows.h. Once I added that, it wanted me to add winapifamily.h again. And the list goes on.

My question is,*How do I add a SQLITE header in my udf file without me having to manually go through adding all the necessary headers that sqlite needs?
rephical is offline   Reply With Quote

Reply

Tags
compilation error, udf


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
Floating Point Exception Error for p_rgh in chtMRF Clau.77 OpenFOAM Running, Solving & CFD 1 May 9, 2021 10:41
Adding reactions through UDF in FRC simulations arvind3008 FLUENT 0 December 12, 2020 08:27
Error after adding (Interpreted) the UDF code ebtedaei Fluent UDF and Scheme Programming 10 December 18, 2018 13:59
adding k+ through UDF Shamoon Jamshed FLUENT 0 April 24, 2018 13:19
Adding Van der Waals force by coding UDF Long Sang FLUENT 1 June 23, 2008 08:44


All times are GMT -4. The time now is 01:46.