Title
#users-public
m

Michael

11/04/2022, 7:17 PM
Hi all, I get following errors after including #include <questdb/ilp/line_sender.hpp> in xCode: Undefined symbol: _SecRandomCopyBytes and Undefined symbol: _kSecRandomDefault I have build the c++ interface according to https://github.com/questdb/c-questdb-client/blob/main/doc/BUILD.md#pre-requisites-and-dependencies Running MacOS 12.6 Monterey installed questdb via brew install questdb Any ideas? Thank you
Nicolas Hourcard

Nicolas Hourcard

11/04/2022, 10:19 PM
we will look into this , thx for reporting
m

Michael

11/05/2022, 9:43 AM
thank you
Adam Cimarosti

Adam Cimarosti

11/14/2022, 10:21 AM
Hi Michael, Are you building with CMake?
10:22 AM
The C++ client does not depend on the database being installed locally.
10:23 AM
On MacOS the client relies on some libraries getting linked: See https://developer.apple.com/forums/thread/68928
10:24 AM
10:26 AM
If you're not and are building the static or dynamic lib separately and building from within XCode I found this that might help you: https://stackoverflow.com/questions/3352664/how-can-i-add-existing-frameworks-in-xcode-4
10:26 AM
Ping me if you're still struggling, I'll be happy to help.
Pei

Pei

11/14/2022, 10:31 AM
Thank you Adam! šŸ™
Adam Cimarosti

Adam Cimarosti

11/14/2022, 10:40 AM