-
Notifications
You must be signed in to change notification settings - Fork 1
Build under Windows
f0ma edited this page Jan 27, 2013
·
5 revisions
HardwareExpert build in Windows
- Git;
- Git binary directory in PATH, or mingw32 binary directory it PATH (for cp, rm, etc.);
- Qt4 with mingw (Qt5 compatibility does not tested)
- QextSerial port library
Get QextSerial from Git:
git clone https://code.google.com/p/qextserialport/
Create separate build directory:
mkdir qextserialport-build
cd qextserialport-build
Build:
qmake ..\qextserialport\qextserialport.pro
mingw32-make -f Makefile.Release
- S-Lang library
Get S-Lang archive from:
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/
Extract to folder.
Build (is S-Lang directory):
mkfiles\m32init.bat
mingw32-make
If you have slsh build error - do not wary. Only slang.dll and slang.a requared.
- WinIO Get Win IO from
Extract fo folder.
Get HardwareExpert from Git:
git clone https://github.com/f0ma/hardwareexpert.git
Setting up library paths:
In HardwareExpert directory copy hardwareexpert-build-lib-paths.pri.example to hardwareexpert-build-lib-paths.pri.user
Edit hardwareexpert-build-lib-paths.pri.user - setup you directory
Crate build directory and make:
mkdir hwe-build
cd hwe-build
qmake ..\hardwareexpert\hardwareexpert.pro
mingw32-make -f Makefile.Release
- need python in PATH
- need txt2tags
- need setup path to txt2tags in your hardwareexpert-build-lib-paths.pri.user path
Build documentation:
mingw32-make -f Makefile.Release doc
Copy requared library and script files to build path:
mingw32-make -f Makefile.Release deploy
Cleanup build path (remove all except scripts and binary files):
mingw32-make -f Makefile.Release deploy