Fix build under MSYS2 MinGW-w64 (Windows)#54
Open
c72578 wants to merge 3 commits intoedorfaus:masterfrom
Open
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
Author
|
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 .. |
Author
|
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 😉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hidapiimport libraryis "libhidapi.dll.a". Add
hidapi.dlltoNAMESoffindlibrary().