Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of this front-end #11

Closed
HahaLan97 opened this issue Dec 12, 2022 · 1 comment
Closed

Usage of this front-end #11

HahaLan97 opened this issue Dec 12, 2022 · 1 comment

Comments

@HahaLan97
Copy link

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.

@HahaLan97
Copy link
Author

HahaLan97 commented Jan 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant