Skip to content
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

HID on Windows #2

Closed
MOAMaster opened this issue Jul 3, 2024 · 4 comments
Closed

HID on Windows #2

MOAMaster opened this issue Jul 3, 2024 · 4 comments

Comments

@MOAMaster
Copy link

I opened hidapi.sln in Vis Studio 2019. The DLL and the EXE successfully built.

But, when I try to execute the EXE, I get a notice that hidapi.dll is not a valid Win32 application.

Not sure what to do next.
Any advice is appreciated.

Repository owner deleted a comment from MOAMaster Jul 22, 2024
@chessnutech
Copy link
Owner

I'm very sorry, there are some problems with the email replies, I deleted them and replied to you again

git clone ...
cd  EasyLinkSDK && mkdir build && cd build
cmake ..
cmake --build .

After following the above commands, you can successfully compile the dynamic library and static library files. If you need to run specific code, you need to write a separate program to call this dynamic library or static library

I will add a sample code later to show how to run it directly

@MOAMaster
Copy link
Author

MOAMaster commented Jul 22, 2024 via email

@chessnutech
Copy link
Owner

Enjoy yourself

@MOAMaster
Copy link
Author

MOAMaster commented Jul 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants