View topic - Having problems to compile blender in Ubuntu lately?

Having problems to compile blender in Ubuntu lately?

General questions related with the YafaRay Project, 3D computer graphics and about this site.

Having problems to compile blender in Ubuntu lately?

Post Fri Apr 17, 2009 2:07 pm

For those of you having problems to compile blender from SVN source, there are a couple of situations that changed recently, one in blender's source and the other because of a possible video driver update for nvidia in ubuntu's restricted drivers:
1. The new FFMPEG code requires an assembler compiler, so if you don't have one, look for "yasm" in the synaptic package manager and install it. Blender installation may stop because of not having this installed.

2. If your nvidia restricted drivers recently updated to version 180, you might be having conflicts between your mesa-dev libraries for opengl and nvidia-glx-dev that might have gotten installed in the upgrade. It will generate a:
Code: Select all
/usr/bin/ld: cannot find -lGL

error.
They can't coexist next to each other, so if you got problems with the mesa-dev package, remove it and install nvidia's (or simply install nvidia's and the mesa package will get removed in the process):
Code: Select all
sudo apt-get install nvidia-glx-180-dev

or viceversa, if you had problems with nvidia's, then install the mesa-dev package, nvidia's will be removed in the process:
Code: Select all
sudo apt-get install libgl1-mesa-dev


It's a capricious behavior and it works differently on each system, you just gotta find the one that works best on your machine ;)

more info here:
http://blenderartists.org/forum/showthread.php?t=153564

Ps1. These changes also affect building blender+yafaray using Greenthumb's sevenblend script, so an update was also posted there.
Ps2. In windows I guess you can download yasm's latest executable from here (pick the version that fits your OS):
http://www.tortall.net/projects/yasm/wiki/Download
and include its path in your "Path" environment variable so it can be run system-wise.
User avatar
afecelis
 
Posts: 384
Joined: Fri Aug 19, 2005 1:17 am
Location: Colombia

Return to News & Discussion



Who is online

Users browsing this forum: No registered users and 6 guests

cron