-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Description
Not sure what is going wrong but reporting this here:
error: In file included from .stack-work/dist/x86_64-linux/Cabal-3.4.1.0/build/SDL/Raw/Types_hsc_make.c:1:0: [46/175805]
Types.hsc: In function ‘main’: /var/stackage/work/unpack-dir/unpacked/sdl2-2.5.3.1-8b51fd21813b3f15ebf6a1373febe46b27f69d24304fffddbffffb8b3cbfde72/Types.hsc:1343
:15: error: ‘SDL_FPoint’ undeclared (first use in this function); did you mean ‘SDL_Point’? /home/stackage/.stack/programs/x86_64-linux/ghc-9.0.2/lib/ghc-9.0.2/template-hsc.h:96:39: note: in definition of macro ‘hsc_size’
hsc_printf("(%ld)", (long) sizeof(t));
^ /var/stackage/work/unpack-dir/unpacked/sdl2-2.5.3.1-8b51fd21813b3f15ebf6a1373febe46b27f69d24304fffddbffffb8b3cbfde72/Types.hsc:1343
:15: note: each undeclared identifier is reported only once for each function it appears in
/home/stackage/.stack/programs/x86_64-linux/ghc-9.0.2/lib/ghc-9.0.2/template-hsc.h:96:39: note: in definition of macro ‘hsc_size’
hsc_printf("(%ld)", (long) sizeof(t));
^
In file included from /usr/include/wchar.h:35:0,
from /usr/include/SDL2/SDL_stdinc.h:66,
from /usr/include/SDL2/SDL_main.h:25,
from /usr/include/SDL2/SDL.h:32,
from Types.hsc:78:
/var/stackage/work/unpack-dir/unpacked/sdl2-2.5.3.1-8b51fd21813b3f15ebf6a1373febe46b27f69d24304fffddbffffb8b3cbfde72/Types.hsc:1346
:15: error: expected specifier-qualifier-list before ‘SDL_FPoint’
/var/stackage/work/unpack-dir/unpacked/sdl2-2.5.3.1-8b51fd21813b3f15ebf6a1373febe46b27f69d24304fffddbffffb8b3cbfde72/Types.hsc:1346
:5: note: in expansion of macro ‘hsc_peek’
/var/stackage/work/unpack-dir/unpacked/sdl2-2.5.3.1-8b51fd21813b3f15ebf6a1373febe46b27f69d24304fffddbffffb8b3cbfde72/Types.hsc:1347
:15: error: expected specifier-qualifier-list before ‘SDL_FPoint’
/var/stackage/work/unpack-dir/unpacked/sdl2-2.5.3.1-8b51fd21813b3f15ebf6a1373febe46b27f69d24304fffddbffffb8b3cbfde72/Types.hsc:1347
:5: note: in expansion of macro ‘hsc_peek’
You can try building with stack --resolver nightly build.
Metadata
Metadata
Assignees
Labels
No labels