kapilv
Topic Author
Posts: 8
Joined: 03 Sep 2019, 23:34
Answers: 0

SQLite error (cannot find lSQLite) with C code block

07 Nov 2019, 09:39

Hello,

I am trying to implement a C Block to read Database of the SQLite.
Code wise it is okay, but when I tried to build application it gets into this error ‘cannot find lSQLite’.
I am not a C programming expert; it look like it couldn’t find SQLite library. I searched many places to look how I can add this library into Logi.CAD 3.
Could you please provide me some documentation or instructions to add this kind of libraries on my program? Or is it something else?

Attached is error and program screenshot.

Appreciate!
Attachments
F9FBE984-6198-4C89-9B11-C69B8E6D2D0A.jpeg
F9FBE984-6198-4C89-9B11-C69B8E6D2D0A.jpeg (86.43 KiB) Viewed 6932 times
 
User avatar
Walter
Official 3rd Party Support logi.cals
Posts: 77
Joined: 15 Dec 2016, 12:56
Answers: 0

Re: SQLite error (cannot find lSQLite) with C code block

07 Nov 2019, 15:03

Hello Kapilv,

thank you for your post!
For further analysis we would need your iSQLite library for Raspberry Pi. Please provide it to us.

thank you and kind regards
Walter
 
kapilv
Topic Author
Posts: 8
Joined: 03 Sep 2019, 23:34
Answers: 0

Re: SQLite error (cannot find lSQLite) with C code block

08 Nov 2019, 08:25

Somehow I resolve that error; but it started complaining about these now.
Attached is the library and project file. Please also see the screenshot of the compiler error below.
Attachments
Logicad.PNG
Logicad.PNG (113.77 KiB) Viewed 6902 times
libsqlite.zip
(358.03 KiB) Downloaded 510 times
 
User avatar
Walter
Official 3rd Party Support logi.cals
Posts: 77
Joined: 15 Dec 2016, 12:56
Answers: 0

Re: SQLite error (cannot find lSQLite) with C code block

08 Nov 2019, 12:56

Hello,


i think we were able to solve the problem. The project needs to look like (screenshot: projectview). The settings needs to have other values (see: settings)


kind regards
Walter
Attachments
Settings.png
Settings.png (32.3 KiB) Viewed 6899 times
projectview.png
projectview.png (33.83 KiB) Viewed 6899 times
 
kapilv
Topic Author
Posts: 8
Joined: 03 Sep 2019, 23:34
Answers: 0

Re: SQLite error (cannot find lSQLite) with C code block

08 Nov 2019, 23:39

Thanks a lot Walter!

It worked! You made my day. I spent about 2 weeks and I was keep fighting with errors after error.
I can read SQLite database from Revolution Pi; that’s remarkable.

Thanks again!

Cheer!

Who is online

Users browsing this forum: No registered users and 0 guests