CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Adding sqlite to my UDF? (https://www.cfd-online.com/Forums/fluent-udf/246426-adding-sqlite-my-udf.html)

rephical December 2, 2022 01:14

Adding sqlite to my UDF?
 
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?


All times are GMT -4. The time now is 06:49.