Previous Thread  Next Thread

chat icon Compile on OS X until

VelikM

Posted: Sat Nov 30, 2002 1:03 am
Joined: 14 Oct 2002
Posts: 80
This is the compile results on the cvs01 updated 29/11/02. it compiles python Very Happy Very Happy 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. Very Happy Very Happy Very Happy Thanks to the fine work of all the developers. Very Happy Very Happy Very Happy
Reply with quote


SirDude

Posted: Sat Nov 30, 2002 3:44 am
Joined: 13 Oct 2002
Posts: 939
I'm pretty sure you just need to update your version of libpng.
Reply with quote


VelikM

Posted: Sat Nov 30, 2002 4:02 am
Joined: 14 Oct 2002
Posts: 80
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
Reply with quote


SirDude

Posted: Sat Nov 30, 2002 4:04 am
Joined: 13 Oct 2002
Posts: 939
Guess your stuck installing from source then Wink

(or you can just change that line to
PNG_COLOR_TYPE_RGB

I believe thats the old def for it.
Reply with quote


VelikM

Posted: Sat Nov 30, 2002 6:49 am
Joined: 14 Oct 2002
Posts: 80
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
AC_CHECK_HEADER([/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h])
AC_CHECK_HEADER([/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glu.h])

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


VelikM

Posted: Sat Nov 30, 2002 7:19 am
Joined: 14 Oct 2002
Posts: 80
That worked! Very Happy
This is the last error I've hit:
creating libblender_creator.la
(cd .libs && rm -f libblender_creator.la && ln -s ../libblender_creator.la libblender_creator.la)
make: don't know how to make blenderpublisher.app.c. Stop
*** Error code 1
I think this may be the final one.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group