[Bf-committers] Open EXR Errors Kill Blender Compile

Kent Mein mein at cs.umn.edu
Tue Mar 27 17:08:30 CEST 2007


In reply to Phil Cote (cotejrp at cox.net):

> I want to compile Blender using make.  I get pretty far in the process
> but errors come up with respect to OpenEXR libraries.  I'm compiling on
> an Ubuntu box.  I've installed OpenEXR before using my package
> manager.  
> No success.
> 
> I've downloaded, configured, compiled, and installed from the OpenEXR
> source code from the latest stable version of OpenEXR.  It worked
> without a problem.
> Still no success in compiling Blender.
> 
> I'm pretty stuck and unsure as to whether or not this is an OpenEXR
> issue or a Blender issue.  Suggestions?

Hi Phil,

I'm commiting a fix for this in a few minutes.  Later versions of
OpenEXR have a IlmThread.a library that you also need to link in.

Thanks,

Kent
> 
> 
> 
> g++ -c -DUSE_SUMO_SOLID -pipe -fPIC -DNDEBUG -O2 -DMOZ_NOT_NET
> -I../Physics/common -I../Physics/Dummy -I/usr/include -I/usr/include
> -I/usr/include -I/usr/include -I../../include -I../../blenkernel
> -I../../blenlib -I../../avi -I../../quicktime
> -I/home/cotejrp/blender_stuff/blenderdev/blender-2.43/../lib/linux-glibc2.3.6-i386/guardedalloc/include -I/home/cotejrp/blender_stuff/blenderdev/blender-2.43/../lib/linux-glibc2.3.6-i386/memutil/include -I../../makesdna -I.. -DWITH_FFMPEG -I/home/cotejrp/blender_stuff/blenderdev/blender-2.43/../lib/linux-glibc2.3.6-i386/ffmpeg/include -I../../../makesdna -I../../../blenkernel -I../../../blenlib -I../../../imbuf -I../../../imbuf/intern -I/home/cotejrp/blender_stuff/blenderdev/blender-2.43/../lib/linux-glibc2.3.6-i386/guardedalloc/include -I/usr/include -I/usr/include/OpenEXR -I. openexr_api.cpp -o /home/cotejrp/blender_stuff/blenderdev/blender-2.43/obj/linux-glibc2.3.6-i386/blender/imbuf/openexr/openexr_api.o
> In file included from openexr_api.cpp:81:
> /usr/local/include/OpenEXR/ImfInputFile.h:51:26: error: ImfThreading.h:
> No such file or directory
> /usr/local/include/OpenEXR/ImfInputFile.h:71: error: ‘globalThreadCount’
> was not declared in this scope
> /usr/local/include/OpenEXR/ImfInputFile.h:83: error: ‘globalThreadCount’
> was not declared in this scope
> /usr/local/include/OpenEXR/ImfOutputFile.h:72: error:
> ‘globalThreadCount’ was not declared in this scope
> /usr/local/include/OpenEXR/ImfOutputFile.h:88: error:
> ‘globalThreadCount’ was not declared in this scope
> make[5]: ***
> [/home/cotejrp/blender_stuff/blenderdev/blender-2.43/obj/linux-glibc2.3.6-i386/blender/imbuf/openexr/openexr_api.o] Error 1
> make[4]: *** [all] Error 1
> make[3]: *** [all] Error 1
> make[2]: *** [all] Error 1
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
> 
> 
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers

-- 
mein at cs.umn.edu
http://www.cs.umn.edu/~mein


More information about the Bf-committers mailing list