Page 1 of 1

Compile on OS X until

Posted: Sat Nov 30, 2002 1:03 am
by VelikM
This is the compile results on the cvs01 updated 29/11/02. it compiles python :D :D but runs into a problem at:
,.deps/png_encode.TPlo -o png_encode.o
../../../../blender/./source/blender/imbuf/intern/png_encode.c: In function `IMB_png_encode':
../../../../blender/./source/blender/imbuf/intern/png_encode.c:142: `PNG_COLOR_TYPE_RGBA' undeclared (first use in this function)
../../../../blender/./source/blender/imbuf/intern/png_encode.c:142: (Each undeclared identifier is reported only once
../../../../blender/./source/blender/imbuf/intern/png_encode.c:142: for each function it appears in.)
*** Error code 1

This is getting really close about 90% of the code is compiling on OS X. :D :D :D Thanks to the fine work of all the developers. :D :D :D

Posted: Sat Nov 30, 2002 3:44 am
by SirDude
I'm pretty sure you just need to update your version of libpng.

Posted: Sat Nov 30, 2002 4:02 am
by VelikM
I used fink to install libpng, it's the latest version available there.

i libpng 1.0.12-6 PNG image format handling library
i libpng-shlibs 1.0.12-6 PNG image format handling library

Posted: Sat Nov 30, 2002 4:04 am
by SirDude
Guess your stuck installing from source then ;)

(or you can just change that line to

I believe thats the old def for it.

Posted: Sat Nov 30, 2002 6:49 am
by VelikM
All right that got me past the PNG problem. Next! :wink: It now compiles until:
../../../../blender/source/blender/include/BIF_gl.h:37: header file 'GL/gl.h' not found
../../../../blender/source/blender/include/BIF_gl.h:38: header file 'GL/glu.h' not found

The obvious for this is an include that gives the actual path to the OS X system files for gl.h and glu.h/, how to add an if statement to choose between GL/glu.h-GL/glu.h and

based on the ./configure --build=powerpc in BIF_gl.h.

Posted: Sat Nov 30, 2002 7:19 am
by VelikM
That worked! :D
This is the last error I've hit:
(cd .libs && rm -f && ln -s ../
make: don't know how to make Stop
*** Error code 1
I think this may be the final one.