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

Couldn't run the provided cpp file ! #4

Open
ASCharan opened this issue Jan 19, 2018 · 4 comments
Open

Couldn't run the provided cpp file ! #4

ASCharan opened this issue Jan 19, 2018 · 4 comments

Comments

@ASCharan
Copy link

No description provided.

@lincolnhard
Copy link
Owner

@ASCharan Is there any error message?

@jiankang1991
Copy link

@lincolnhard I would like to run it in Ubuntu 16.04. I run the code like this:
./video_test_shape.cpp

But there are some errors:

./video_test_shape.cpp: line 8: using: command not found
./video_test_shape.cpp: line 9: using: command not found
./video_test_shape.cpp: line 11: //Intrisics: No such file or directory
./video_test_shape.cpp: line 12: //Normally,: No such file or directory
./video_test_shape.cpp: line 13: double: command not found
./video_test_shape.cpp: line 14: double: command not found
./video_test_shape.cpp: line 16: syntax error near unexpected token `('
./video_test_shape.cpp: line 16: `int main()'

Do you know how to solve this?

Thank you very much.

@ASCharan
Copy link
Author

ASCharan commented Jan 31, 2018

@lincolnhard
error: ‘lab’ is not a member of ‘dlib::pixel_traits’
typename enable_if_c<pixel_traits::lab && pixel_traits::hsi>::t
error: ‘lab’ is not a member of ‘dlib::pixel_traits’
typename enable_if_c<pixel_traits::lab && pixel_traits::rgb>::t
When I run the code the above error continues with other names like error: hsi, error: rgb_alpha

What could be the possible solution?
Thanks!

@jakob1379
Copy link

C++ files are not meant to be run, but rather compiled with respect to the packages used. For this you should include both dlib and opencv

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

4 participants