Troubles with first build in VSC
I was following the "Development environment setup" but at step 8. VSC threw out bunch of stuff I do not understand. Could it be because I installed "LLVM-19.1.0-win64.exe"?
The error:
* Executing task in folder Cavedman: D:\Programming\C\Cavedman\build
In file included from ../build.c:32:
In file included from ../oogabooga/oogabooga.c:148:
In file included from C:/Programs_C/mingw64/lib/clang/18/include/immintrin.h:704:
C:/Programs_C/mingw64/lib/clang/18/include/amxintrin.h:328:15: error: always_inline function '_tile_loadd_internal' requires target feature 'amx-int8', but would be inlined into function
'__tile_loadd' that is compiled without support for 'amx-int8'
328 | dst->tile = _tile_loadd_internal(dst->row, dst->col, base, stride);
| ^
In file included from ../build.c:32:
In file included from ../oogabooga/oogabooga.c:356:
../oogabooga/os_impl_windows.c:204:10: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
204 | bool is_repeat = (lparam & 0x40000000) != 0;
| ^
../oogabooga/os_impl_windows.c:424:7: error: call to undeclared function 'SetProcessDpiAwarenessContext'; ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
424 | ok = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
| ^
../oogabooga/os_impl_windows.c:426:8: error: call to undeclared function 'SetProcessDpiAwareness'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
426 | hr = SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE);
| ^
../oogabooga/os_impl_windows.c:426:8: note: did you mean 'SetProcessDPIAware'?
C:/Programs_C/mingw64/x86_64-w64-mingw32/include/winuser.h:6099:29: note: 'SetProcessDPIAware' declared here
6099 | WINUSERAPI WINBOOL WINAPI SetProcessDPIAware (VOID);
| ^
In file included from ../build.c:32:
In file included from ../oogabooga/oogabooga.c:356:
../oogabooga/os_impl_windows.c:524:5: error: call to undeclared function 'GetDpiForMonitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
524 | GetDpiForMonitor(monitor_handle, MDT_EFFECTIVE_DPI, (UINT*)&monitor->dpi, (UINT*)&monitor->dpi_y);
| ^
1 warning and 4 errors generated.
* Terminal will be reused by tasks, press any key to close it.
1
7 comments
Shimon Blunivers
1
Troubles with first build in VSC
powered by
Ooga Booga Game Devs
skool.com/game-dev-grinders-8513
A group for game devs who want to ship great games from scratch in C, while mastering the ancient art of Caveman Programming
Build your own community
Bring people together around your passion and get paid.
Powered by