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

orbtk sdl2-sys compiles standalone but not with orbtk #495

Open
cyberpunkbln opened this issue Dec 26, 2022 · 0 comments
Open

orbtk sdl2-sys compiles standalone but not with orbtk #495

cyberpunkbln opened this issue Dec 26, 2022 · 0 comments
Labels

Comments

@cyberpunkbln
Copy link

Hello,

when i use sdl2 as ony dependencie it compliles without an error, when i use orbtk (crates and dev-version) as standalone it compliles not under windows-msys2.

 C:/Mounts/externalDrives/extHDD(Home5TB)/Development/Rust/Users/cypu/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-sys-0.35.2/SDL/src/joystick/windows/SDL_windows_gaming_input.c:649:113: note: expected '__FIReference_1_INT32 **' but argument is of type 'int **'
  make[2]: *** [CMakeFiles/SDL2-static.dir/build.make:2386: CMakeFiles/SDL2-static.dir/src/joystick/windows/SDL_windows_gaming_input.c.obj] Error 1
  make[2]: *** Waiting for unfinished jobs....
  make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/SDL2-static.dir/all] Error 2
  make: *** [Makefile:136: all] Error 2
  thread 'main' panicked at '
  command did not execute successfully, got: exit code: 2

thx

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

No branches or pull requests

1 participant