Using CMake on MacOS #1240
Replies: 2 comments 4 replies
-
@dayo05 -- you've been working on Mac, maybe you have some thoughts? I know it's been a while since you were actively doing it, but maybe you recall? |
Beta Was this translation helpful? Give feedback.
-
@NiklasGustafsson The error shows that CMake cannot found dylib of LibTorch. Refer to my previous discussion(#837), Can you check did you set some environment variables to declare prefix directories where LibTorch located? If this case, you can use command: I've wrote that reference very long time ago and never updated so it is based on codebase in 2022 but it seems CMakeLists not contains any major changes from there. |
Beta Was this translation helpful? Give feedback.
-
I finally have a Mac with Apple Silicon, so I can start working on MPS support, and such. I'm having trouble getting CMake configured in the local build -- on Azure Pipelines, it's all set up and works, but it's not working for me on my local machine. It pops up a window asking for input and output locations, then tried to configure the Makefiles, but it's coming up with errors.
I installed CMake from the CMake org site. Maybe there's another version I should be using? It doesn't seem to be coming bundled with XCode.
Beta Was this translation helpful? Give feedback.
All reactions