codelite icon indicating copy to clipboard operation
codelite copied to clipboard

Pull/build issues

Open yzazik opened this issue 1 year ago • 0 comments

Hello, I have a couple of issues to report building the latest source code.

First is github pull of submodules. I guess, since github switched naming main branch as master many old repos that were pulled with the default name (main) now have to be pulled with branch name specified explicitly. A couple of modules in .gitmodules that are missing (now non-default) main branch name are wx-config-msys2 and cc-wrapper:

[submodule "wx-config-msys2"] path = wx-config-msys2 url = https://github.com/eranif/wx-config-msys2.git branch = main [submodule "cc-wrapper"] path = cc-wrapper url = https://github.com/eranif/cc-wrapper branch = main

Without branch name those submodules are not getting pulled.

Second is dependency on sqlite3, specifically, if installed sqlite3 has been found in the system, still SQLite3_INCLUDE_DIR is not used anywhere in cmake files resulting in a build failure of sdk/databaselayer/src/dblayer/SqliteDatabaseLayer.cpp with "fatal error: sqlite3.h: No such file or directory".

Not sure where would be the right place to place it but on my side this worked (sdk/databaselayer/CMakeLists.txt:10):

include_directories(./include/wx/dblayer/include src/sqlite3 ${SQLite3_INCLUDE_DIR})

similarly how it's done in sdk/wxsqlite3/CMakeLists.txt but the variable there is SQLite3_INCLUDE_DIRS, not sure is that's a typo or by intent.

Thanks you.

Version

Self compiled

Operating system

Linux

Steps to reproduce

No response

Relevant log output

No response

yzazik avatar Nov 02 '23 14:11 yzazik