-
Notifications
You must be signed in to change notification settings - Fork 7
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
PyOptix on Windows #2
Comments
Do you get an error during compile time or run time? What is the error?
…On Sat, Apr 8, 2017, 3:09 PM peggers ***@***.***> wrote:
Hej!
I cannot make PyOptix run on Windows. Can anyone give me a hint which
things I have to change to make it run?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA-mUbcZl3APbdTC6C0T8StBjMWXfkVks5rt3kIgaJpZM4M3r2i>
.
|
http://stackoverflow.com/questions/43300055/installation-failure-cannot-find-startupinfo |
Seeing the error has refreshed my memory. setup.py script runs linux-specific commands to find the dependencies. So it fails in Windows straight away. As for paths to dependencies in Linux, When you install Boost.Python using Ubuntu's package manager, it will probably configure ldconfig automatically so you don't need to worry about that. Since you probably install CUDA and OptiX manually, lets add their paths to the environment variables. I have written the following commands assuming:
If you put them somewhere else, either create symlinks, or change the following commands accordingly.
Edit: These paths may be used during run time as well. export command changes the environment variables for that session only. To make them persistent you need to modify a profile file. Please check out this web page, specifically |
Ok, thank you very much for the the good explanation. Indeed I installed Optix to somewhere else, but created a symlink. |
Ok, I think managed to install it. But now I face some problems running the examples. Running hello.py with python (2.7) gives me this output
and with python 3:
|
Python 3 problem seems like the extension has not been compiled correctly for Python 3.
or
|
Hej!
I cannot make PyOptix run on Windows. Can anyone give me a hint which things I have to change to make it run?
The text was updated successfully, but these errors were encountered: