[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27127] branches/render25/source/blender/ render/intern/source/cache.c: Render Branch: remove some test code left in accidentially, should fix

Thomas Dinges dingto at gmx.de
Thu Feb 25 13:01:32 CET 2010


Hey,
I dont know if I make it worng but I added:

CCFLAGS.extend([ '-IF:..\lib\windows\pthreads',
'-IF:..\lib\windows\pthreads\include'
,'-IF:..\lib\windows\pthreads\lib' ])
CXXFLAGS.extend([ '-IF:..\lib\windows\pthreads'
,'-IF:..\lib\windows\pthreads\include'
,'-IF:..\lib\windows\\pthreads\lib' ])

and it doesnt work yet. Therefore I added some pthread includes in
various scons files.
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross',
'win64-vc'):
    incs += ' ' + env['BF_PTHREADS_INC']

in space_image, space_vied3d and source/creator. With that it compiels
until the end, but gives me 1 Linker error:

LINK : error LNK2001: Nicht aufgelöstes externes Symbol "_mainCRTStartup".
L:\blender_dev\code\build\render25\bin\blender.exe : fatal error
LNK1120: 1 nich
t aufgelöste externe Verweise.
scons: *** [L:\blender_dev\code\build\render25\bin\blender.exe] Error 1120
scons: building terminated because of errors.

Thomas

Am 25.02.2010 12:32, schrieb lusque at email.it:
> Same problem here with scons/minGW.
> I resolved addig compiler flags in the userconfig.py file.
> Seems scons doesn't feed the compiler with the pthread library path.
>
> CCFLAGS.extend([ '-IF:\PROJ\BLENDER_RENDER25\lib\windows\pthreads', 
> '-IF:\PROJ\BLENDER_RENDER25\lib\windows\pthreads\include' 
> ,'-IF:\PROJ\BLENDER_RENDER25\lib\windows\pthreads\lib' ])
> CXXFLAGS.extend([ '-IF:\PROJ\BLENDER_RENDER25\lib\windows\pthreads' 
> ,'-IF:\PROJ\BLENDER_RENDER25\lib\windows\pthreads\include' 
> ,'-IF:\PROJ\BLENDER_RENDER25\lib\windows\pthreads\lib' ])
>
> Hope it helps
>
> On 25/02/2010 12.21, Thomas Dinges wrote:
>   
>> Hi Brecht,
>> i still have the pthread error with scons/msvc on Windows Vista x32
>>
>> source\blender\blenlib\BLI_threads.h(34) : fatal error C1083: Datei
>> (Include) ka
>> nn nicht geöffnet werden: "pthread.h": No such file or directory
>> scons: ***
>> [L:\blender_dev\code\build\render25\source\blender\editors\space_imag
>> e\image_buttons.obj] Error 2
>>
>> Any idea? :)
>>
>> Thomas
>>
>> Am 24.02.2010 19:57, schrieb Brecht Van Lommel:
>>     
>>> Revision: 27127
>>>            http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27127
>>> Author:   blendix
>>> Date:     2010-02-24 19:57:21 +0100 (Wed, 24 Feb 2010)
>>>
>>> Log Message:
>>> -----------
>>> Render Branch: remove some test code left in accidentially, should fix
>>> compile on windows.
>>>
>>> Modified Paths:
>>> --------------
>>>      branches/render25/source/blender/render/intern/source/cache.c
>>>
>>> Modified: branches/render25/source/blender/render/intern/source/cache.c
>>> ===================================================================
>>> --- branches/render25/source/blender/render/intern/source/cache.c	2010-02-24 18:06:51 UTC (rev 27126)
>>> +++ branches/render25/source/blender/render/intern/source/cache.c	2010-02-24 18:57:21 UTC (rev 27127)
>>> @@ -689,8 +689,6 @@
>>>
>>>   /* Lookup */
>>>
>>> -#include<fenv.h>
>>> -
>>>   int irr_cache_lookup(Render *re, ShadeInput *shi, IrrCache *cache, float *ao, float env[3], float indirect[3], float cP[3], float dPdu[3], float dPdv[3], float cN[3], int preprocess)
>>>   {
>>>   	IrrCacheSample *sample;
>>>
>>>
>>> _______________________________________________
>>> Bf-blender-cvs mailing list
>>> Bf-blender-cvs at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>>>
>>>
>>>       
>> _______________________________________________
>> 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:
>  Usa Mastercard per i tuoi acquisti, puoi vincere i biglietti per la finale UEFA Champions League. Gioca subito!
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10191&d=25-2
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>   



More information about the Bf-committers mailing list