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

How to set with_hi35xx option and std c++ 11 support? #4

Open
messicn opened this issue Jan 22, 2019 · 0 comments
Open

How to set with_hi35xx option and std c++ 11 support? #4

messicn opened this issue Jan 22, 2019 · 0 comments

Comments

@messicn
Copy link

messicn commented Jan 22, 2019

I succeeded in getting Makefile, but there were some errors

checking for hi3518v100 mpp library... no
checking for hi3518v200 mpp library... no
checking for hi3516cv300 mpp library... no
checking for hi3520v100 mpp library... no
checking for hi3520dv200 mpp library... no

media-common.cpp: In constructor 'Ipcam::Media::Resolution::Resolution(std::string)':
media-common.cpp:78:12: error: 'stoul' is not a member of 'std'
_width = std::stoul(cm[1]);
^
media-common.cpp:79:13: error: 'stoul' is not a member of 'std'
_height = std::stoul(cm[2]);
^
media-common.cpp: In member function 'Ipcam::Media::Resolution::operator std::string()':
media-common.cpp:93:9: error: 'to_string' is not a member of 'std'
return std::to_string(_width) + "x" + std::to_string(_height);

I just saw that you used c++11. Are you sure that's making it into your compile options? Check the generated makefile and watch the executed commands to be certain.

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

1 participant