Errors building CodeLite on Raspberry Pi 2

CodeLite installation/troubleshooting forum
CodeLite_User
CodeLite Curious
Posts: 1
Joined: Tue Dec 22, 2015 11:49 am
Genuine User: Yes
IDE Question: C++
Contact:

Errors building CodeLite on Raspberry Pi 2

Post by CodeLite_User »

I'm trying to build CodeLite on a Raspberry Pi 2.
It's running Raspbian 4.9.2-10
I have followed the build instructions on CodeLite's website.
However, I'm stuck at this error:

>>>>
pi@raspberrypi:~/codelite/build-release $ cmake -DCMAKE_BUILD_TYPE=Release ..
CMake Error at cmake/Modules/FindSqlite3.cmake:22 (message):
**** Could not find Sqlite3. Please install libsqlite3-dev package ****
Call Stack (most recent call first):
CMakeLists.txt:53 (include)
-- Configuring incomplete, errors occurred!
See also "/home/pi/codelite/build-release/CMakeFiles/CMakeOutput.log".
>>>>

But it also looks like the libsqlite3-dev package is properly installed.

>>>>
pi@raspberrypi:~/codelite $ sudo apt-get --reinstall install libsqlite3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 20 not upgraded.
Need to get 0 B/488 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 131299 files and directories currently installed.)
Preparing to unpack .../libsqlite3-dev_3.8.7.1-1+deb8u1_armhf.deb ...
Unpacking libsqlite3-dev:armhf (3.8.7.1-1+deb8u1) over (3.8.7.1-1+deb8u1) ...
Setting up libsqlite3-dev:armhf (3.8.7.1-1+deb8u1) ...
pi@raspberrypi:~/codelite $
>>>>

Some help would be appreciated.
Thanks
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Errors building CodeLite on Raspberry Pi 2

Post by eranif »

You will need to update the file

Code: Select all

~/codelite/cmake/Modules/FindSqlite3.cmake
and adjust it to raspberry pi2 installation location

Eran
Make sure you have read the HOW TO POST thread
Post Reply