-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Loading a Raster image throws DllNotFoundException for 'libglib-2.0-0.dll' #206
Comments
Sorry I kept you waiting for an answer. I'm no longer commiting to this project lately, but I'll try to help you. |
I had an error similar to this. It was solved by importing the references that the GTiff2Tiles.Console's package dependencies into my root project. I don't think they are all required, but here they all are:
|
Ah, sorry, I misread the question, thought you're using the console app from repo. @clayu is right, you'll need to reference a native packages, that match your system (as name says, CommandLineParser is only needed to parse options from command line, so it's optional) By the way, it seems like gdal native bindings are finally available under macos, so in case you're using mac, you'll need to add two additional packages to your console application:
Though I can't assure you it will work on mac. I will push these changes to github's CI environment soon. I'm closing this issue for now, but feel free to reopen it. |
To Reproduce
Input data info
gdalinfo
output:Expected behavior
I expect the program to correctly load the image and generate tiles
Actual behaivor
The program crashes on the line where a new
Raster
is created with the following exception:Desktop:
The text was updated successfully, but these errors were encountered: