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

Missing dependencies when linking SDK as shared libraries #758

Closed
JonasVautherin opened this issue Jun 4, 2019 · 0 comments · Fixed by #759
Closed

Missing dependencies when linking SDK as shared libraries #758

JonasVautherin opened this issue Jun 4, 2019 · 0 comments · Fixed by #759
Assignees
Labels

Comments

@JonasVautherin
Copy link
Collaborator

This was reported by @elbarto1980 on discuss:

When building and installing the SDK as shared libs, like so:

mkdir -p build/default
cd build/default
cmake -DBUILD_SHARED_LIBS=ON …/…
make
sudo make install

And then linking against an example, cmake complains about missing dependencies:

CMake Error at /usr/local/lib/cmake/DronecodeSDK/DronecodeSDKConfig.cmake:4 (find_package):
Could not find a package configuration file provided by “CURL” with any of
the following names:

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

Successfully merging a pull request may close this issue.

1 participant