-
Notifications
You must be signed in to change notification settings - Fork 479
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
libdwarf cannot find when using vcpkg, and ibdw has become a rerequisite for libdwarf? #330
Comments
I am not even sure where to to start debugging this problem, any kindly guide on where to start, thanks! Edit: |
This comment was marked as outdated.
This comment was marked as outdated.
Ok, somehow cmake could find the libdwarf installed by vcpkg after installing libdw by sudo apt-get install libdw-dev -y It seems to me there is problem in the cmake config for backward on finding these libs?
Notice libdw is from system path, and libdwarf is from vcpkg path |
(maybe final update) Here is the vcpkg.json that would allow backward in cmake to find both libdw and libdwarf
And elfutils actually requires some apt prerequisites:
My output when configuration:
notice both libdw and libdwarf comes from vcpkg installed location. (Certainly you need to remove previous apt install llibdw dev and libdwarf dev) |
I will keep this issue open as libdw has become a rerequisite for libdwarf? It is a must? |
ubuntu 20.04 x64
vcpkg.json
Cmake output
My main targe could find and link with libdwarf, but it seems backward.cpp cannot?
The text was updated successfully, but these errors were encountered: