Tags:
create new tag
view all tags

Compiling Master Branch Of OpenHantek

Getting abreast with Qt has put us through a lot of thinking this few days and truly it has not been easy.

Concerning compiling the master branch this is what i was able to do.

I first tried with openhantek2.zip file Uli put on his page. I downloaded the file and extracted it.

Then I installed all the requirements for openhantek by running this (in terminal):

sudo apt-get install cmake qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev


Upon trying to compile from the .pro file in the openhantek folder, about 1,204 errors popped up. I tried various ways to
get it to work but all proved futile.

Then i decided to use cmake as Obed did. So i downloaded openhantek directly from git. After i followed the steps from
the readMe file from the master branch. There were also several errors when i got to the third step.


Finally i tried this. Within the folder where i want to keep the openhantek project i did these (within terminal):

git init
git clone https://github.com/OpenHantek/openhantek.git
sudo apt-get install cmake qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev

cd openhantek
mkdir build
cd build
cmake ../
make -j4

After, start Qt Creater. Click 'Open Project'.
Browse to the folder where the openhantek folder is.
Open the folder and select the file named 'CmakeLists.txt', then click open at the top right.
On the next window that opens, click on the small plus sign near the Destkop Qt 5.8.0 GCC 64bit on the left pane.
Then click the 'Build' option that appears below.
After, the green triangle for running will be visible so you can compile the projeect.

I work with Kali Linux. Am quite sure these steps will work on ubuntu as well.

-- John Graham - 2017-04-02

Comments

Topic revision: r1 - 2017-04-02 - JohnGraham
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback