SQLite error (cannot find lSQLite) with C code block

Für Themen rund um logi.RTS und logi.CAD 3
Post Reply
kapilv
Posts: 8
Joined: 03 Sep 2019, 23:34

SQLite error (cannot find lSQLite) with C code block

Post by kapilv »

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 17289 times
User avatar
Walter
Official 3rd Party Support logi.cals
Posts: 77
Joined: 15 Dec 2016, 12:56

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

Post by Walter »

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
Posts: 8
Joined: 03 Sep 2019, 23:34

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

Post by kapilv »

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 17259 times
libsqlite.zip
(358.03 KiB) Downloaded 1138 times
User avatar
Walter
Official 3rd Party Support logi.cals
Posts: 77
Joined: 15 Dec 2016, 12:56

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

Post by Walter »

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 17256 times
projectview.png
projectview.png (33.83 KiB) Viewed 17256 times
kapilv
Posts: 8
Joined: 03 Sep 2019, 23:34

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

Post by kapilv »

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!
Post Reply