I’ve been using MSVC in Microsoft Visual Studio 2013 Professional, Cmake 3.3.2, Qt 5.3. But I’ve also not built the source completely successfully in a while. We’ve been ironing out some kinks in the Pmap stuff. Haven’t had a chance to give Roland’s latest patches a try, nor am I sure that’s related to anything you’re attempting to do.
On 7/29/17, 9:48 AM, "Gregory J. Ward" <gregoryjw...@gmail.com> 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 ><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.radi >ance-online.org%2Fcommunity%2Fmailing-lists&data=02%7C01%7Crobert.guglielm >etti%40nrel.gov%7Cf3e5d42c5eed4062e8d408d4d6997711%7Ca0f29d7e28cd4f5484427 >885aee7c080%7C0%7C0%7C636369402000628384&sdata=chBJhdHzaiK7%2ByYcajFQ6w52% >2Fs1ETJk05d8FcjAVUxI%3D&reserved=0>> > so you can post and receive responses. > > >From: >Victor LRG <rio...@gmail.com> >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 Radiance-dev@radiance-online.org https://www.radiance-online.org/mailman/listinfo/radiance-dev