Code Monkey home page Code Monkey logo

hydratool's Introduction

HydraTool

This repository contains host software (Linux/Windows) for HydraBus with HydraFW firmware, a project to produce a low cost, open source multi-tool hardware for anyone interested in Learning/Developping/Debugging/Hacking/Penetration Testing for basic or advanced embedded hardware.

HydraBus: https://www.hydrabus.com & https://github.com/hydrabus

HydraFW: https://github.com/hydrabus/hydrafw

HydraTool_v0_3_1_0

For more details on HydraTool see the HydraTool Wiki

How to build host software on Windows, GNU/LINUX:

Prerequisites Windows, GNU/Linux:

Build the project with QtCreator on Windows, GNU/Linux:

  • Import hydratool.pro project in Qt Creator
  • Configure the Project for GCC/MinGW/MSVC2013 ...
  • Build the project

How to build Qt5.x as static build on Windows, GNU/LINUX:

http://wohlsoft.ru/pgewiki/Building_static_Qt_5

How to build Qt5.9.1 as static build on Windows MSCV2013:

Download and extract qt-everywhere-opensource-src-5.9.1 from http://download.qt.io/official_releases/qt/5.9/5.9.1/single/qt-everywhere-opensource-src-5.9.1.zip
In this example extract it to D:\Qt\Qt5_9_1-msvc2013_static_build\qt-everywhere-opensource-src-5.9.1

Download and extract jom from https://download.qt.io/official_releases/jom/
copy jom.exe to D:\Qt\Qt5_9_1-msvc2013_static_build\qt-everywhere-opensource-src-5.9.1

Go to D:\Qt\Qt5_9_1-msvc2013_static_build\qt-everywhere-opensource-src-5.9.1\qtbase\mkspecs\common
and change msvc-desktop.conf like this (change all MD to MT to remove dependency on msvc dlls)
	initial values:

	QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_OPTIMIZE -MD
	QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -MD -Zi
	QMAKE_CFLAGS_DEBUG = -Zi -MDd
	should be changed to:

	QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_OPTIMIZE -MT
	QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -MT -Zi
	QMAKE_CFLAGS_DEBUG = -Zi -MTd

cd D:
d:

REM Set up \Microsoft Visual Studio 2013, where <arch> is \c amd64, \c x86, etc.
CALL "D:\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
SET _ROOT=D:\Qt\Qt5_9_1-msvc2013_static_build\qt-everywhere-opensource-src-5.9.1
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
REM Uncomment the below line when using a git checkout of the source repository
REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
SET _ROOT=

cd D:\Qt\Qt5_9_1-msvc2013_static_build\qt-everywhere-opensource-src-5.9.1

configure.bat -static -release -prefix "D:\Qt\Qt5.9.1_msvc2013_static" -platform win32-msvc2013 -opensource -confirm-license -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -no-openssl -make libs -nomake tools -nomake examples -nomake tests -skip wayland -skip purchasing -skip serialbus -skip script -skip scxml -skip speech -skip qtwebengine

jom

jom install

How to build Qt5.9.1 as static build on GNU/LINUX:

cd ~
wget http://download.qt.io/official_releases/qt/5.9/5.9.1/single/qt-everywhere-opensource-src-5.9.1.tar.xz
tar --xz -xvf qt-everywhere-opensource-src-5.9.1.tar.xz
cd qt-everywhere-opensource-src-5.9.1
sudo ./configure -static -release -prefix ~/Qt591static -opensource -confirm-license -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-xcb -opengl desktop -make libs -nomake tools -nomake examples -nomake tests -skip wayland -skip purchasing -skip serialbus -skip script -skip scxml -skip speech -skip qtwebengine
sudo make -r -j 4
sudo make install

hydratool's People

Contributors

bvernoux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hydratool's Issues

Windows Installable Version

I am having trouble getting QT to install correctly for Windows 10 64 bit. Is there a way a precompiled windows 10 installable (.exe or .msi) can be added to the repository?

Thank you...

hydratool failed to start due to plugin xcb

I am getting an issue when I run hydratool.
Here is the error:
./hydratool
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
zsh: abort (core dumped) ./hydratool

I am running arch linux 4.11.9-1-ARCH #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 x86_64 GNU/Linux.
Here the ldd output:
ldd hydratool
linux-vdso.so.1 (0x00007ffd3c5f9000)
libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f44238a2000)
libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f442312c000)
libQt5SerialPort.so.5 => /usr/lib/libQt5SerialPort.so.5 (0x00007f4422f14000)
libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f442281f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f4422497000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4422280000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f4421eda000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f4421cbc000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f44219aa000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007f442171f000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f44214e9000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f4421251000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f442103a000)
libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f44242b0000)
libicui18n.so.59 => /usr/lib/libicui18n.so.59 (0x00007f4420bbc000)
libicuuc.so.59 => /usr/lib/libicuuc.so.59 (0x00007f442080b000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f4424228000)
libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007f442059c000)
libdouble-conversion.so.1 => /usr/lib/libdouble-conversion.so.1 (0x00007f442038c000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f4420188000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f441fe75000)
/lib64/ld-linux-x86-64.so.2 (0x00007f44240fa000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f441fc43000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f441f904000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f441f6f2000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f441f43c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f441f175000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f441ef49000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f441ed33000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f441eb2f000)
librt.so.1 => /usr/lib/librt.so.1 (0x00007f441e927000)
libicudata.so.59 => /usr/lib/libicudata.so.59 (0x00007f441ce14000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f441cbee000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f441c9da000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f441c6cc000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f441c4b7000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f441c244000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f441c01b000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f441be0b000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f441bc07000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f441ba01000)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.