This command works on my workstation but throw error when I run this using my laptop. I have the same installaiotn and same set of files, but just different environemenet (both windows 7 though). Did I not install something that is supposed to be installed?
It may have something to do with your input file â4.ptsâ. There are occasional translation errors going between Unix and Windows that will cause the input parser to reject the input. Can you upload the file here to look at, or just check yourself that it doesnât contain any stray characters that shouldnât be in it?
but the one with using rfluxmtx will give me the EOF error.
I also tried the same stuff on my other laptop, and it works absolutely fine. So this is an isolated case. Do you happen to know what might cause this?
I looked at your 4.pts file and it seems fine. It has â\r\nâ EOL sequences, but this should be fine in both Windows and Unix.
This leaves us with the unsavory possibility there is a bug in the Windows version of rfluxmtx. Iâm thinking from this that the Windows version of system() may not share the callerâs stdin stream as it does under Unix. I have not been able to find anything confirming or disagreeing with this hypothesis online, though I have looked. I do not have access to a Windows machine (or a compiler) to test this theory, unfortunately. I have only the data point you have provided.
Is there someone with Windows programming experience who can confirm? The operations necessary to put this right if the Windows system() call does not share stdin will be painful, and Iâd rather not make the effort if I donât have to.
I am wondering if this is a version issue where the rcontrib being called is from one of the earlier versions of Radiance (in case you have multiple versions installed). @zha can you run the following commands (where rcontrib and rcontrib -version ) and see if you are calling the right version of rcontrib?