You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/ld: CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o: undefined reference to symbol 'ZN6google14FlagRegistererC1EPKcS2_S2_S2_PvS3'
/usr/local/lib/libgflags.so.2: error adding symbols: DSO missing from command line
I have downloaded and installed gflags-2.1.2. So I don't know how to solve this problem.
Looking forwards to any great advices.
The text was updated successfully, but these errors were encountered:
According to readme from the link above, added "DEFINE_int32(mode, 2, "Mode"); " in the header and "google::ParseCommandLineFlags(&argc, &argv, true); int mode = FLAGS_mode;" in the main function.
Change the default fallback flags passed in the code.
There you should compile fine.
/usr/bin/ld: CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o: undefined reference to symbol 'ZN6google14FlagRegistererC1EPKcS2_S2_S2_PvS3'
/usr/local/lib/libgflags.so.2: error adding symbols: DSO missing from command line
I have downloaded and installed gflags-2.1.2. So I don't know how to solve this problem.
Looking forwards to any great advices.
The text was updated successfully, but these errors were encountered: