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 do I compile with C++? #1005

Closed
roshanDD opened this issue Jul 11, 2017 · 3 comments
Closed

How do I compile with C++? #1005

roshanDD opened this issue Jul 11, 2017 · 3 comments

Comments

@roshanDD
Copy link

I am currently building a http2 client (using nghttp2) and sitting on top of the mbedtls. I am coding in C++, this might be a pretty stupid question. How do I compile my C++ code using g++ command?

It looks to me that when I naively run g++ -Wall -o http_client.cpp ., it gives the error that
#include "mbedtls/platform.h" not found. Am I missing a command which links to a library or something?

I am compiling the code on my mac. Thanks

@roshanDD
Copy link
Author

My ultimately development enrioment will be on Rapsberrian Jessie. I am compiling on my mac because it's too slow on the Raspberrian Jessie. Thanks

@RonEld
Copy link
Contributor

RonEld commented Jul 12, 2017

Hi @roshanDD You should have the include path in your compilation command as the -I compilation flag

@RonEld
Copy link
Contributor

RonEld commented Sep 6, 2017

I believe this question was answered, therefore closing it.
If you are not happy with the answer, please reopen this issue

@RonEld RonEld closed this as completed Sep 6, 2017
paul-elliott-arm added a commit that referenced this issue Mar 28, 2023
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