[Bf-committers] Re: [Bf-blender-cvs] CVS commit:
blender/source/blender/blenkernel/bad_level_call_stubs stubs.c
Ton Roosendaal
ton at blender.org
Sun Dec 24 12:00:51 CET 2006
Hi,
No that is not the good location to add the stub in.
The player should be compiled without OpenEXR, then it already uses the
stubs from the imbuf.
-Ton-
On 24 Dec, 2006, at 11:47, Nicholas Bishop wrote:
> This seems to break linking for me when compiling with openexr enabled:
> Linking program ==> 'blender'
> Linking program ==> 'blenderplayer'
> /home/nicholasbishop/GSOC-2006/bf-blender/build/linux2/lib/
> libblenkernel_blc.a(stubs.o):
> In function `IMB_exr_close':
> source/blender/blenkernel/bad_level_call_stubs/stubs.c:305: multiple
> definition of `IMB_exr_close'
> /home/nicholasbishop/GSOC-2006/bf-blender/build/linux2/lib/
> libbf_openexr.a(openexr_api.o):source/blender/imbuf/intern/openexr/
> openexr_api.cpp:614:
> first defined here
> /usr/bin/ld: Warning: size of symbol `IMB_exr_close' changed from 237
> in
> /home/nicholasbishop/GSOC-2006/bf-blender/build/linux2/lib/
> libbf_openexr.a(openexr_api.o)
> to 24 in
> /home/nicholasbishop/GSOC-2006/bf-blender/build/linux2/lib/
> libblenkernel_blc.a(stubs.o)
> collect2: ld returned 1 exit status
> scons: ***
> [/home/nicholasbishop/GSOC-2006/bf-blender/build/linux2/bin/
> blenderplayer]
> Error 1
> scons: building terminated because of errors.
>
> -Nicholas
>
> On 12/23/06, Alexander Ewering <blender at instinctive.de> wrote:
>> intrr (Alexander Ewering) 2006/12/23 13:19:18 CET
>>
>> Modified files:
>> blender/source/blender/blenkernel/bad_level_call_stubs stubs.c
>>
>> Log:
>> Add a stub for IMB_exr_close() so blenderplayer compiles again
>>
>> (I hope I did this right - works for me at least)
>>
>> Revision Changes Path
>> 1.65 +4 -1
>> blender/source/blender/blenkernel/bad_level_call_stubs/stubs.c
>>
>> <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/
>> blender/blenkernel/bad_level_call_stubs/stubs.c.diff?
>> r1=1.64&r2=1.65&cvsroot=bf-blender>
>> _______________________________________________
>> Bf-blender-cvs mailing list
>> Bf-blender-cvs at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
>
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton at blender.org
http://www.blender.org
More information about the Bf-committers
mailing list