File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 11@ echo off
2+ set /p help = Do you want somme help for setup the compilation environement ? (1 = yes / 0 = no) :
3+ if %help% EQU 0 goto :compile
4+ echo if you have some error folow those steps for instaling all requiered tool for compiling:
5+ echo ----------------------------------------------------------------------------------------
6+ echo install cmake by downloading from here : " https://cmake.org/download/" (select " add variable to path" during instalation)
7+ echo for instaling mingw you can download mingw for windows here : https://winlibs.com/#download-release and add the binaries to the system path
8+ echo for instaling libusb download from here https://libusb.info/ latest windows binaries then copy the file folowing this rules :
9+ echo copy the content of the " libusb-Mingw-x64/libs" inside the folder " mingw64/libs"
10+ echo copy the file " libusb.h" from " libusb-Mingw-x64/include/libusb-1.0" inside the folder " mingw64/include"
11+ echo copy the file " msys-usb-1.0.dll" from " libusb-Mingw-x64/bin" inside the folder " mingw64/bin" then rename it " libusb-1.0.dll"
12+ echo download the lastest release from this repo https://github.com/skeeto/w64devkit and copy the file make.exe at the root of the project
13+ echo you should now be ready to compile
14+ pause
15+
16+ :compile
17+
218mkdir build
319cd build
420cmake -G " MinGW Makefiles" ../ -DINSTALL_UDEV_RULES=ON
You can’t perform that action at this time.
0 commit comments