[Bf-cycles] Building problem with Ubuntu 11.10

Davis Sorenson davis.sorenson at gmail.com
Sat Oct 29 11:26:05 CEST 2011


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

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:
> /usr/bin/c++    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20111029/e090481a/attachment.htm 


More information about the Bf-cycles mailing list