I am interested in the Unicorn Console, but I've been struggling to get something working for a couple of days now. I have tried what seems to be the earlier version in PX8, but I can only get that to run some demos and couldn't find the editor. But since Unicorn seems to be the currently supported fantasy console, I've mainly be trying for this.
I should preface this with the fact that I am completely new to this kind of thing. I'm seeking out this console for retro style game development using Python code.
The errors I have are as followed:
The first seems to be some error related to the chiptune file.
--- stderr
thread 'main' panicked at 'Error: The system cannot find the file specified. (os error 2)', C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\chiptune\build.rs:90:23
note: Run with RUST_BACKTRACE=1 for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed`
The second error has to do with the lua pluginfailed to run custom build command forunicorn_plugin_lua v0.0.11 (C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\lua) process didn't exit successfully:C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\lua\target\release\build\unicorn_plugin_lua-072ccf7b2d1a3b08\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=static=lua
--- stderr
thread 'main' panicked at 'cl.exe and lib.exe must be on your %PATH% to compile Lua for MSVC.
Please install this crate through the Visual Studio Native Tools Command Line.', build.rs:80:9
note: Run with RUST_BACKTRACE=1 for a backtrace.`
The final error had to do with the duktape pluginerror: failed to run custom build command forduktape v0.0.1 (C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\duktape) process didn't exit successfully:C:\Users\Name\Desktop\UnicornConsole-master\unicorn-devkit\target\release\build\duktape-7d4c9994dc375616\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=static=duktape
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
TARGET = Some("x86_64-pc-windows-msvc")
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
CC_x86_64-pc-windows-msvc = None
CC_x86_64_pc_windows_msvc = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
CFLAGS_x86_64-pc-windows-msvc = None
CFLAGS_x86_64_pc_windows_msvc = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("false")
--- stderr
thread 'main' panicked at 'Error: The system cannot find the file specified. (os error 2)', C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\duktape\build.rs:87:19
note: Run with RUST_BACKTRACE=1 for a backtrace.`
I've tried various attempts at fixing the issues, but I am completely unfamiliar with the Rust cargo build system or any cmd functions at all. I attempted running the cargos individually in each of these sections and I tried cargo clear on them but when one problem didn't show up, the others did. I do not have lua or duktape installed since I plan on using Python.
I also tried both the method through the devkit and through libretro.
I am interested in the Unicorn Console, but I've been struggling to get something working for a couple of days now. I have tried what seems to be the earlier version in PX8, but I can only get that to run some demos and couldn't find the editor. But since Unicorn seems to be the currently supported fantasy console, I've mainly be trying for this.
I should preface this with the fact that I am completely new to this kind of thing. I'm seeking out this console for retro style game development using Python code.
The errors I have are as followed:
The first seems to be some error related to the chiptune file.
failed to run custom build command for
chiptune v0.0.1 (C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\chiptune)process didn't exit successfully:
C:\Users\Name\Desktop\UnicornConsole-master\unicorn-devkit\target\release\build\chiptune-6c8b1ba333482299\build-script-build` (exit code: 101) --- stdout cargo:rustc-link-lib=static=chiptune OPT_LEVEL = Some("3") TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") TARGET = Some("x86_64-pc-windows-msvc") TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") CC_x86_64-pc-windows-msvc = None CC_x86_64_pc_windows_msvc = None HOST_CC = None CC = None TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") CFLAGS_x86_64-pc-windows-msvc = None CFLAGS_x86_64_pc_windows_msvc = None HOST_CFLAGS = None CFLAGS = None DEBUG = Some("false")--- stderr thread 'main' panicked at 'Error: The system cannot find the file specified. (os error 2)', C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\chiptune\build.rs:90:23 note: Run with
RUST_BACKTRACE=1
for a backtrace.warning: build failed, waiting for other jobs to finish... error: build failed`
The second error has to do with the lua plugin
failed to run custom build command for
unicorn_plugin_lua v0.0.11 (C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\lua)process didn't exit successfully:
C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\lua\target\release\build\unicorn_plugin_lua-072ccf7b2d1a3b08\build-script-build` (exit code: 101) --- stdout cargo:rustc-link-lib=static=lua--- stderr thread 'main' panicked at 'cl.exe and lib.exe must be on your %PATH% to compile Lua for MSVC. Please install this crate through the Visual Studio Native Tools Command Line.', build.rs:80:9 note: Run with
RUST_BACKTRACE=1
for a backtrace.`The final error had to do with the duktape plugin
error: failed to run custom build command for
duktape v0.0.1 (C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\duktape)process didn't exit successfully:
C:\Users\Name\Desktop\UnicornConsole-master\unicorn-devkit\target\release\build\duktape-7d4c9994dc375616\build-script-build` (exit code: 101) --- stdout cargo:rustc-link-lib=static=duktape OPT_LEVEL = Some("3") TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") TARGET = Some("x86_64-pc-windows-msvc") TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") CC_x86_64-pc-windows-msvc = None CC_x86_64_pc_windows_msvc = None HOST_CC = None CC = None TARGET = Some("x86_64-pc-windows-msvc") HOST = Some("x86_64-pc-windows-msvc") CFLAGS_x86_64-pc-windows-msvc = None CFLAGS_x86_64_pc_windows_msvc = None HOST_CFLAGS = None CFLAGS = None DEBUG = Some("false")--- stderr thread 'main' panicked at 'Error: The system cannot find the file specified. (os error 2)', C:\Users\Name\Desktop\UnicornConsole-master\unicorn\src\plugins\duktape\build.rs:87:19 note: Run with
RUST_BACKTRACE=1
for a backtrace.`I've tried various attempts at fixing the issues, but I am completely unfamiliar with the Rust cargo build system or any cmd functions at all. I attempted running the cargos individually in each of these sections and I tried cargo clear on them but when one problem didn't show up, the others did. I do not have lua or duktape installed since I plan on using Python.
I also tried both the method through the devkit and through libretro.