Can we use this front-end indenpendently? Such as using the clang tool in the build/bin folder to generate the LLVM IR. With this appraoch I always get an error saying:
/somewhere/HLS/hls-build/bin/clang++: error while loading shared libraries: libsqlite3.28.0.so: cannot open shared object file: No such file or directory
Even if I specify the library directory using -L/somewhere/HLS/ext/sqlite-3.28.0/lib/lnx64/ the error is still there.
You need to use $LD_LIBRARY_LIB environment variable to specify the absolute path to libsqlite. Also add -S -emit-llvm flags because this is only a front-end.
Can we use this front-end indenpendently? Such as using the
clang
tool in thebuild/bin
folder to generate theLLVM IR
. With this appraoch I always get an error saying:Even if I specify the library directory using
-L/somewhere/HLS/ext/sqlite-3.28.0/lib/lnx64/
the error is still there.