Closed rkadrian closed 5 years ago
@rkadrian It looks like R cannot find cmake. There are multiple reasons that can explain this, so let's start by clearing up the obvious. Can you please quit R and RStudio, and then reboot your computer? Once this is done, open a terminal and type cmake --version
. If the result is something along the lines of cmake version 3.12.4
, then open RStudio and try reinstalling trackR. If cmake --version
returns an error, please post the error message here.
Yes, it definitely cannot find cmake. Trying "cmake --version" in terminal yields "command not found". CMake is sitting in my application folder and opens an interface when I run it. Should I move the application elsewhere? Thank you! (This is after restarting the computer)
@rkadrian How did you install cmake? It looks like it wasn't added to the path.
@rkadrian If you used the installer distributed on cmake.org, it looks like you need to do the following (according to: https://stackoverflow.com/questions/30668601/installing-cmake-command-line-tools-on-a-mac). Open a terminal and type:
sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
That fixed the issue--I did use the installer from cmake.org. Installation is complete!! Thanks so much! My ignorance showed: I clearly did not know the correct question to pose to Google to fix the (simple) issue.
@rkadrian Glad this fixed your problem. I will add this to the installation instructions for ROpenCVLite.
System information (version)
Detailed description
Forgive me if I have made any mistakes in this message--I'm a GitHub newb. I enjoy R but I'm not the most literate with the nuts and bolts of software.
I followed the installation instructions for Mac (which involved installing CMake and Xcode), and I have updated my operating system, R, and RStudio. However, when I attempt to install trackR, I receive the following error when attempting to install ROpenCVLite. Any ideas? Thank you!