zenustech / zeno

ZEn NOde system - a simulation & rendering engine in nodes
http://zenustech.com
Mozilla Public License 2.0
1.24k stars 150 forks source link

error: optix.h: No such file or directory on FreeBSD #1903

Closed Martinfx closed 5 months ago

Martinfx commented 5 months ago

Describe the bug (both Chinese and English are OK) I have problem with optix. Optix is disable in CMakeFile but compiler still need header optix /usr/home/maxfx/Documents/FreeBSD-Ports/zeno/work/zeno-2023.11.16/zenovis/src/../xinxinoptix/optixSphere.h:3:10: fatal error: optix.h: No such file or directory 3 | #include | ^~~~~

How To Reproduce

Please concisely describe the steps before you encounter the bug, e.g.:

git clone this repo https://github.com/Martinfx/FreeBSD-Ports/pull/127/files sudo make

Environment

teachmain commented 5 months ago

I think this problem had been fix in this PR, but you can try to patch by yourself. BTW, are you trying to deploy our software on freeBSD? We never try this before, if it works, please contact us, Thank you.

Martinfx commented 5 months ago

I think this problem had been fix in this PR, but you can try to patch by yourself. BTW, are you trying to deploy our software on freeBSD? We never try this before, if it works, please contact us, Thank you.

Yes i am trying deploy to FreeBSD i will maintainer on FreeBSD. Thank you i will fix.

Martinfx commented 5 months ago

I fix in patch https://github.com/Martinfx/FreeBSD-Ports/pull/127/files#diff-ba2dc160ca4e3c77d6d584837848af0bed0a326ffff880dabdff7ca514797323