Skip to content

Fail to build on MacOS #27

@Treata11

Description

@Treata11

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions