Hi Guy,

I'll fix this in the HEAD.  Meanwhile, you can put the following near the 
beginning of bsdf.c:

#define drand48()       (rand()*(1./MAX_RAND))

Cheers,
-Greg

> From: Guy Vaessen <[email protected]>
> Date: April 8, 2011 3:44:17 PM PDT
> 
> Dear Greg,
> 
> I have a problem compiling the latest HEAD in Windows.
> I think this is because drand48() as used in bsdf.c is not implemented in 
> Windows/MinGW.
> 
> Is there a way to fix this?
> 
> Best Regards,
> 
> Guy
_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to