sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > News & Discussion

Reply
 
Thread Tools
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
I've made a little guide on how to compile blender using only free tools (Scons build env). Anyone who wishes to try it out can view the guide here.

This is considered to be an 'alpha' version, please, if you find any error, kindly let me know so I can improve the walkthrough.
............................................
Mike's Blender site

Last edited by mpan3; 05-Apr-08 at 21:17.
#1   Old 17-Sep-06, 22:07   
Reply With Quote


kernond's Avatar
kernond kernond is offline
Member
 
Join Date: Aug 2005
Location: Virginia
Posts: 987
Thank You, Thank You, Thank You!!
............................................
BlenderNewbies
A resource for learning Blender 3D.
LINK: http://www.blendernewbies.com
----------------------------------------------------------
Check out the Blender Browser Toolbar
----------------------------------------------------------
BlenderNewbies Tutorial Compilation DVD-ROM
#2   Old 17-Sep-06, 23:02   
Reply With Quote
afecelis's Avatar
afecelis afecelis is offline
Member
 
Join Date: Oct 2004
Location: Colombia
Posts: 552
thanks mpan3! finally it all makes sense!
............................................

#3   Old 17-Sep-06, 23:55   
Reply With Quote
kakapo kakapo is offline
Member
 
Join Date: Jan 2005
Posts: 530
thanks! maybe this should go to the wiki so that it doesn't get forgotten?

just curious...

does something like scons also get used during development? if you just make some small changes to a c file does everything have to be recompiled? i guess not since waiting 20 minutes each time you want to try out something could be a pain?
#4   Old 18-Sep-06, 00:27   
Reply With Quote
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
Actually the article is based off the wiki, and can be found HERE. I simply took out some of the more advanced steps since my guide is targetted toward newbies (no offense :-)).

Kakapo has a very good question, and with my knowledge of scons, i can't answer that. An educated guess would be no, scons doesn't cache anything. So yes you do have to compile from scratch everytime.
............................................
Mike's Blender site
#5   Old 18-Sep-06, 02:15   
Reply With Quote
brecht brecht is online now
Member
 
