Thanks Nathaniel, that's very useful, I'll give it a try next time I do a full compilation.
Victor On 1 August 2017 at 18:16, Nathaniel Jones <nathaniel...@gmail.com> wrote: > I posted step-by-step how-to on compiling libtiff for Window from the > Radiance source. You can find it on the DAYSIM GitHub page: > https://github.com/MITSustainableDesignLab/Daysim. Scroll down to the > section "Compile DAYSIM" in the notes. > > It is a little annoying, but you only have to do it once. > > Nathaniel > > On Tue, Aug 1, 2017 at 9:42 AM, Guglielmetti, Robert < > robert.guglielme...@nrel.gov> wrote: > >> Oh I see, this is one of the old posts. Sounds like you got it sorted >> then, Victor. As far as the libtiff, that library has been a giant pain >> for a long time (for me); I eventually made my own 64-bit tifflib for >> Windows. Perhaps I could share that someplace, I dunno. >> >> >> >> On 8/1/17, 10:30 AM, "Victor LRG" <rio...@gmail.com> wrote: >> >> >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 >> ><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%7C >> robert.guglielm >> >etti%40nrel.gov%7C067b9535986943eecaaa08d4d8fab509% >> 7Ca0f29d7e28cd4f5484427 >> >885aee7c080%7C0%7C0%7C636372018680224835&sdata=PiZZshFl% >> 2BkQYlgHNTyUHQBKqS >> >HizArlBHSnddxhbI6k%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 >> > > > _______________________________________________ > Radiance-dev mailing list > Radiance-dev@radiance-online.org > https://www.radiance-online.org/mailman/listinfo/radiance-dev > >
_______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org https://www.radiance-online.org/mailman/listinfo/radiance-dev