Closed FROL256 closed 2 years ago
You can try to add codes below in run_test.py before importing psdr_cuda and enoki to set python lib env:
# set path lib path
sys.path.append("/xxx/psdr-cuda/build/lib") # your psdr-cuda cmake build lib path
sys.path.append("/xxx/enoki/build") # your enoki build path
# then import psdr_cuda and enoki
import psdr_cuda
import enoki as ek
from enoki.cuda_autodiff import Float32 as FloatD, Matrix4f as Matrix4fD, Vector3f as Vector3fD
May will help you!
Thank you very much for you answer! Probably this should work but for me
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/.../psdr-cuda/example
helped)
Then i have put all ".so" files in the examples folder and run:
I have tried to put libenoki-cuda.so and libenoki-autodiff.so in different folders, but this is does not helps. Could you please make me an advice what could be wrong loading these .so ?
this my "ls" output:
and this "ls -R":
Thanks!