8000 Problem with simple_load_osm_car_routing_graph_from_pbf · Issue #78 · RoutingKit/RoutingKit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Problem with simple_load_osm_car_routing_graph_from_pbf #78

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

Open
joernschoenberger opened this issue Jan 29, 2020 · 10 comments
Open

Problem with simple_load_osm_car_routing_graph_from_pbf #78

joernschoenberger opened this issue Jan 29, 2020 · 10 comments

Comments

@joernschoenberger
Copy link

Hello,
I want to use RoutingKit under windows10 / g++ / Codeblocks-IDE.
The RoutingKit libraries where generated using the MSYS2-commandline environment as explained in the setup/installation description.

According to the small example given in the documentation, reading the pdb-file can be done with the function simple_load_osm_car_routing_graph_from_pbf() where only the first first argument (the pdf-file specification) is obligatory. Trying this I g++ linker stops the linking process with the following message:
obj\Release\main.o:main.cpp:(.text.startup+0x93)||undefined reference to `RoutingKit::simple_load_osm_car_routing_graph_from_pbf(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::function<void (std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)> const&, bool, bool)'|
I understand this message in the ways that I'm expected to specify all four arguments? Has the definition of simple_load_osm_car_routing_graph_from_pbf been changed?

Best regards
Jörn

@ben-strasser
Copy link
Member
ben-strasser commented Jan 29, 2020 via email

@joernschoenberger
Copy link
Author
joernschoenberger commented Jan 29, 2020 via email

@joernschoenberger
Copy link
Author
joernschoenberger commented Jan 29, 2020 via email

@ben-strasser
Copy link
Member
ben-strasser commented Jan 29, 2020 via email

@ben-strasser
Copy link
Member
ben-strasser commented Jan 29, 2020 via email

@joernschoenberger
Copy link
Author
joernschoenberger commented Jan 29, 2020 via email

@ben-strasser
Copy link
Member
ben-strasser commented Feb 3, 2020 via email

@joernschoenberger
Copy link
Author
joernschoenberger commented Feb 3, 2020 via email

@ben-strasser
Copy link
Member

Hi,

I gave it a go and was able to build a working, self-contained executable under Windows. I added the steps necessary to setup docs. I hope that helps.

Best Regards
Dr. Ben Strasser

@joernschoenberger
Copy link
Author
joernschoenberger commented Feb 5, 2020 via email

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
0