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

(windows) MDB_Transaction Error when trying to work with Windows Subsystem for Linux #21

Open
mmstdur opened this issue Jul 8, 2020 · 3 comments

Comments

@mmstdur
Copy link

mmstdur commented Jul 8, 2020

I'm trying to get the OSMExpress CommandLine Tool to work with Windows. As there is no release for windows yet I followed the manual build instructions to build the project in the Windows Linux Subsystem (Ubuntu). The commands do run successfully but the resulting osmx executable isn't found by the system for some reason. I tried setting it as a path variable and it seems to work but when trying to execute osmx expand new_york_county.osm.pbf new_york_county.osmx I get the following database error:

osmx_error

@bdon
Copy link
Member

bdon commented Jul 8, 2020

Hi, thanks for giving this a shot on a new platform! The matches the description encountered here: Venemo/node-lmdb#161 although we're not using that nodejs wrapper - seems to indicate a problem in WSL that causes LMDB to not work correctly.

Would you be able to investigate how to build the project for Windows directly?

@mmstdur
Copy link
Author

mmstdur commented Jul 8, 2020

Thanks for the quick answer!
Unfortunately, I have never worked with CMake before and not really familiar with it. I tried building it directly in Windows, but there are some required libraries like Zlib, OpenSSL, Swig, ... that are missing on my system. I installed them and set some missing Path Variables but I can't get it too work nonetheless. I guess I need to get a little more familiar with CMake first.

@bdon
Copy link
Member

bdon commented Jul 10, 2020

I don't have a good sense on what package management Windows developers are using now - last time I did something similar I was using Chocolatey. Do any other windows users want to weigh in on the best way for this to work?

@bdon bdon changed the title MDB_Transaction Error when trying to work with WLS (windows) MDB_Transaction Error when trying to work with Windows Subsystem for Linux Jul 10, 2020
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