Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial1: warning during linescan #476

Closed
lherrero01 opened this issue Sep 21, 2023 · 7 comments
Closed

Tutorial1: warning during linescan #476

lherrero01 opened this issue Sep 21, 2023 · 7 comments

Comments

@lherrero01
Copy link

Hi,

I'm getting started on bifacial_radiance and, after completing the installation, I get the following issue during the linescan, after generating the oct file:

Captura

I have already checked that:

  • Radiance\bin is on my system variable PATH
  • rtrace.exe file is located on the Radiance\bin
  • raynit.cal is located on the Radiance\lib
@shirubana
Copy link
Member

Hi! Welcome and thanks for the question.
Can you try adding the lib folder to the path as well? That's where rayinit.cal is located at

@lherrero01
Copy link
Author

Hi, I have added the lib folder to the path, but I still get the same error.

@shirubana
Copy link
Member

which version of radiance, operating system do you have?

@lherrero01
Copy link
Author

I'm using the latest official release, Radiance 5.3 (2020-09-03) on Windows 10.

@shirubana
Copy link
Member

shirubana commented Sep 21, 2023

do you have them as environment variables on Systems Variables or User Variables? (bottom vs top of the environment variables window)

@lherrero01
Copy link
Author

I have them on System Variables.

@cdeline
Copy link
Contributor

cdeline commented Sep 27, 2024

If this hasn't been fixed so far, it should otherwise be taken care of by #533 when we finish that up.
If anyone else is seeing this error, the following should take care of it. (instructions for Windows machines)
Going to your system environmental variables (in System control panel > system > advanced > environment variables) , make sure that RAYPATH includes both the current directory ( "." ) and the \lib\ folder of RADIANCE
Something like:
RAYPATH=.;C:\Radiance\lib;
Likewise, the PATH variable needs to include the RADIANCE binaries
PATH= <other stuff> ;C:\Radiance\bin; <other stuff>

@cdeline cdeline closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants