Before latest openAL changes I could run lime rebuild windows
just fine. I pulled latest submodules, and now I can’t do it anymore:
Error: While running :cl.exe -Ilib/openal/Alc -Ilib/openal/include/ -Ilib/openal/OpenAL32/include/ -DAL_ALEXT_PROTOTYPES -D_LARGEFILE_SOURCE -D_LARGE_FILES -DWIN32 -D_WINDOWS -D_WIN32 -D_WIN32_WINNT=0x0502 -Drestrict= -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /wd4098 -Dstrcasecmp=_stricmp -Dstrncasecmp=_strnicmp -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2 -Oy- -c -EHs -GS- -arch:SSE -ID:/Programs/Haxe/haxe/lib/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -DMisiurWasHere -MT ./lib/openal/OpenAL32/alFilter.c -FoD:/Dev/haxe/lime/project/obj/msvc17xp/d71a8e1e_alFilter.obj
alFilter.c
lib/openal/OpenAL32/include/alMain.h(16) : fatal error C1083: Cannot open include file: 'fenv.h': No such file or directory
I checked windows config file for native-toolkit/openlAL and it seems fenv support is enabled. I commented it, I got
Error: While running :cl.exe -Ilib/openal/Alc -Ilib/openal/include/ -Ilib/openal/OpenAL32/include/ -DAL_ALEXT_PROTOTYPES -D_LARGEFILE_SOURCE -D_LARGE_FILES -DWIN32 -D_WINDOWS -D_WIN32 -D_WIN32_WINNT=0x0502 -Drestrict= -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /wd4098 -Dstrcasecmp=_stricmp -Dstrncasecmp=_strnicmp -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2 -Oy- -c -EHs -GS- -arch:SSE -ID:/Programs/Haxe/haxe/lib/hxcpp/3,3,49/include -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -DMisiurWasHere -MT ./lib/openal/OpenAL32/alExtension.c -FoD:/Dev/haxe/lime/project/obj/msvc17xp/d71a8e1e_alExtension.obj
alExtension.c
d:\dev\haxe\lime\project\lib\openal\include\bool.h(5) : fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory
Google says VS C compiler doesn’t support C99, so there’s no stdbool.h. Ok, I commented out HAVE_STDBOOL_H
.
Now I’ve got tons of errors:
lib/openal/include/atomic.h(194) : error C2054: expected '(' to follow 'inline'
lib/openal/include/atomic.h(195) : error C2085: 'AtomicAdd32' : not in formal parameter list
lib/openal/include/atomic.h(195) : error C2143: syntax error : missing ';' before '{'
lib/openal/include/atomic.h(198) : error C2054: expected '(' to follow 'inline'
lib/openal/include/atomic.h(199) : error C2085: 'AtomicSub32' : not in formal parameter list
lib/openal/include/atomic.h(199) : error C2143: syntax error : missing ';' before '{'
lib/openal/include/atomic.h(203) : error C2054: expected '(' to follow 'inline'
lib/openal/include/atomic.h(204) : error C2085: 'AtomicSwap32' : not in formal parameter list
lib/openal/include/atomic.h(204) : error C2143: syntax error : missing ';' before '{'
lib/openal/include/atomic.h(207) : error C2054: expected '(' to follow 'inline'
lib/openal/include/atomic.h(208) : error C2085: 'AtomicSwap64' : not in formal parameter list
Well, I should’ve expect that commenting bunch of probably neccessary includes.
I’m running commands from git bash/msysgit/mingw, so maybe there’s option to use gcc instead of cl.exe?