Page 1 of 1

no textures when running oolite from git repo

Posted: Tue Oct 13, 2020 1:10 am
by vaxon
I've installed all the dependencies and built oolite from git repo using:

Code: Select all

make
However, there's no textures when I run:

Code: Select all

oolite.app/app
There's just auto-generated planet textures, but no textures read from files and just colored squares instead of text.
Please, help.

Re: no textures when running oolite from git repo

Posted: Tue Oct 13, 2020 1:47 am
by vaxon
This is from the log:

Code: Select all

04:41:03.433 [texture.load.png.warning]: ----- A PNG loading warning occurred for (null): Application built with libpng-1.4.7 but running with 1.6.36.                                         
04:41:03.433 [texture.load.png.setup.failed]: ***** Error preparing to read /home/git/oolite/oolite.app/Resources/Textures/oolite-particle-blur.png.                                           
04:41:03.433 [texture.load.png.warning]: ----- A PNG loading warning occurred for (null): Application built with libpng-1.4.7 but running with 1.6.36.                                         
04:41:03.433 [texture.load.png.setup.failed]: ***** Error preparing to read /home/git/oolite/oolite.app/Resources/Textures/oolite-particle-flash.png.                                          
04:41:03.435 [texture.load.png.warning]: ----- A PNG loading warning occurred for (null): Application built with libpng-1.4.7 but running with 1.6.36.                                         
04:41:03.435 [texture.load.png.setup.failed]: ***** Error preparing to read /home/git/oolite/oolite.app/Resources/Textures/oolite_barrel_diffuse.png.                                          
04:41:03.468 [texture.load.png.warning]: ----- A PNG loading warning occurred for (null): Application built with libpng-1.4.7 but running with 1.6.36.                                         
04:41:03.468 [texture.load.png.setup.failed]: ***** Error preparing to read /home/git/oolite/oolite.app/Resources/Textures/oolite-font.png.                                                    

Re: no textures when running oolite from git repo

Posted: Tue Oct 13, 2020 1:51 am
by vaxon
Eventually resolved the problem by removing png headers from deps:

Code: Select all

rm deps/Linux-deps/include/png*

Re: no textures when running oolite from git repo

Posted: Tue Oct 13, 2020 8:59 am
by Getafix
vaxon wrote: Tue Oct 13, 2020 1:10 am
I've installed all the dependencies and built oolite from git repo using:

Code: Select all

make
...
The correct syntax to build Oolite is make -f Makefile [target]
Example:

Code: Select all

make -f Makefile release
Try to build using this syntax and check if you still have the OXZ issue.