-
Notifications
You must be signed in to change notification settings - Fork 22
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
visual studio 2014 test failures #48
Comments
noticing that if I build locally with:
Then all tests pass (note: this is using the pre-built node.exe, which of course is bad). |
hmm, all tests pass locally for me too, even with visual studio 2014 compiled node:
|
Okay, after actually clearing the
Tests all still pass with this build if I just run the tests with |
Noting that |
After much debugging I've found that node-srs/deps/osr/src/cpl_conv.cpp Line 1569 in f4e2b25
null is returned rather than the correct path to GDAL_DATA. The getenv call does work if GDAL_DATA is set in the environment before node.exe starts but does not work when it is set here Line 15 in f4e2b25
|
I've found that node/src/node.cc uses |
fixed, whew. Will track back later on and try to figure out what is different about visual studio 2014 runtimes where getenv seems to not talk to SetEnvironmentVariable (mapbox/node#1). |
gah, also going to impact proj4 as bundled by node-mapnik: https://ci.appveyor.com/project/Mapbox/mapnik-omnivore/build/1.0.175/job/s4yrxm98uvtt66n2#L138 |
more proper fix landed in #50 |
From https://ci.appveyor.com/project/Mapbox/node-srs/build/1.0.11/job/erhhc66r9j5g5ax4#L710.
It looks like the data files are not being loaded correctly when osr is compiled with visual studio 2014.
The text was updated successfully, but these errors were encountered: