mirror of
https://github.com/gopher64/gopher64.git
synced 2026-04-26 15:35:58 +03:00
[GH-ISSUE #65] Can't build on Linux. #11
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gopher64#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @io3432iooivzs on GitHub (Jun 1, 2024).
Original GitHub issue: https://github.com/gopher64/gopher64/issues/65
Hi.
I'd tried to build v0.1.6 on Linux (Debian12/bookworm).
But failed, build stopped with under error messages.
=== Error messages from ===
Compiling typenum v1.17.0
Compiling rustix v0.38.34
error: failed to run custom build command for
typenum v1.17.0Caused by:
process didn't exit successfully:
{MY_HOME_DIR}/gopher64-0.1.6/target/release/build/typenum-40ca016cb72a8397/build-script-main(signal: 4, SIGILL: illegal instruction)--- stdout
cargo:rerun-if-changed=build/main.rs
warning: build failed, waiting for other jobs to finish...
=== Error messages here ===
I'd tried some solutions,maybe.
Add typenum before building.
$ cd gopher64-0.1.6
$ cargo add typenum
Add system typenum libraries.
$ sudo apt install librust-typenum-dev
Specified Clang-15 instead of Debian12 default (Clang-14).
$ export CC=clang-15
$ export CXX=clang++-15
But these methods only returned same error messages. Can't solve problem.
What wrong?
@loganmc10 commented on GitHub (Jun 1, 2024):
You can try changing or removing this line:
github.com/gopher64/gopher64@d644617d62/.cargo/config.toml (L2)You can try changing it to
target-cpu=x86-64-v2, it's possible that your computer doesn't support v3@io3432iooivzs commented on GitHub (Jun 2, 2024):
Thanks reply, and success to build!
But v0.1.6 was building failed, otherwise, Today's git clone was building success.
Boot gopher64 to success also, I played some game a while, speed was too slow :-<
mupen64plus + parallel-RDP plugin was playing speed fine, almost games I have.
I'll post my PC specs.
A8-7600
Radeon R7 graphics(internal CPU)
A88XM-A
Only exits a few emulators for to play N64,
I'll counting on gopher64.