在ubuntu 20.04的vscode裡試開發sqlite3 client程式(c++)
1. download the zip -- sqlite-autoconf-3380500.tar.gz and extract it
2.in to the folder "sqlite-autoconf-3380500" execute commands:
「./configure」-> 「make」 「sudo make install」
which will generate libsqlite3.a 、 libsqlite3.so..... in "/usr/local/lib"
and "sqlite3.h" in the folder "/usr/include"
3. enjoy it in your vsocde !!
please add 「 "-l","sqlite3" 」argument into 「task.json」args:[....]」block
(test by sample code here )
0 個意見:
張貼留言
訂閱 張貼留言 [Atom]
<< 首頁