-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build under MSYS2 MinGW-w64 (Windows) #54
base: master
Are you sure you want to change the base?
Fix build under MSYS2 MinGW-w64 (Windows) #54
Conversation
added quotation marks to prevent error: Regular expression "(-libusb|/libusb/" cannot compile
3152047
to
bf0efe0
Compare
bf0efe0
to
23c6aec
Compare
- Under MSYS2 MinGW-w64 the filename of the hidapi import library is "libhidapi.dll.a". Add hidapi.dll to NAMES of findlibrary().
23c6aec
to
b85f959
Compare
Here are some short instructions for building TEMPERed for Windows under MSYS2 MinGW-w64: # install the required packages cmake and hidapi:
pacman -Sy --needed ${MINGW_PACKAGE_PREFIX}-cmake ${MINGW_PACKAGE_PREFIX}-hidapi
# Run the following commands from the base of the TEMPERed directory:
mkdir build
cd build
${MINGW_PREFIX}/bin/cmake.exe -G "MSYS Makefiles" ..
make
cd .. |
Just in case somebody is looking for Windows binaries of TEMPered, builds have been prepared and added here for download: The builds include PRs from here, which added new devices: |
@c72578 I think this repo is dead. If you target your PR to https://github.com/mwerezak/TEMPered I will try to merge it. |
Actually I was able to do it myself 😉 |
hidapi
import libraryis "libhidapi.dll.a". Add
hidapi.dll
toNAMES
offindlibrary()
.