» Blender 2.66.3 + OSL (Ubuntu/Mint)
Updated 17:57 March 20th, 2013
(2406)  6,983

Update: Due to time constraints, I won't be updating this build any more. You can get official builds trunk builds from http://builder.blender.org/download/, or Irie Shinsuke has a ubuntu PPA here: https://launchpad.net/~irie/+archive/blender



Happy blending :) 


This is Blender's trunk, built on Ubuntu 12.04 64bit. If you have problems running this build, please let me know in the comments :)


If you are using Linux Mint, then you may have to run the following commands for this build to work:

sudo apt-get install libglew1.6-dev libspnav-dev

sudo ln -s /usr/lib/x86_64-linux-gnu/libGLEW.so.1.6.0 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.8

42 Comments so far. Leave yours.
19:20 February 23rd, 2013
42 . JamesNZ (builder)
@delta, no idea what's up there because I don't compile with CUDA :) Try asking the devs on IRC #blendercoders
07:45 February 23rd, 2013
Not sure why but since version 2.65 I've lost possibility to success compiling cuda kernel for gpu rendering in ubuntu 12.10 and now get compiling cuda kernel failure command 'due to signal 9' which means not enough memory (Ram, I use 4GB) but in 2.64 this wasn't an issue. Any solution?
16:23 February 10th, 2013
40 . JamesNZ (builder)
@szopek, No idea sorry :(
13:00 February 8th, 2013
Is there a way to run this on Debian? The problem's that GLIBC_2.15's not available in repos.
13:18 January 20th, 2013
38 . JamesNZ (builder)
@piotao, yep that's a bug. It was fixed in r53916. I'll update the build tomorrow :)
12:11 January 20th, 2013
This build in version 2.65.9 works, but after pressing Ctrl+R in edit mode it immediately crashes, with crash report:
# Blender 2.65 (sub 9), Revision: 53914
bpy.ops.object.editmode_toggle() # Operator

# backtrace
./blender() [0x97285f]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f268a8084a0]

So, at first glance it works, but some quirks are still there... :/
23:00 January 14th, 2013
36 . JamesNZ (builder)
@Zauber Paracelsus, Haven't the foggiest idea, but I'll look into it :)
11:12 January 14th, 2013
@JazesNZ: Okay, thanks. Giving it a try now.

By the way, are you building with the -pipe flag? If that flag is enabled, the build process uses much more RAM. Disabling it may fix your memory issue, though it'll make the build process slower.
17:38 January 12th, 2013
34 . JamesNZ (builder)
@Zauber Paracelsus, This is the official guide for Ubuntu, using cmake: http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Ubuntu/CMake

To compile the CUDA kernels, you have to install the CUDA Toolkit 4.2, and point it's install directory to one of the compile flags (can't remember which). More info here: http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Building. If you get stuck, just ask on BA :)

@piotao, Glad it's working for you :)
15:25 January 12th, 2013
This build now (2.65.8) works in my old Mint 11, thank you VERY MUCH!!!! :) This is brilliant build, it has images as planes import working again! :)
07:22 January 12th, 2013
Could you provide instructions so that I can compile a build with OSL and Cuda enabled? My system has 8gb of RAM, so I probably shouldn't have any trouble compiling it.
13:26 January 10th, 2013
31 . JamesNZ (builder)
@famouswolf, yes this build does not have CUDA. My system runs out of RAM when I build the CUDA kernels, unfortunately :|
10:47 January 10th, 2013
Hi there. Was this built without Cuda? I dont see it when I go to the system tab of the preferences, only cpu.
Cuda is there and works great in the official build from blender.org. I'm fairly new to linux so I'm not sure
if I'm missing a dependency or two. The build does work and doesnt give any errors when I run it through the terminal, just no Cuda.
I'm on Mint 14 Cinnamon. Thanks
13:59 January 3rd, 2013
29 . JamesNZ (builder)
@ygs, latest update has bundled python :)
13:20 January 2nd, 2013
@JamesNZ, Hi! Thanks for update. Though I had to copy python/ directory (python 3.3) to /2.65 subdirectory to make it working on my ubuntu 12.04, dyntopo works fine.
07:47 December 9th, 2012
yes, now it works! thanks! :)
10:52 December 8th, 2012
26 . JamesNZ (builder)
@rabbitator, Have you got python 3.3 installed? Ubuntu comes with 2.7, but you need 3.3 for this build. Run in the terminal: sudo apt-get install python3

