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

Generate dll for windows #5

Open
Tomiwa-Ot opened this issue Sep 4, 2023 · 0 comments
Open

Generate dll for windows #5

Tomiwa-Ot opened this issue Sep 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Tomiwa-Ot
Copy link
Member

Compiling the dll on windows results in the following errors after installing libusb via vcpkg

C:\Users\folder\Desktop>gcc -fPIC -shared -o libusbjava.dll -I"%JAVA_HOME%\include" -I"%JAVA_HOME%\include\win32" -I"C:\Program Files\CodeBlocks\MinGW\x86_64-w64-mingw32\include" -llibusb-1.0 Jusb.c

C:/Program Files/CodeBlocks/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibusb-1.0
collect2.exe: error: ld returned 1 exit status
@Tomiwa-Ot Tomiwa-Ot added bug Something isn't working help wanted Extra attention is needed labels Sep 4, 2023
@Tomiwa-Ot Tomiwa-Ot self-assigned this Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant