miek / inspectrum

Radio signal analyser
GNU General Public License v3.0
2.09k stars 270 forks source link

Mac OSX - Homebrew & Macports CMakeLists.txt ERROR #160

Open DinBan opened 4 years ago

DinBan commented 4 years ago

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!

domrim commented 4 years ago

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 ;)

Crane-Mocker commented 1 year ago

you can use brew install inspectrum