no textures when running oolite from git repo

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

no textures when running oolite from git repo

Post 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.
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: no textures when running oolite from git repo

Post 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.                                                    
vaxon
Dangerous
Dangerous
Posts: 109
Joined: Tue Jul 10, 2007 1:26 pm

Re: no textures when running oolite from git repo

Post by vaxon »

Eventually resolved the problem by removing png headers from deps:

Code: Select all

rm deps/Linux-deps/include/png*
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: no textures when running oolite from git repo

Post 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.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
Post Reply