OS X Project Builder

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Tubal_C
Posts: 5
Joined: Wed Oct 16, 2002 12:05 am

OS X Project Builder

Post by Tubal_C » Tue Jan 07, 2003 9:34 pm

Is there any progress being made with Project Builder ?
Is compiling OS X version better off being done with pbxbuild / Project Builder or plain Ol' command line GCC? How was the original OS X port compiled? Code Warrior, Project Builder or gcc?
Those that are working on the OS X build please drop me a line.
brojohnson@comcast.net I can also be reached at brojohnson on AIM and I'm usually in #blenderchat as powermacg4

SirDude
Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Post by SirDude » Tue Jan 07, 2003 9:46 pm

I think everyone is using the Makefile system that is in cvs01

Download cvs01 and take a look at the readme its pretty
straight forward.

If you have any questions on it swing by #blendersauce and ask
your questions :)

SirDude
Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Post by SirDude » Tue Jan 07, 2003 9:49 pm

oops its not called cvs01 anymore its bf-blender sorry :)

kattkieru
Posts: 17
Joined: Wed Oct 16, 2002 3:30 pm

Post by kattkieru » Thu Jan 09, 2003 8:54 pm

On the committers list there is progress being made every so often, with new versions being comitted to the CVS server. I've yet to compile the whole thing yet, but the closest I've gotten thus far has been with the command line. So far, the project builder files don't work on my system.

kurzog
Posts: 0
Joined: Tue Jan 07, 2003 1:52 am
Location: Minnesota, USA
Contact:

OS X

Post by kurzog » Sat Jan 11, 2003 12:30 am

Are there the beginnings of Project Builder files in the CVS for downloading? I'd also like to get rolling with being able to compile Blender without using the commandline...

Thanks!

Money_YaY!
Posts: 442
Joined: Wed Oct 23, 2002 2:47 pm

Post by Money_YaY! » Mon Mar 10, 2003 3:06 am

Anything else alive here? Please say somebody has done the impossible
^v^

effeuno
Posts: 4
Joined: Thu Oct 17, 2002 11:58 pm
Location: Piacenza (IT)

Post by effeuno » Mon Mar 10, 2003 8:52 am

Trying to compile OSX version of Blender using autoconfigure I got the same error reported by Velik in
http://www.blender.org/modules.php?op=m ... opic&t=889
:(
I cant solve the problem but I hope the next release will fix it.

F1

Bischofftep
Posts: 0
Joined: Thu Feb 06, 2003 11:01 pm
Location: Richmond, VA
Contact:

Some Help

Post by Bischofftep » Fri Apr 11, 2003 7:01 pm

Hello:

Using a bash script given to me by one of the more experienced Blender coders, I have had no problem successfully compiling using the command line. The script is simple:

Code: Select all

#!/bin/bash

rm -f /tmp/.nanguess
export MAKE=make
export NANBLENDERHOME="/Users/developer/Projects/blender"
export OS="darwin"
export NAN_NSPR="/Users/developer/Projects/nspr422-Darwin6.4"
export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
echo
echo NANBLENDERHOME : ${NANBLENDERHOME}
echo OS : ${OS}

export NAN_PYTHON="/Library/Frameworks/Python.framework/Versions/2.2"

$HMAKE -C extern/
if [ $? -eq 0 ]; then
	$HMAKE -C intern/
	if [ $? -eq 0 ]; then
		$HMAKE -C source/
	fi
fi
Naturally, you'll need to change the paths listed here... but if you do so you won't have to edit paths anywhere else. Then just CD into the blender directory and type "bash ../makeblenderscript" and it'll do its thing.

I also have a working ProjectBuilder with Maarten's help, but at the moment the binary it builds is NOT the same as from the command line by a LONG shot, and there are a lot of problems with it that I haven't yet ironed out. It works... but the code isn't as stable (or as small...) as the command line script above generates.

Hope it helps: if Maarten agrees that my PB file is usable he'll commit it to the CVS soon.

-Bischofftep

kurzog
Posts: 0
Joined: Tue Jan 07, 2003 1:52 am
Location: Minnesota, USA
Contact:

Re: Some Help

Post by kurzog » Sat Apr 12, 2003 12:46 am

Bischofftep wrote: I also have a working ProjectBuilder with Maarten's help, but at the moment the binary it builds is NOT the same as from the command line by a LONG shot, and there are a lot of problems with it that I haven't yet ironed out. It works... but the code isn't as stable (or as small...) as the command line script above generates.

Hope it helps: if Maarten agrees that my PB file is usable he'll commit it to the CVS soon.

-Bischofftep
I look forward to that - thanks!

kurzog
Posts: 0
Joined: Tue Jan 07, 2003 1:52 am
Location: Minnesota, USA
Contact:

OS X Project Builder

Post by kurzog » Sun Jun 22, 2003 4:42 pm

Has there been any progress with the PB compile for OS X?

If yes, where can I get it.. if no - can I have what you have so I can attempt to work on it as well?

Thanks!

SirDude
Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Post by SirDude » Mon Jun 23, 2003 2:11 am

All of the Projectbuilder files are in the cvs tree.
under make/pb_2_0_1 If you have any patches
email them to the bf-committers mailling list and we'll
apply them.

kurzog
Posts: 0
Joined: Tue Jan 07, 2003 1:52 am
Location: Minnesota, USA
Contact:

Post by kurzog » Mon Jun 23, 2003 3:22 am

Thanks!

kurzog
Posts: 0
Joined: Tue Jan 07, 2003 1:52 am
Location: Minnesota, USA
Contact:

Post by kurzog » Mon Jun 23, 2003 3:42 am

Sorry to be a bother (again), but what is the state of the PB port?

SirDude
Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Post by SirDude » Mon Jun 23, 2003 5:36 am

No idea really sorry. I've never used it.
I'd be glad to help you with the nan makefiles
and or the autoconf stuff though if you have questions
there.

kurzog
Posts: 0
Joined: Tue Jan 07, 2003 1:52 am
Location: Minnesota, USA
Contact:

Post by kurzog » Tue Jun 24, 2003 3:54 am

Thanks again, SirDude.. I may bug you again.. ;)

Post Reply