Skip to content

update mruby to 1.4.1 #98

Description

@dsisnero

I couldn't get this to compile for the included mruby of 1.2 . Tried to update it to 1.4.1 but the build.rs file is broken for mrbgems because the include files aren't located where its searching.

The directory mruby-io has an error when trying to include this -> #include "mruby/ext/io.h"

the include is located under mrubygems/mruby-io/include/mruby/ext/io.h

CFLAGS = None
DEBUG = Some("true")
running: "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-I" "target/mruby-out/include" "-Wall" "-Wextra" "-o" "C:\Dominic\programming\repos\git\mrusty\target\debug\build\mrusty-509596ed8d3c3d96\out\target/mruby-out/src\mrbgems\mruby-io\gem_init.o" "-c" "target/mruby-out/src\mrbgems\mruby-io\gem_init.c"
exit code: 0
TARGET = Some("x86_64-pc-windows-gnu")
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-I" "target/mruby-out/include" "-Wall" "-Wextra" "-o" "C:\Dominic\programming\repos\git\mrusty\target\debug\build\mrusty-509596ed8d3c3d96\out\target/mruby-out/src\mrbgems\mruby-io\src\file.o" "-c" "target/mruby-out/src\mrbgems\mruby-io\src\file.c"
cargo:warning=target/mruby-out/src\mrbgems\mruby-io\src\file.c:9:10: fatal error: mruby/ext/io.h: No such file or directory
cargo:warning= #include "mruby/ext/io.h"
cargo:warning= ^~~~~~~~~~~~~~~~
cargo:warning=compilation terminated.
exit code: 1

--- stderr
thread 'main' panicked at '

Internal error occurred: Command "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-I" "target/mruby-out/include" "-Wall" "-Wextra" "-o" "C:\Dominic\programming\repos\git\mrusty\target\debug\build\mrusty-509596ed8d3c3d96\out\target/mruby-out/src\mrbgems\mruby-io\src\file.o" "-c" "target/mruby-out/src\mrbgems\mruby-io\src\file.c" with args "gcc.exe" did not execute successfully (status code exit code: 1).

', C:\Users\Dominic E Sisneros.cargo\registry\src\github.com-1ecc6299db9ec823\gcc-0.3.55\src\lib.rs:1672:5
note: Run with RUST_BACKTRACE=1 for a backtrace.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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