Xcode C++ can't find namespace

I added a package, via homebrew, named cln. Using this line:

#include </usr/local/Cellar/cln/1.3.6/include/cln/cln.h> 

resolved a few issues. However, the line

using namespace cln; 

is causing an "Expected namespace name" error. I'm sure there's a simple fix. I just can't figure it out. Thanks!


MacBook Pro 15″, macOS 10.15

Posted on Jun 1, 2020 5:15 PM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode C++ can't find namespace

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.