inspectrum icon indicating copy to clipboard operation
inspectrum copied to clipboard

Mac OSX - Homebrew & Macports CMakeLists.txt ERROR

Open DinBan opened this issue 4 years ago • 2 comments

Trying install it with Homebrew & Macports using instructions, but it not works, ERROR says it missing CMakeLists.txt when try to cmake ..

Here it is - 1@MBP build % cmake .. CMake Error: The source directory "/Users/1" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI.

Any solution? Thank you in advance!

DinBan avatar Jan 06 '20 20:01 DinBan

It looks like you not in the right directory. Looking at your error cmake searches in /Users/1 the file CMakeLists.txt. Let's assume you have cloned the source code to the dir /Users/1/inspectrum, so like described in the wiki you should create the folder /Users/1/inspectrum/build with the command mkdir build executed in /Users/1/inspectrum. Then change your current folder to the newly created one with cd build. Now cmake .. should run perfectly and also the rest of the compling-process should work fine. Hope i could help :)

Note: hope you know, that you only need homebrew OR macports, not both ;)

domrim avatar Jan 14 '20 23:01 domrim

you can use brew install inspectrum

Crane-Mocker avatar May 21 '23 04:05 Crane-Mocker