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

Error while building #7

Open
sibiyes opened this issue Apr 11, 2017 · 0 comments
Open

Error while building #7

sibiyes opened this issue Apr 11, 2017 · 0 comments

Comments

@sibiyes
Copy link

sibiyes commented Apr 11, 2017

Hi,

I was trying to build the package y following the instructions provided after cloning the repo. I was getting the following error when running make.

In file included from /home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/util.h:7:0,
from /home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/cpr/cookies.cpp:3:
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:13:7: error: expected nested-name-specifier before ‘Header’
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:13:7: error: ‘Header’ has not been declared
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:13:14: error: expected ‘;’ before ‘=’ token
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:13:14: error: expected unqualified-id before ‘=’ token
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:14:7: error: expected nested-name-specifier before ‘Url’
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:14:7: error: ‘Url’ has not been declared
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:14:11: error: expected ‘;’ before ‘=’ token
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/cprtypes.h:14:11: error: expected unqualified-id before ‘=’ token
In file included from /home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/cpr/cookies.cpp:3:0:
/home/ubuntu/packages/src/cpr/cpr-example/opt/cpr/include/cpr/util.h:13:1: error: ‘Header’ does not name a type
make[2]: *** [opt/cpr/cpr/CMakeFiles/cpr.dir/cookies.cpp.o] Error 1
make[1]: *** [opt/cpr/cpr/CMakeFiles/cpr.dir/all] Error 2
make: *** [all] Error 2

Do you have any idea, what could be wrong.

Thanks

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