Join Date: Jul 2005
Posts: 251
Scons is used by some of the developers (I'm not sure how many, but definitely more than just a few). It does not require recompiling everything on small changes, and there's a way to specify it to check a small part of the source (BF_QUICK=..), which makes things even faster. It's all nicely documented in doc/blender-scons.txt in the source.

Last edited by brecht; 18-Sep-06 at 02:40.
#6   Old 18-Sep-06, 02:36   
Reply With Quote
JD-multi's Avatar
JD-multi JD-multi is offline
Member
 
Join Date: Sep 2002
Location: The Netherlands, village: Nieuw-Beijerland
Posts: 3,001
Really awesome, I finally managed to build blender from source. Thanks for the cool tutorial
............................................
Do you use blender? Are you Dutch? Then join #blenderpraat at irc.freenode.net
The only real JD-Multi is me, all another companies or people named like me, are rip offs.

Last edited by JD-multi; 18-Sep-06 at 10:12.
#7   Old 18-Sep-06, 09:47   
Reply With Quote
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
Eugene also just happened to wrote a step-by-step guide on how to compile with MSVC Express 2005

You will need the following:

Visual C++ 2005 Express Edition
Microsoft ® Windows Server® 2003 R2 Platform SDK Web Install
DirectX End-User Runtime Web Installer
Quicktime SDK
...

FULL TEXT
............................................
Mike's Blender site
#8   Old 19-Sep-06, 01:39   
Reply With Quote
etr9j's Avatar
etr9j etr9j is offline
Member
 
Join Date: Jan 2006
Location: Maryland/DC Area, USA
Posts: 71
Thanks for posting my MSVC one Mike... I was about to add it to this post, until I reached your link to the site!
............................................
http://sunflow.sourceforge.net - A great open source rendering engine.
http://www.geneome.net - My video and written Blender tutorials.
#9   Old 19-Sep-06, 11:51   
Reply With Quote
Marty_D's Avatar
Marty_D Marty_D is offline
Member
 
Join Date: Oct 2003
Posts: 1,614
hmm, have to take a look at that. thanks for the link!
............................................
riding the Locknar: free speech is not for everyone
#10   Old 19-Sep-06, 12:51   
Reply With Quote
lucidMonkey's Avatar
lucidMonkey lucidMonkey is offline
Donating Member
 
Join Date: Feb 2004
Location: Everywhere
Posts: 863
not working for me. win2k.

Code:
Compiling ==> 'writeimage.c' Compiling ==> 'writemovie.c' Linking library ==> 'libsrc.a' The following character string is too long: r "C:\b\lib\libsrc.a" "C:\b\source\blender\src\B.blend.o" "C:\b\source\blender\ src\Bfont.o" "C:\b\source\blender\src\bfont.ttf.o" "C:\b\source\blender\src\blen derbuttons.o" "C:\b\source\blender\src\booleanops.o" "C:\b\source\blender\src\bo oleanops_mesh.o" "C:\blender\src\buttons_shading.o" "C:\b\source\blender\src\cma p.tga.o" "C:\b\source\blender\src\cmovie.tga.o" "C:\b\source\blender\src\cursors .o" "C:\b\source\blender\src\drawaction.o" "C:\b\source\blender\src\drawarmature .o" "C:\b\source\blender\src\drawdeps.o" *************whole bunch more of this***************** "C:\b\source\ blender\src\meshtools.o" "C:\b\source\blender\src\mywindow.o" "C:\b\source\blend er\src\oops.o" "C:\b\source\blender\src\outliner.o" "C:\b\source\blender\src scons: *** [C:\b\lib\libsrc.a] Error 1 scons: building terminated because of errors. C:\build\blender>scons BF_TOOLSET=mingw BF_BUILDDIR=c:\b
any help would be appreciated. I dl'd cvs from today. then i dowloaded 2.42a source as instructed. Then I tried switching the output path to C:\B as you see, instead of C:\Blender\Install. Always this same error....
............................................
Blend On!
#11   Old 20-Sep-06, 02:09   
Reply With Quote
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
Lucidmonkey, did you use the CVS build or the official 2.42a release tarball? The CVS could be broken (since it's it constantly being worked on), I suggest you compile on from the 2.42a tarball first.
............................................
Mike's Blender site
#12   Old 20-Sep-06, 04:05   
Reply With Quote
Big Fan's Avatar
Big Fan Big Fan is offline
Member
 
Join Date: Jul 2006
Posts: 354
So how do I actually include patches sitting in the tracker in a build?
#13   Old 20-Sep-06, 05:41   
Reply With Quote
lucidMonkey's Avatar
lucidMonkey lucidMonkey is offline
Donating Member
 
Join Date: Feb 2004
Location: Everywhere
Posts: 863
mpan3: I mentioned in my previous post that I tried cvs first, then when that failed I tried the 2.42a source.
............................................
Blend On!
#14   Old 20-Sep-06, 10:58   
Reply With Quote
lsscpp's Avatar
lsscpp lsscpp is offline
Member
 
Join Date: May 2006
Posts: 214
Quote:
WITH_BF_FFMPEG = 'false'
WITH_BF_QUICKTIME = 'false'
Really quicktime and avi codecs aren't going to work if I switch'em to 'true'? If not, why?

Btw, great job, thanks
#15   Old 20-Sep-06, 11:13   
Reply With Quote
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
lsscpp: You'll need to download external libraries (from apple.com, etc) to get those to work.

LucidMonkey, make sure the version of mingw you downloaded is 5.02. Then select 'candidate release' when installing. Your GCC (compiler) version should be 3.4.4 (mingw special). You can check by going into a command prompt and type in "gcc -v" ... or maybe it doesn't work at all under 2k (as harkyman suggested)

BigFan: use 'patch' from cygwin. refer to discussion here.
............................................
Mike's Blender site

Last edited by mpan3; 20-Sep-06 at 16:26.
#16   Old 20-Sep-06, 16:22   
Reply With Quote
AndyD's Avatar
AndyD AndyD is offline
Member
 
Join Date: Jul 2005
Location: Western Australia
Posts: 2,518
Now if someone could post a method for Mac OS X (10.3.9) users, that would be great

I'm sure the steps would be basically the same - but I'm not confident enough to take those steps without a definitive guide. I'm sure I've read somewhere that somethings have to be changed for a Mac build - but what?
............................................
OUT OF THE BOX - My animated video
Lip-Sync Tutorial ---- Bouncing Ball Tutorial
Andy Dolphin Cetacean Animation Blog
#17   Old 20-Sep-06, 16:54   
Reply With Quote
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
AndyD, haven you seen Scons for OS X Tiger?

Once you get that installed and working, compiling under OS X should be a breeze. of course there are other ways to build, for example 'make'.
............................................
Mike's Blender site
#18   Old 23-Sep-06, 21:23   
Reply With Quote
AndyD's Avatar
AndyD AndyD is offline
Member
 
Join Date: Jul 2005
Location: Western Australia
Posts: 2,518
Thanks but Tiger's 10.4, I'm on Panther - 10.3.9. I guess there's something available but for some reason I have this nagging feeling that I've read that building on Mac isn't so straight forward?
............................................
OUT OF THE BOX - My animated video
Lip-Sync Tutorial ---- Bouncing Ball Tutorial
Andy Dolphin Cetacean Animation Blog
#19   Old 24-Sep-06, 05:23   
Reply With Quote
mpan3's Avatar
mpan3 mpan3 is offline
Member
 
Join Date: Jun 2004
Location: Vancouver, Canada
Posts: 2,027
it might be outdated but give it a try: http://www.blender3d.org/forum/viewt...e22ee13b24374f
............................................
Mike's Blender site
#20   Old 24-Sep-06, 05:56   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blender 2.37a+Blender 2.3 Guide adament Basics & Interface 2 10-Sep-05 16:18
Blender 2.3 Guide tut Excitron Basics & Interface 11 22-Nov-04 21:34


All times are GMT. The time now is 18:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists