Support Board
Date/Time: Fri, 19 Apr 2024 17:16:18 +0000
[Programming Help] - SQLite Connexion
View Count: 1073
[2019-03-12 08:01:57] |
Ch4t3 - Posts: 5 |
Dear, I try to connect my study on sql database. I have try MySQL, but so hard since 2 days. So today, I try to connect a simple SQLite to test. (the least difficult in sql) So I have add after "sierrachart.h" #include <stdio.h>
#include <sqlite3.h> and simple code like this : (connection to database to test step by step with Visual) sqlite3 *db;
char *zErrMsg = 0; int rc; rc = sqlite3_open("test.db", &db); sqlite3_close(db); And i have this message when I build : 1>MyCustomStudy.obj : error LNK2019: unresolved external symbol _sqlite3_close referenced in function _scsf_TemplateFunction
1>MyCustomStudy.obj : error LNK2019: unresolved external symbol _sqlite3_open referenced in function _scsf_TemplateFunction Thank you for your help :) PS : sqlite3.h in C:\SierraChart\ACS_Source\ and C:\SierraChart\ACS_Source\ In projet property C/C++ General -> Additional Include directories |
[2019-03-12 17:27:47] |
Sierra Chart Engineering - Posts: 104368 |
You have to resolve this. We cannot help with this. Clearly that function is not being found.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2019-03-12 20:48:25] |
Ch4t3 - Posts: 5 |
Ok, Thanks you. I have find solution :) I have forget to create sqlite3.lib (+ add in projet->linker->addtional...) |
To post a message in this thread, you need to log in with your Sierra Chart account: