OpenTTD / OpenGFX

8bpp Graphics Base Set for OpenTTD
GNU General Public License v2.0
48 stars 26 forks source link

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

Closed Mailaender closed 3 years ago

Mailaender commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

The problem disappears when I remove make clean-gfx.

LordAro commented 3 years ago

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.

Mailaender commented 3 years ago

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