WebAssembly-in-Action icon indicating copy to clipboard operation
WebAssembly-in-Action copied to clipboard

Section 7.2.2 - Dynamic linking

Open auermich93 opened this issue 4 years ago • 2 comments

Hi,

I am trying to build the code of section 7.2.2 on my Windows 10 machine, using Firefox Browser 84.0.2. However, running the code shows the following output: webassembly

The compilation process doesn't expose any warning or error using the latest SDK. I have also tried the code directly from the repository and even a simplified version of it, but the error remains. Even tried to use Internet Explorer but without success. I am using the suggested emrun command for spawning a simple web server.

Any help is appreciated!

auermich93 avatar Jan 18 '21 20:01 auermich93

I'm able to reproduce the issue using emrun but I'm not certain why it's not working. I'll do some digging.

For now, you could try using the wasm-server.py file that matches your setup (python 2.5 or 3): https://github.com/cggallant/blog_post_code/tree/master/2020%20-%20July%20-%20Extending%20Python%E2%80%99s%20Simple%20HTTP%20Server

I drop the wasm-server.py file into the folder with the html file, open a command prompt and navigate to the file and then run the following command: python wasm-server.py

After that, open the browser and type: http://localhost:8080/main.html

cggallant avatar Jan 20 '21 15:01 cggallant

Thanks, the suggested work-around does its job.

auermich93 avatar Jan 20 '21 19:01 auermich93