Ok, when I compile I get this message:

g++ -c main.cpp
g++ -c bell.cpp
g++ -c light.cpp
g++ -c clock.cpp
g++ -c person.cpp
g++ -c elevator.cpp
g++ -c building.cpp
g++ -o outlab02 main.o...