BlitzMax-NG and Javascript

BlitzMax Forums/Brucey's Modules/BlitzMax-NG and Javascript

Devlin(Posted 2015) [#1]
I keep getting this error when I try to build for web/js in bmx-ng

Platform is set "Web" architecture is locked to "js"

What am I likely to be missing? I know I need something, I just don't know what.

Building runner
[  0%] Compiling:appstub.linux.c
[  0%] Compiling:allchblk.c
[  1%] Compiling:alloc.c
[  1%] Compiling:backgraph.c
[  1%] Compiling:blacklst.c
[  2%] Compiling:checksums.c
[  2%] Compiling:darwin_stop_world.c
Build Error: failed to compile (2) C:/Users/David/Desktop/BlitzMax/mod/brl.mod/blitz.mod/bdwgc/allchblk.cBuild Error: failed to compile (2) C:/Users/David/Desktop/BlitzMax/mod/brl.mod/blitz.mod/bdwgc/alloc.c
Process complete



Devlin(Posted 2015) [#2]
Add: If I try to just Build Modules it does this?

Building Modules
[  0%] Compiling:appstub.linux.c
[  0%] Compiling:debugger.stdio.glue.c
[  0%] Compiling:allchblk.c
[  0%] Compiling:alloc.c
[  0%] Compiling:backgraph.c
[  0%] Compiling:blacklst.c
[  0%] Compiling:checksums.c
[  1%] Compiling:darwin_stop_world.c
[  1%] Compiling:dbg_mlc.c
[  1%] Compiling:dyn_load.c
[  1%] Compiling:finalize.c
Build Error: failed to compile (2) C:/Users/David/Desktop/BlitzMax/mod/brl.mod/blitz.mod/bdwgc/allchblk.c
Process complete


I'm using the Windows version of bmx-ng (1/11/15) from the website.


Derron(Posted 2015) [#3]
11.01.2015 ?
1.11.2015?

When having a look at: https://github.com/bmx-ng/bmx-ng/releases
I only see "BlitzMax Win32 v0.66.3.07".

Did you try downloading that release - and then fetching the latest bmk,bcc,modules ... recompiling bmk with your release, then recompiling bcc - and then putting everything together.


bye
Ron


Devlin(Posted 2015) [#4]
I got it from here:
http://www.bmx-ng.com/main/downloads/

(Updated: 01/11/15)

BlitzMax_win32_0.66.3.07.7z (Includes SDL backend, and mojo2)

Installation Instructions: Download and extract files using 7zip.




LT(Posted 2015) [#5]
What does BMX-NG have to do with JavaScript?


Devlin(Posted 2015) [#6]
There's a javascript target in bmx-ng?


Derron(Posted 2015) [#7]
I doubt that the JS-target (using emscripten) is really working flawless for now ... it was more likely a "could be done"-show-off-target. But I did not test the currenrt revisions...
Maybe Brucey could tell more.


bye
Ron


Devlin(Posted 2015) [#8]
Ah, if it's still new and not fully working, then okay. I can live with it for now. It's building 32bit and 64bit executables wonderfully.