Open TheTesla opened 8 years ago
a lot of warnings are thrown:
warning: ‘auto’ changes meaning in C++11
ubuntu 14.04:
/home/willi/deepcut-cnn/src/caffe/pose/segment_parts.cpp:157:20: error: ‘jnt’ was not declared in this scope
ubuntu 16.04:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
ubuntu 16.04 after adding set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES") to CMakeLists.txt:
/home/gdv/deepcut-cnn/src/caffe/layers/pose_data_layer.cpp:298:43: error: ‘joint_stats_file’ was not declared in this scope
there are some other errors, but I think that are the main one
You probably didn't build with C++11 support. Try adding CXXFLAGS += -std=c++11 to your Makefile.config (or do a similar thing in CMakeLists.txt).
CXXFLAGS += -std=c++11
Thanks, I corrected it.
a lot of warnings are thrown:
ubuntu 14.04:
ubuntu 16.04:
ubuntu 16.04 after adding set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES") to CMakeLists.txt:
there are some other errors, but I think that are the main one