protonscr

Can't compile

wineclosed
ValveSoftware/wine#243 · opened 2024-06-30 by vaguinerg · updated 2024-07-10 · 4 comments · github
Vvaguinerg 2024-06-30 github

I'm getting generic errors when trying to compile

In file included from dlls/ntdll/tests/info.c:22:
include/psapi.h:29:3: error: unknown type name 'LPVOID'
   29 |   LPVOID lpBaseOfDll;
      |   ^
include/psapi.h:30:3: error: unknown type name 'DWORD'
   30 |   DWORD SizeOfImage;
      |   ^
include/psapi.h:31:3: error: unknown type name 'LPVOID'
   31 |   LPVOID EntryPoint;
      |   ^
include/psapi.h:35:3: error: unknown type name 'DWORD'
   35 |   DWORD  cb;
      |   ^
include/psapi.h:36:3: error: unknown type name 'DWORD'
   36 |   DWORD  PageFaultCount;
      |   ^
include/psapi.h:37:3: error: unknown type name 'SIZE_T'
   37 |   SIZE_T PeakWorkingSetSize;
      |   ^
include/psapi.h:38:3: error: unknown type name 'SIZE_T'
   38 |   SIZE_T WorkingSetSize;
      |   ^
include/psapi.h:39:3: error: unknown type name 'SIZE_T'
   39 |   SIZE_T QuotaPeakPagedPoolUsage;
      |   ^
include/psapi.h:40:3: error: unknown type name 'SIZE_T'
   40 |   SIZE_T QuotaPagedPoolUsage;
      |   ^
include/psapi.h:41:3: error: unknown type name 'SIZE_T'
   41 |   SIZE_T QuotaPeakNonPagedPoolUsage;
      |   ^
include/psapi.h:42:3: error: unknown type name 'SIZE_T'
   42 |   SIZE_T QuotaNonPagedPoolUsage;
      |   ^
include/psapi.h:43:3: error: unknown type name 'SIZE_T'
   43 |   SIZE_T PagefileUsage;
      |   ^
include/psapi.h:44:3: error: unknown type name 'SIZE_T'
   44 |   SIZE_T PeakPagefileUsage;
      |   ^
include/psapi.h:49:5: error: unknown type name 'ULONG_PTR'
   49 |     ULONG_PTR Flags;
      |     ^
include/psapi.h:51:9: error: unknown type name 'ULONG_PTR'
   51 |         ULONG_PTR Valid  :1;
      |         ^
include/psapi.h:52:9: error: unknown type name 'ULONG_PTR'

Kkakra 2024-06-30 github

This wine build is meant to be built in the Proton build environment. You should look into the Proton makefile to look how to prepare the source code correctly.

Vvaguinerg 2024-06-30 github

This wine build is meant to be built in the Proton build environment. You should look into the Proton makefile to look how to prepare the source code correctly.

Not helpful

RRimchars 2024-07-09 github

I encountered the same problem

RRimchars 2024-07-10 github

I encountered the same problem

I solved this problem by adding the <windows.h> at the top of the info.c file.

Nothing extracted yet.