Skip to content

How to build on windows 10 #1

Open
@Naginipython

Description

@Naginipython

I am trying to use the quickjs_runtime crate in my project, and it works really well on linux (best I've used), but when I try to build for windows, the custom script for this fails. I tried to get GCC, since it stdout mentioned it, but to no avail.

error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Z7" "-Brepro" "-W4" "-D_GNU_SOURCE" "-DCONFIG_VERSION=\"quickjs-ng-0.4.1\"" "-DCONFIG_BIGNUM" "-FoD:\\Documents\\GitHub\\js_rs_test\\target\\debug\\build\\hirofa-quickjs-sys-3ca1b89090c2287e\\out\\04a782c76559f00c-cutils.o" "-c" "D:\\Documents\\GitHub\\js_rs_test\\target\\debug\\build\\hirofa-quickjs-sys-3ca1b89090c2287e\\out\\quickjs\\cutils.c" with args cl.exe did not execute successfully (status code exit code: 2).

I can post full stderr if needed, but there is a lot there. Is there a C/C++ build step on Windows I'm unaware of?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions