ethz-asl / voxblox_ground_truth

Create ground truth voxblox maps from Gazebo worlds or .ply files
BSD 2-Clause "Simplified" License
83 stars 24 forks source link

Link library against protobuf. #2

Closed rikba closed 5 years ago

rikba commented 5 years ago

Before my compiler could not link against protobuf.

Errors     << voxblox_ground_truth:make /home/rik/voliro_ws/logs/voxblox_ground_truth/build.make.001.log                                                                                                                                                                      
/usr/bin/ld: CMakeFiles/ply_to_sdf.dir/src/user_interfaces/ply_to_sdf_script.cpp.o: undefined reference to symbol '_ZN6google8protobuf8internal13empty_string_B5cxx11E'
//usr/lib/x86_64-linux-gnu/libprotobuf.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

@gasserl can you check whether this fixes your installation?

gasserl commented 5 years ago

@rikba Works, now it compiles for me too. Thx!

victorreijgwart commented 5 years ago

@rikba Thank you Rik!