installaware / AGPT

Apple Game Porting Toolkit Installer
GNU General Public License v3.0
375 stars 14 forks source link

Error during installation #37

Closed zubchenok closed 3 months ago

zubchenok commented 3 months ago
==> Fetching apple/apple/game-porting-toolkit
==> Downloading https://media.codeweavers.com/pub/crossover/source/crossover-sources-22.1.1.tar.gz
==> Installing game-porting-toolkit from apple/apple
==> Staging /Users/igor/Library/Caches/Homebrew/downloads/7baed2a6fd34b4a641db7d
==> Patching
==> /private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/configure --pre
==> make
Last 15 lines from /Users/igor/Library/Logs/Homebrew/game-porting-toolkit/02.make:
x86_64-w64-mingw32-gcc -c -o dlls/wow64win/gdi.cross.o /private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/dlls/wow64win/gdi.c \
  -I dlls/wow64win -I /private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/dlls/wow64win -I \
  include -I /private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/include -I \
  /private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/include/msvcrt -D__WINESRC__ \
  -D_MSVCR_VER=0 -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement \
  -Wempty-body -Wignored-qualifiers -Winit-self -Wno-packed-not-aligned -Wshift-overflow=2 \
  -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith \
  -Wlogical-op -Wabsolute-value -Wno-format -Wformat-overflow -Wnonnull -mcx16 -gdwarf-4 -Wformat \
  -g -O2
/private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/dlls/wow64cpu/cpu.c: In function 'BTCpuResetToConsistentState':
/private/tmp/game-porting-toolkit-20240519-28110-2e387f/wine/dlls/wow64cpu/cpu.c:356:18: error: assignment to 'DWORD64' {aka 'long long unsigned int'} from 'PVOID' {aka 'void *'} makes integer from pointer without a cast [-Wint-conversion]
  356 |     context->Rsp = NtCurrentTeb()->TlsSlots[2]; /* WOW64_TLS_WINEHYBRID_RESERVED_R14 */
      |                  ^
make: *** [dlls/wow64cpu/cpu.cross.o] Error 1
make: *** Waiting for unfinished jobs....

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
  apple/apple
installaware commented 3 months ago

This issue is instantly resolved using the new Alternate installation method. Did your AGPT Installer suggest that for you? If so, please try it. If not, please download the latest version of the AGPT Installer, and install using the Alternate installation method. It also works substantially faster!