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

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 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

The problem disappears when I remove make clean-gfx.

@LordAro
Copy link
Member

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 as completed Jan 1, 2021
@Mailaender
Copy link
Author

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
Development

No branches or pull requests

2 participants