Skip to content
Discussion options

You must be logged in to vote

I have already built google-cloud-cpp repo and its required dependencies for Ubuntu 18.04 on my system as explained in packaging link. I have installed all the produced libraries in /usr/local/lib/ https://github.com/googleapis/google-cloud-cpp/blob/main/doc/packaging.md

Hmmm.

Post building I utilised these libraries in my Makefile to build cpp code but it fails with "undefined references" errors. To resolve the errors, I have included all the libraries inside my vcpkg :

I am confused. Why are you trying to use the packaging instructions and use vcpkg? If you use vcpkg you don't need to install google-cloud-cpp in /usr/local/, vcpkg will install it for you in its preferred install loc…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jiovaibhav
Comment options

@coryan
Comment options

coryan Sep 12, 2022
Collaborator

@jiovaibhav
Comment options

Answer selected by jiovaibhav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants