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

Using library API within dot net project #1650

Closed
a6datta opened this issue Sep 7, 2015 · 5 comments
Closed

Using library API within dot net project #1650

a6datta opened this issue Sep 7, 2015 · 5 comments
Assignees

Comments

@a6datta
Copy link

a6datta commented Sep 7, 2015

Hi,

Is there any way to use the library API within a c# project. I know using c++ library is not straight forward but it can be done. However I will need a DLL to be able to call the functions. I have downloaded the windows build but which DLL should I use?

Thanks.

@daniel-j-h
Copy link
Member

/cc @BergWerkGIS

@wilhelmberg wilhelmberg self-assigned this Sep 7, 2015
@wilhelmberg
Copy link
Contributor

@a6datta

Thanks for pointing out, that the library files are missing.
I've assigned myself to add them.

Is there any way to use the library API within a c# project.

We don't provide an official .Net Wrapper and haven't tested that way of interacting with osrm.

But there are two ways you can use a C++ library from C#:

@a6datta
Copy link
Author

a6datta commented Sep 7, 2015

Thanks. I can try to write a managed class. I will wait for the library files.

@wilhelmberg
Copy link
Contributor

@a6datta
osrm.lib is now included in the download.
Let me know, if anything else is missing.

@daniel-j-h
Copy link
Member

In case a C wrapper is of any help check out osrm-c.

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

3 participants