Skip to main content

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system'-lboost_system to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so.

If you have main.cpp, either:

g++ main.cpp -o main -lboost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -lboost_system

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

If you have main.cpp, either:

g++ main.cpp -o main -lboost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -lboost_system

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add -lboost_system to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so.

If you have main.cpp, either:

g++ main.cpp -o main -lboost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -lboost_system
added correction suggested in a comment
Source Link
user1055604
  • 1.6k
  • 11
  • 28

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

If you have main.cpp, either:

g++ main.cpp -o main -l boost_systemlboost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -l boost_systemlboost_system

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

If you have main.cpp, either:

g++ main.cpp -o main -l boost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -l boost_system

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

If you have main.cpp, either:

g++ main.cpp -o main -lboost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -lboost_system
added further explanation
Source Link
user1055604
  • 1.6k
  • 11
  • 28

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

If you have main.cpp, either:

g++ main.cpp -o main -l boost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -l boost_system

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

The above error is a linker error... the linker a program that takes one or more objects generated by a compiler and combines them into a single executable program.

You must add '-l boost_system' to you linker flags which indicates to the linker that it must look for symbols like boost::system::system_category() in the library libboost_system.so

If you have main.cpp, either:

g++ main.cpp -o main -l boost_system

OR

g++ -c -o main.o main.cpp
g++ main.o -l boost_system
Source Link
user1055604
  • 1.6k
  • 11
  • 28
Loading