[Bf-cycles] Building problem with Ubuntu 11.10

Robert Feld robertmfeld at googlemail.com
Sun Oct 30 18:20:00 CET 2011

2011/10/29 Davis Sorenson <davis.sorenson at gmail.com>
> Hi Robert,
> I had exactly the same problem myself (Also Ubuntu 11.10 64 bit), I can't remember if it was a problem with Boost or OIIO directly. What happened is that I used my own folder naming conventions and didn't follow the guide to the letter. Do that first to get a working build, then if you want to have your own folder names, carefully change your CMake configuration and folder names a little at a time. You'll have to rebuild the configuration and Blender/Cycles completely if you want to change the name of the build directory, my advice is to install cmake-gui, create the new build folder, open cmake-gui in both folders and copy the configuration manually.
> Hope that helps.
> Davis

Hi Davis,
actually it did. I built up the configuration of OIIO with cmake-gui.
While playing around I found a workaround for the problem. When I
build OIIO as dynamic library I don't get the error when building
blender. However when starting blender it doesn't find the oiio
dynamic lib and I have to use LD_LIBRARY_PATH to make it run.

This is not really satisfactory but I can now play around with the
great cycles. When I find time I will investigate the issue further.

Kind regards,
> On Sat, Oct 29, 2011 at 3:45 AM, Robert Feld <robertmfeld at googlemail.com> wrote:
>> Hello,
>> I failed building the cycles branch of blender under Ubuntu 11.10
>> Following the instructions in the wiki I tried building 41354 of
>> https://svn.blender.org/svnroot/bf-blender/branches/cycles
>> After building boost and oiio successfully building blender failed with:
>> blender-svn/cycles-branch/oiio/dist/linux/lib/libOpenImageIO.a(jpeg2000input.cpp.o):
>> In function `OpenImageIO::v0::jpeg2000_input_imageio_create()':
>> jpeg2000input.cpp:(.text+0x3d4): undefined reference to `jas_init'
>> [many errors of the same kind following]
>> The only thing that I noticed before was the message
>> CMake Warning:
>>   Manually-specified variables were not used by the project:
>>     BOOST
>> that cmake gave me. However in the output of make VERBOSE=1 it seems
>> that it links the correct version of boost:
>> -D_LARGEFILE64_SOURCE -fopenmp  -msse2  -msse -pipe -fPIC
>> -funsigned-char -fno-strict-aliasing  -Wall -Wno-invalid-offsetof
>> -Wno-sign-compare -O2 -DNDEBUG -DNDEBUG    -pthread
>> CMakeFiles/blender.dir/creator.c.o CMakeFiles/blender.dir/buildinfo.c.o
>> -o ../../bin/blender -rdynamic
>> -L/home/sceiss/blender-svn/cycles-branch/build/../boost/lib
>> ../../lib/libbf_windowmanager.a ../../lib/libbf_editor_space_api.a ../../lib
>> /libbf_editor_space_action.a ../../lib/libbf_editor_space_buttons.a
>> ../../lib/libbf_editor_space_console.a
>>     [--many more libs...--]
>> ../../lib/libbf_editor_space_file.a ../../../boost/lib/libboost_date_time.a
>> I did build the cycles branch a while ago successfully with Ubuntu
>> 11.04. So could the new version (i.e. the new versions of the
>> toolchain/libs) be the reason?
>> Any idea what to try of how to fix the problem?
>> Kind regards,
>> Robert
>> _______________________________________________
>> Bf-cycles mailing list
>> Bf-cycles at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-cycles
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles

More information about the Bf-cycles mailing list