I have a M1 machine & it's not possible to build the project ...
I didn't rely on the pre-canned MAKEFILE in test directory (since that simply didn't work at all) & instead, I created a very simple CMakeLists.txt config:
cmake_minimum_required(VERSION 3.10)
project(WindowsHModular)
include_directories(include)
add_library(delta-core STATIC
# Source files
test/test.c
main.c
)
& in the main.c file, I only included the win32/windows.h header.
But the project fails to build running the command cmake --build . with error:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
I'll share a list of the errors. (Most of them, I'm familiar with & know a solution for ... they are simply APIs found only on windows & not on other platforms.)
My entire intention of using WindowsHModular was to build a windows-project which relied on Windows.h header in the code ... So I figured this project would fix the absence of the windows headers ...
I have a M1 machine & it's not possible to build the project ...
I didn't rely on the pre-canned
MAKEFILEin test directory (since that simply didn't work at all) & instead, I created a very simpleCMakeLists.txtconfig:& in the
main.cfile, I only included thewin32/windows.hheader.But the project fails to build running the command
cmake --build .with error:fatal error: too many errors emitted, stopping now [-ferror-limit=]I'll share a list of the errors. (Most of them, I'm familiar with & know a solution for ... they are simply APIs found only on windows & not on other platforms.)
My entire intention of using
WindowsHModularwas to build a windows-project which relied onWindows.hheader in the code ... So I figured this project would fix the absence of the windows headers ...