Coder Social home page Coder Social logo

what is Fetching v86.wasm ... about v86 HOT 13 CLOSED

36479756 avatar 36479756 commented on May 27, 2024
what is Fetching v86.wasm ...

from v86.

Comments (13)

36479756 avatar 36479756 commented on May 27, 2024

i've fixed it now it hanging at "Done downloading. Starting now ..."

from v86.

copy avatar copy commented on May 27, 2024

What are you doing? Anything in the browser console?

from v86.

36479756 avatar 36479756 commented on May 27, 2024

image

from v86.

SuperMaxusa avatar SuperMaxusa commented on May 27, 2024

Can you provide how you build v86 (via Docker or locally) in last try?

from v86.

36479756 avatar 36479756 commented on May 27, 2024

i used make on ubuntu wsl, i kept getting the make (127) error code but, continued on so, i guess that might be the problem

from v86.

SuperMaxusa avatar SuperMaxusa commented on May 27, 2024

make (127) error code but, continued on so, i guess that might be the problem

Any errors in build log? Also check that all dependencies are installed on your system:

v86/Readme.md

Lines 112 to 119 in 2bcfa9d

You need:
- make
- Rust with the wasm32-unknown-unknown target
- A version of clang compatible with Rust
- java (for Closure Compiler, not necessary when using `debug.html`)
- nodejs (a recent version is required, v16.11.1 is known to be working)
- To run tests: nasm, gdb, qemu-system, gcc, libc-i386 and rustfmt

from v86.

36479756 avatar 36479756 commented on May 27, 2024

i tried to install libc-i386 using apt but, it errored out

from v86.

SuperMaxusa avatar SuperMaxusa commented on May 27, 2024

i tried to install libc-i386 using apt but, it errored out

Maybe multiverse isn't enabled in apt?

By the way, for me on Ubuntu 22.04 (unfortunately, I can't test this on WSL now, so I'm using a VM) v86 builds successfully:

$ sudo apt-get install git nodejs make clang unzip openjdk-17-jre wget python3 build-essential libc6-dev-i386
$ curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
$ source "$HOME/.cargo/env"
$ rustup target add wasm32-unknown-unknown
$ git clone https://github.com/copy/v86.git
$ cd v86
$ make all build/xterm.js
$ make run

Also it has a some chance that it's WSL-specificated issue: #811

from v86.

36479756 avatar 36479756 commented on May 27, 2024

ok, ill test it

from v86.

36479756 avatar 36479756 commented on May 27, 2024

error[E0531]: cannot find tuple struct or tuple variant Ok in this scope
--> src/rust/gen/interpreter0f.rs:4035:83
|
4035 | ...(match modrm_resolve(modrm_byte) { Ok(a) => a, Err(()) => return }, modrm_byte >> 3 & 7, match re...
| ^^ not found in this scope

from v86.

SuperMaxusa avatar SuperMaxusa commented on May 27, 2024

Right now I have installed WSL2 with Ubuntu from MS Store, and v86 builds without problems for me (don't look about warning upper, it's other things).
You have installed rustc from apt or official bootstrap? In Ubuntu packages it's has a old version: https://packages.ubuntu.com/jammy/rustc

wsl

from v86.

36479756 avatar 36479756 commented on May 27, 2024

rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)

from v86.

SuperMaxusa avatar SuperMaxusa commented on May 27, 2024

try sudo apt remove rustc and install newest by https://www.rust-lang.org/tools/install or update existing via rustup update stable (probably reinstalling via official installer is better way)

from v86.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.