[Bf-committers] GCC 4.7 compile error.

Renato Perini rperini at email.it
Thu Apr 5 13:46:43 CEST 2012


1.48 seems to be affected too. 1.49 includes the fix.

Il 05/04/2012 14:11, Bastien Montagne ha scritto:
> Yes, I too had to switch back to my own distrib version of boost (1.48)
> to get it compiled with gcc-4.7…
>
> Le jeudi 5 avril 2012 10:43:24, Renato Perini a écrit :
>> Even Boost 1.47 (included in linux64 trunk libs) complains about GCC 4.7:
>> Compiling ==>   'bvh_build.cpp'
>> In file included from /usr/include/boost/thread/detail/platform.hpp:17:0,
>>                     from /usr/include/boost/thread/thread.hpp:12,
>>                     from /usr/include/boost/thread.hpp:13,
>>                     from intern/cycles/util/util_thread.h:22,
>>                     from intern/cycles/render/scene.h:30,
>>                     from intern/cycles/bvh/bvh_build.cpp:25:
>> /usr/include/boost/config/requires_threads.hpp:29:4: error: #error
>> "Threading support unavaliable: it has been explicitly disabled with
>> BOOST_DISABLE_THREADS"
>> In file included from /usr/include/boost/thread/thread.hpp:12:0,
>>                     from /usr/include/boost/thread.hpp:13,
>>                     from intern/cycles/util/util_thread.h:22,
>>                     from intern/cycles/render/scene.h:30,
>>                     from intern/cycles/bvh/bvh_build.cpp:25:
>> /usr/include/boost/thread/detail/platform.hpp:67:9: error: #error
>> "Sorry, no boost threads are available for this platform."
>> In file included from /usr/include/boost/thread.hpp:13:0,
>>                     from intern/cycles/util/util_thread.h:22,
>>                     from intern/cycles/render/scene.h:30,
>>                     from intern/cycles/bvh/bvh_build.cpp:25:
>> /usr/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads
>> unavailable on this platform"
>> ------------snip-----------snip----------snip--------------
>>
>> The problem with boost threads and GCC 4.7 is described here:
>> https://svn.boost.org/trac/boost/ticket/6165
>>
>> Building against Boost 1.49 seems to fix the compile errors and makes
>> Blender happy again.
>> Time to update Boost in trunk/lib/linux{64}?
>>
>> Il 26/03/2012 14:07, Renato Perini ha scritto:
>>> Compiling ==>    'VideoFFmpeg.cpp'
>>> In file included from /usr/include/unistd.h:227:0,
>>>                      from /usr/include/python3.2mu/Python.h:36,
>>>                      from source/gameengine/Expressions/KX_Python.h:47,
>>>                      from source/gameengine/Expressions/PyObjectPlus.h:43,
>>>                      from source/gameengine/VideoTexture/VideoBase.h:31,
>>>                      from source/gameengine/VideoTexture/VideoFFmpeg.h:69,
>>>                      from source/gameengine/VideoTexture/VideoFFmpeg.cpp:43:
>>> /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h:417:43: error:
>>> operator '&&' has no right operand
>>> In file included from /usr/include/signal.h:349:0,
>>>                      from intern/moto/include/MT_assert.h:36,
>>>                      from intern/moto/include/MT_Vector3.h:50,
>>>                      from source/gameengine/Expressions/PyObjectPlus.h:45,
>>>                      from source/gameengine/VideoTexture/VideoBase.h:31,
>>>                      from source/gameengine/VideoTexture/VideoFFmpeg.h:69,
>>>                      from source/gameengine/VideoTexture/VideoFFmpeg.cpp:43:
>>> /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h:417:43: error:
>>> operator '&&' has no right operand
>>> scons: ***
>>> [/home/mjordan/Blender/build/linux/source/gameengine/VideoTexture/VideoFFmpeg.o]
>>> Error 1
>>> scons: building terminated because of errors.
>>>
>>>
>>> Using linux x64, GCC 4.7 x64, scons.
>>>
>>>
>>>
>>>     --
>>>     Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
>>>
>>>     Sponsor:
>>>     Offerte hotel Pasqua a Riccione, Rimini, Cattolica o Misano, tante proposte di Costahotels in alberghi di varia categoria per le vacanze di Pasqua al mare
>>>     Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12232&d=26-3
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>>
>>    --
>>    Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
>>
>>    Sponsor:
>>    Pacchetto Pasqua Riccione all'hotel Milano Helvetia Pensione completa + Acqua e Vino della casa, compresi ai pasti, 2 giorni Euro 174 a persona, bimbi 0 - 2 anni gratis (nel lettino). Miniclub
>>    Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12272&d=5-4
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Speciale Pasqua Riccione 2 notti all'hotel Antibes da Euro 69 al giorno per persona in pensione completa, bevande e caffetteria ai pasti e uovo di Pasqua
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12269&d=5-4


More information about the Bf-committers mailing list