Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not compile under ubuntu 14.04 or 16.04 #3

Open
TheTesla opened this issue Oct 18, 2016 · 2 comments
Open

does not compile under ubuntu 14.04 or 16.04 #3

TheTesla opened this issue Oct 18, 2016 · 2 comments

Comments

@TheTesla
Copy link

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

@eldar
Copy link
Owner

eldar commented Oct 18, 2016

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).

@TheTesla
Copy link
Author

Thanks, I corrected it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants