uglyDwarf / linuxtrack

Headtracking for Linux/Mac
MIT License
155 stars 30 forks source link

Fix building wine parts #182

Open exuvo opened 3 years ago

exuvo commented 3 years ago

DLL_WINE_PREATTACH is removed from wine nowdays. If the returns had been FALSE a compile option of --prefer-native would be needed but all usage here was TRUE so simply removing it seems to be the correct remedy.

Tested and working with Star Citizen on linux.

The gui installer did not seem to correctly install into the wine prefix so i had to manually run /usr/share/linuxtrack/linuxtrack-wine.exe and copy over the gui extracted files from .config/linuxtrack/tir_firmware/ into drive_c/Program Files (x86)/Linuxtrack. Might just be because i use a custom wine build for star citizen and the prefix breaks with the default wine the gui installer uses.

Includes rfvizarra's fixes as i can't build it without those.

exuvo commented 11 months ago

Added fix from https://github.com/uglyDwarf/linuxtrack/issues/195#issuecomment-1546790477 . Ran autoreconf 2.71 . Included https://github.com/uglyDwarf/linuxtrack/pull/201 .