Skip to content

Koka 3.1.2 fails to install/build: 'assert.h' file not found #568

@oconnor0

Description

@oconnor0

On Windows 10, I installed VSCode via scoop install vscode and then installed the official Koka extension. It installed Clang and after installation failed to build. I don't have the exact error, but it's similar to the one below.

Then I uninstalled those, installed Clang via scoop install clang, downloaded and ran curl -sSL -o %tmp%\install-koka.bat https://github.com/koka-lang/koka/releases/latest/download/install.bat && %tmp%\install-koka.bat, and when I ran koka get the following error message:

In file included from c:/Users/me/.koka/v3.1.2/clang-cl-debug-27e583/std_core.c:2:
In file included from c:/Users/me/.koka/v3.1.2/clang-cl-debug-27e583\std_core.h:5:
c:/Users/me/AppData/Local/koka/share/koka/v3.1.2/kklib/include\kklib.h(38,10): fatal error:
      'assert.h' file not found
   38 | #include <assert.h>           // assert
      |          ^~~~~~~~~~
1 error generated.
^
std/core(1, 1): build error: user error (error  : command failed (exit code 1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions