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

nmlc ERROR: Image file "sprites/png/infrastructure/locks_normal.gimp.png": cannot identify image file #47

Closed
Mailaender opened this issue Jan 1, 2021 · 4 comments

Comments

@Mailaender
Copy link

@Mailaender Mailaender commented Jan 1, 2021

I noticed failing builds in @openSUSE so I updated the version (seems we didn't notice the release tarball location switch) however when I compile 0.6 it also fails:

[  275s] [CPP] ogfxe_extra.nml
[  275s] [NML] ogfxe_extra.grf
[  276s]  nmlc ERROR: Image file "sprites/png/infrastructure/locks_normal.gimp.png": cannot identify image file '/home/abuild/rpmbuild/BUILD/OpenGFX-0.6.0/sprites/png/infrastructure/locks_normal.gimp.png'
@LordAro
Copy link
Member

@LordAro LordAro commented Jan 1, 2021

Odd, the image is definitely there - https://github.com/OpenTTD/OpenGFX/blob/master/sprites/png/infrastructure/locks_normal.gimp.png
Can you make sure your checkout/tarball contains that file?

@Mailaender
Copy link
Author

@Mailaender Mailaender commented Jan 1, 2021

The problem disappears when I remove make clean-gfx.

@LordAro
Copy link
Member

@LordAro LordAro commented Jan 1, 2021

Ah right, yes. This deletes the files that are generated from the source GIMP xcf files. They're still checked into the repo, to remove the need to actually have gimp installed to build OGFX. Working as intended.

@LordAro LordAro closed this Jan 1, 2021
@Mailaender
Copy link
Author

@Mailaender Mailaender commented Jan 2, 2021

Alright. I then removed the broken GIMP path which also decreases build time: https://build.opensuse.org/request/show/859731

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants