Gendaylit fails to compile with the following error: 1>..\..\..\src\gen\gendaylit.c(186): error C2065: 'M_PI' : undeclared identifier
To use Math Constants such as M_PI in Visual Studio you need to define _USE_MATH_DEFINES -> http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx I added it to the pre-processor definitions in the project settings for gendaylit.c & it builds without error but you could add it in the source itself. This is using the latest "combined" code from the repository at http://public.kitware.com/gitweb?p=radiance.git [IES]<http://www.iesve.com/> Palbinder Sandher Software Platform Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com<http://www.iesve.com/> **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer<http://www.iesve.com/disclaimer.html>
<<inline: image001.jpg>>
_______________________________________________ Radiance-dev mailing list [email protected] http://www.radiance-online.org/mailman/listinfo/radiance-dev