Let me know if it works :)
15:15 December 7th, 2012
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'
Aborted (core dumped)

Linux Mint 13, libglew1.6-dev libspnav-dev has installed, what shoul I do to run this build?
13:21 December 7th, 2012
24 . JamesNZ (builder)
@m9105826, Nope, my fault. In the latest update I've statically linked all the boost libraries, before it was dynamic ;)

If this doesn't work, I will scream for 10 minutes :P :D
20:26 December 6th, 2012
I'm thinking there's got to be something wrong on my end now. Now I fail at libboost_filesystem.so.1.51.0. Symbolic link to 1.49.0 does nothing and I can't seem to find 1.51 for Mint.
23:18 December 5th, 2012
22 . JamesNZ (builder)
@m9105826, FINALLY got it compiling on 12.04! Gee that took me a solid two days.

And I don't even know if it's going to work on Mint, python 3.2 is going to be deprecated soon so I'm linking this against python 3.3 :( I talked to Sergey on IRC and he said that if I link stuff statically there shouldn't be any cross-distro incompatibility, fingers crossed ;)
01:35 December 4th, 2012
21 . JamesNZ (builder)
Grrrrrr!! I hate it when dependencies get in the way >:( I'll ask on #blendercoders tomorrow how they build Blender for linux, the official builds seem to have a lot of compatibility between distros so maybe they can give me some tips.

Thanks again for letting me know m9105826 :)
23:17 December 3rd, 2012
Found the OIIO deb on the debian website, it fails at the libtiff4 dependency, even though I have libtiff4. Now I'm completely lost.
22:59 December 3rd, 2012
Failing on libOpenImageIO.so.1.0 now. Trying to find the package, no luck so far unless it's named something esoteric and I just can't find it.
22:59 December 3rd, 2012
Failing on libOpenImageIO.so.1.0 now. Trying to find the package, no luck so far unless it's named something esoteric and I just can't find it.
18:56 December 3rd, 2012
17 . JamesNZ (builder)
Ok I've updated the build, could you try it out m9105826?

This one is linked with libtiff4-dev so hopefully that will fix the issue. I got a warning about how libtiff5-dev is needed by libOpenImage but it doesn't seem to affect anything, Blender still compiled and ran flawlessly. And least for me :P
17:07 December 3rd, 2012
16 . JamesNZ (builder)
@m9105826: Thanks for letting me know, interestingly enough I just noticed that I've been building blender with libtiff5-dev for the last week or so; which didn't used to work. I installed libtiff4-dev but got some linking errors related to OIIO, possibly because I build it with libtiff5-dev??

Anyway, will recompile OIIO with libtiff4-dev and if that works I'll update the build :)
15:11 December 3rd, 2012
I'm using Mint and the console is telling me I don't have libtiff.so.5. As far as I can tell it's not in the repo either. Linking to LibTiff 4 doesn't fix the problem. Any ideas?
17:31 November 27th, 2012
14 . JamesNZ (builder)
@piotao: whoops, sorry about that! I recently deleted the build folder in an effort to get OSL compiling, so cmake probably set itself to compile with python3.3. I've linked it against 3.2 in the most recent update :)

Unfortunately Ubuntu only has glew1.8 in it's repos so I'm unable to link it against an older version.
23:45 November 26th, 2012
Hi James, thank you, but blender is still linked against python 3.3, After downloading (today) I've got this:
./blender: error while loading shared libraries: libpython3.3m.so.1.0: cannot open shared object file: No such file or directory
Also, linked libGLEW is 1.8 while there's only 1.6 in the system.

I've made symbolic links from libGLEW1.7.so to libGLEW1.8.so and from libpython3.2mu.so to libpython3.3m.so, and eventually blender started, but failed immediately with pyhon error:
./blender: symbol lookup error: ./blender: undefined symbol: PyUnicode_FromStringAndSize

So, unfortunately, I'm unable to prepare my system to start with this fresh compilation, which makes me very unhappy.
20:24 November 19th, 2012
12 . JamesNZ (builder)
Glad to help :D
20:10 November 19th, 2012
duh... Yep "enabling" the makehuman addon makes a BIG difference :)) thanks for that ( I feel I have just had my blonde moment for today)

all working great now

cheers James
20:07 November 19th, 2012
10 . JamesNZ (builder)
Ok, updated the description :)

Here's the link to the MH importer: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons/io_import_scene_mhx.py
Though it's already in the Addons so you shouldn't need to download it again.
20:00 November 19th, 2012
9 . JamesNZ (builder)
libglew1.6-dev isn't in the ubuntu repos, I'll make a note in the description that mint users might have to install libglew1.6-dev and link it as you did.

About MH, yes, if I enable the MH importer in the addons then I can see the option under File >> Import.
19:59 November 19th, 2012
Update, I little bit more digging around I found this page


it suugest I need to install the script on that page ie


but I cant get at it ( server not found) is the server down for maintenance?

If not do you know of anyway I could get a copy of the script?

Thanks :)
19:32 November 19th, 2012
Hi James, thanks for that, yes I managed to get this latest build to work with mint 13, but not without some teething issues. The build is not complaining about the libpython any more but it ran into a couple of other dependency issues.

I had to install libglew-dev-1.6 package ( it requested the 1.8 but that was not available) and I linked the 1.8

> sudo ln -s /usr/lib/x86_64-linux-gnu/libGLEW.so.1.6.0 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.8

also had to install libspnav-dev package and then it sprang to life, but did not resolve the issue I was trying to cure that I found on the 2.64a build that I had already installed. That being the ability to import makehuman (MHX files) the documentation on http://www.makehuman.org/node/241 suggests that there is no need to move python scripts about for this version of blender and the functionality is inbuilt.

Could you check for me if this is actually the case, ie go to file -> import and can you see the option to import makehuman mhx files?

Thanks in advance ;)
17:43 November 19th, 2012
6 . JamesNZ (builder)
Just reuploaded the build, this time it's linked with python 3.2.3.
Let me know if it works for you :)
15:47 November 19th, 2012
5 . JamesNZ (builder)
Sure, I'll just wait for my fedora build to upload then I'll reboot into Ubuntu and switch to libpython3.2 :) Incidentally, I think the reason it's linking against 3.3 is because I compiled python locally using the new dependency install script. I guess the source the script downloaded was for the 3.3 release.

Thanks for letting me know :)
14:03 November 19th, 2012
Hi James, as with piotao, I have tried to run this against a Mint 13 ( maya build) but hit the same issue with respect to the libpython3.3m.so.1.0 missing from system an no way to upgrade ( the latest libpython on the repo is 3.2 ). Can I also ask if possible to rebuild using an older version of the python lib
03:49 November 19th, 2012
I've tested it also on updated debian testing (whezzy), and still no luck. I don't have libpython3.3 anywhere in repo, so no libpython3.3.so lib file is in my system. In the bundle you've provided is ./python/lib/python3.3/lib-dynload path and this is the only one with libraries. No libpython3.3.so there either.

Linking to libpython3.2 doesn't work, because it says that the binary is from CLASS32 not 64.

Then, finally my question is, if you could be so nice and compile/package/whatever this fresh version with python3.2 and a bit older libs... (libjpeg62, libavcodec53, etc.). Saying that, I'm pretty sure it will work on Ubuntu 12, but unfortunately, I had to freeze my distro in order to keep my ffmpeg screencasting working (I've compiled my own ffmpeg version). Every and each upgrade had the ability to destroy this functionality (and I had to hold some vital packages), so now I'm stuck.
16:35 November 18th, 2012
2 . JamesNZ (builder)
@piotao: Thanks for testing it, I've re-uploaded the build with python bundled in the file. Let me know if that works :)
If it doesn't then I'll try linking it with libpython3.2.

BTW libpython3.3 is in Ubuntu's repos, so I think it should be the same for Mint?
15:01 November 18th, 2012
Doen't work on Linux Mint 11, due to libpython3.3m.so.1.0, which is absent in packages. Could you please link it against libpython3.2 ?
Feeling talkative?
Log in to leave a comment.