0

I am compiling a C++11 program with:

g++ -std=c++11 main.cpp -o main -I/opt/homebrew/Cellar/curlpp/0.8.1_1/include/ -Iinclude  -lcurl

Yet I am getting the following error:

Undefined symbols for architecture arm64:
  "curlpp::Cleanup::Cleanup()", referenced from:
      _main in main-18dda9.o
  "curlpp::Cleanup::~Cleanup()", referenced from:
      _main in main-18dda9.o
ld: symbol(s) not found for architecture arm64
drescherjm
  • 10,365
  • 5
  • 44
  • 64
Riccardo Perego
  • 383
  • 1
  • 11

0 Answers0