Ich habe versucht mit/ohne -M64 Option, es funktioniert nicht. Wie soll ich das beheben?C++ Boost auf Mac Kompilierfehler
Undefined symbols for architecture x86_64:
"boost::system::system_category()", referenced from:
boost::asio::error::get_system_category() in main-6996c8.o
boost::system::error_code::error_code() in main-6996c8.o
___cxx_global_var_init.2 in main-6996c8.o
"boost::system::generic_category()", referenced from:
___cxx_global_var_init in main-6996c8.o
___cxx_global_var_init.1 in main-6996c8.o
ld: symbol(s) not found for architecture x86_64
yr muss die Kompilieren und Link-Befehle zeigen – pm100
Ich habe Boost mit Brew installiert. Der Befehl lautet g ++ -std = C++ 11 main.cpp – ManAtMiddleWaterloo
Wie sieht die Include-Anweisung im Quellcode für 'main-6996c8.o' aus? – NonCreature0714