I've been using Robert's recipe for a while with no issues. I get many warnings when compiling, but not critical ones any more. Most warnings have to do with potential loss of accuracy when converting numbers. I'm now using a more recent version of MSVC with no problems either. I think I was recently having issues with the TIFF library, but I'm not compiling pieces with those dependences any more. I'm currently using Radiance 5 more like a library, so I haven't tested the latest releases.
Cheers, Victor LRG On 29 July 2017 at 16:48, Gregory J. Ward <[email protected]> wrote: > Hi Victor, > > I suppose it depends on which compiler and set of libraries you are using > whether you need to include erf.c or not in your src/common/CMakeLists.txt > file or not. I don't know which compiler NREL is currently using -- I > thought it was MFC, but I've no idea which version. > > I don't think this would cause the error you are getting from xform, which > is suspicious. Perhaps you could send me your file in a private message, > and I could check if there is anything funny in there. > > Cheers, > -Greg > > P.S. Be sure to sign up to the radiance-dev mailing list via the > interface at <https://www.radiance-online.org/community/mailing-lists> so > you can post and receive responses. > > *From: *Victor LRG <[email protected]> > > *Date: *December 22, 2016 3:17:02 AM PST > > > Dear all, > > I amtrying to compile Radiance 5R0 for Windows using Cmake 3.7.1 x86 and > MVSC 2015 v14 with libtiff 3.8.2 and qt-x86-2.0.4. The compilation finished > with no errors (although some 1700 warnings), but when I am trying a simple > test I get the following error with ovonv: fatal - (!xform > objects/cage_sphere2.rad): bad arguments for polygon "311s1m134f". This > object has the following description, which seems right to me: > > cage_sphere polygon 311s1m134f > 0 > 0 > 9 -0.833925170898 0.506038208008 0.096073600769 > -0.819481933594 0.473128112793 0.0903565139771 > -0.853187255859 0.492587890625 0.0980178833008 > > In VS I can see the following warnings regarding oconv and xform: > > C4273 'erf': inconsistent dll linkage > C4273 'erfc': inconsistent dll linkage > > They both refer to rtmath.h file, which I guess they should refer to erf.c > as well? Actually, this warning also appears for most projects. I've > compiled and used the same package in linux before with no problem. > > Any ideas? > > Thanks > > Victor Lopez-Rioboo Gil > >
_______________________________________________ Radiance-dev mailing list [email protected] https://www.radiance-online.org/mailman/listinfo/radiance-dev
