OpenHantek / openhantek

OpenHantek is a DSO software for Hantek (Voltcraft/Darkwire/Protek/Acetech) USB digital signal oscilloscopes
http://openhantek.org/
GNU General Public License v3.0
757 stars 200 forks source link

GitHub Newbe #318

Open Cornelliuss opened 4 years ago

Cornelliuss commented 4 years ago

Long ago I bought a Hantek DSO-5200 USB device and used it in a Windows environment, but I changed over to Mac, and was looking for a Hantek Mac 'viewer'. I came across OpenHantek and it appears what the doctor ordered, but I don't know how to make the custom build on my Mac form GitHub.

I installed brew, because one can't update what's not installed.

I then followed these steps as per the documentation:

Apple MacOSX

  1. We recommend homebrew to install the required libraries. brew update
brew install libusb fftw qt5 cmake;

  2. After you've installed the requirements run the following commands inside the directory of this package {I run step 3 and amended the path}: mkdir build
cd build
cmake ../ -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.15.0
make -j2

  3. Please adjust the path to Qt5. You can find the path with the command: brew info qt5

However, when I run the command in sep 2 I get the following: CMake Error: The source directory "/Users/hc" does not appear to contain CMakeLists.txt.

As I am new to GitHub and Terminal, I'm totally lost.

I would really appreciate pointers in right direction.

Ho-Ro commented 4 years ago

Please read #277, but you can have a look at my repo and how travis builds the mac version.