Pre-requisites for compile in Html5?¿

Previous topic - Next topic

mentalthink

Hi yesterday I installed the last version of GLBasic, the 12V.

Really I can't compile in Html5, I don't know what I can do more...

I installed python and Java 6 (I tried with 7) but doens't works, I test with the Snow Code Gernot made. (Python and Java it's for 32 bits)

I'm using windows 7 X64, I think for Android it's needed java x86?¿. (This it's because I installed python and java for 32 bits)

The compile windows, seems like it's into a bucle witout end, I leave compiling more than 10 min and finally don't makes nothing, I only make one time the output file, but with 0Kb


kanonet

I can confirm that HTML5 (both) does not work any more, I just tested with a project that compiled with last V11. I just installed V12 over V11 so not sure if thats related to the problem.

Here the log:
Code (glbasic) Select
_______________________________________
*** Configuration: HTML5-WEBGL ***
precompiling:
GPC - GLBasic Precompiler V.10.060 SN:c23b5d9b - 3D, NET
Wordcount:17 commands
compile+link:
Traceback (most recent call last):
  File "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\emcc", line 1544, in <module>
    libfile = shared.Cache.get(name, create)
  File "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\tools\cache.py", line 37, in get
    shutil.copyfile(creator(), cachename)
  File "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\emcc", line 1443, in create_libcextra
    return build_libc('libcextra.bc', libcextra_files)
  File "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\emcc", line 1281, in build_libc
    shared.Building.link(o_s, in_temp(lib_filename))
  File "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\tools\shared.py", line 1015, in link
    if Building.is_bitcode(f):
  File "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\tools\shared.py", line 1397, in is_bitcode
    b = open(filename, 'r').read(4)
IOError: [Errno 2] No such file or directory: 'C:\\Tools\\Basic\\GLBasic\\Temp\\tmpi_sqqc\\iconv.c.o'
Setting current dir to: C:/Eigene Programme/GLBasic/Test3/Test3.app
Exec: python.exe "C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\emcc" -O2 -s ASM_JS=1 --llvm-lto 0 --typed-arrays 2 -s OUTLINING_LIMIT=99999 -s LEGACY_GL_EMULATION=1 --shell-file C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\glbasic_template.html --js-library C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\lib_glb_plus.js -Wno-warn-absolute-paths -IC:\Tools\Basic\GLBasic\Compiler\platform\Include "-IC:\Eigene Programme\GLBasic\Test3" -DEMSCRIPTEN -DNDEBUG -DWANT_SDL -DHAVE_OPENGL C:\Tools\Basic\GLBasic\Temp\glbasic\gpc_tempg.cpp C:\Tools\Basic\GLBasic\Temp\glbasic\gpc_temp0.cpp C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\libGLBasicWebGL.o C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\libpng-gf.o -o C:\Tools\Basic\GLBasic\Temp\glbasic\output.html -DHTML5WEBGL=1 --preload-file "Media"
distribute HTML5 to: C:/Eigene Programme/GLBasic/Test3/distribute/HTML5
exit
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________
*** Fertig ***
Dauer: 307.0 sek. Zeit: 16:53
Erstellen: 0 erfolgreich.
*** 1 FEHLGESCHLAGEN ***

Yes, over 5min compile time. :o
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

mentalthink

HI Kanonet, I thinked the same perhaps it's for the 2 versions at the same time... or perhaps it's for put the V12 into the Program Files Folder (like a version we need to install in C:/)... I try this 2 point and doens't works...

When I don't have install Python I have some errors like you, but
C:\Tools\Basic\GLBasic\Compiler\platform\JavaScript\bin\emscripten\emcc", line 1544, in <module>
    libfile = shared.Cache.get(name, create)
This line was a bit different tell me something like unknowed on you have <module> sorry I don't rebenber exactly wat puts the compiler...

Thanks Kano for reply, I don't know what more try to makes works.