This question already has an answer here:
I am trying to compile a program in c++ using xCode but I am getting the following error:
Undefined symbols for architecture x86_64:
"BPN::NetworkTrainer::Train(BPN::TrainingData const&)", referenced from:
_main in main.o
"BPN::NetworkTrainer::NetworkTrainer(BPN::NetworkTrainer::Settings const&, BPN::Network*)", referenced from:
_main in main.o
"BPN::TrainingDataReader::ReadData()", referenced from:
_main in main.o
"BPN::TrainingDataReader::TrainingDataReader(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int)", referenced from:
_main in main.o
"BPN::Network::Network(BPN::Network::Settings const&)", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Do you know what am I missing?
Thank you!!!
Aucun commentaire:
Enregistrer un commentaire