Open briancantwe opened 8 months ago
Looks like it's not finding libtorch. Is libtorch actually in /mnt/c/Users/PROCLOCAL/Documents/github/opensplat/build/libtorch
? I wouldn't recommend putting libtorch in the build directory.
Ah yes it was. (I tied copying it a few places to see if anything changed.)
I moved it out of the build dir. But I still get the same error as above when I run this command too:
(opensplat) proclocal@PROC66/mnt/c/Users/PROCLOCAL/Documents/github/opensplat/build$ cmake -DCMAKE_PREFIX_PATH=/mnt/c/users/proclocal/documents/github/opensplat/libtorch .. && make -j$(nproc)
Maybe I messed something else up. After I downloaded the libtorch .zip file from pytorch.org, I unzipped it, and pointed DCMAKE_PREFIX_PATH to the libtorch directory it contained. Is that the right thing to have done?
Thanks!
You might need to look into this: "static library c10_LIBRARY-NOTFOUND not found."
It might have to do with the WSL environment, but I'm not sure.
OpenSplat runs natively on Windows, I would recommend to compile natively as an alternative.
Ok, great, moving over to Windows. What are the corresponding installation instructions for libopencv-dev on Windows?
This comment might help: https://github.com/pierotofy/OpenSplat/issues/3#issuecomment-1962344524
The #3 comment thread did the trick. All set up now, thank you!
Hello! Working through the installation on a CUDA machine and WSL/Ubuntu 2204.3 on WIndows 11 and getting tripped up during the cmake command in the readme.
I followed the Build (CUDA) steps in the readme, ending here with the last command:
Any insight?
Thanks!