BASIC

Author Topic: GLBasic V12 (was formerly V11 beta)  (Read 116176 times)

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: GLBasic V11 public beta
« Reply #45 on: 2012-Sep-18 »
Downloading last fix.....

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: GLBasic V11 public beta
« Reply #46 on: 2012-Sep-18 »
HTML5 WORKS????

I got an Error:


Wordcount:3810 commands
compile+link:
python.exe "R:/Compiler/platform/JavaScript/bin/\emscripten\emcc" -O1 --llvm-lto 0 --typed-arrays 2 -IR:\Compiler\platform\Include -IC:\Users\Jordi\Desktop\Electric -DEMSCRIPTEN -DNDEBUG -DWANT_SDL -DHAVE_OPENGL C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_tempg.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp0.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp1.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp2.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp3.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp4.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp5.cpp C:\Users\Jordi\AppData\Local\Temp\glbasic\gpc_temp6.cpp R:\Compiler\platform\JavaScript\bin\libGLBasicWebGL.o -o C:\Users\Jordi\AppData\Local\Temp\glbasic\output.html -DHTML5=1
exit
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 3.2 sec. Time: 10:16
Build: 0 succeeded.
*** 1 FAILED ***
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #47 on: 2012-Sep-18 »
No, Pi & HTML wont compile

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: GLBasic V11 public beta
« Reply #48 on: 2012-Sep-20 »
Error on native_gui -> GLB_GUI_editor-gbas:

Code: GLBasic [Select]
 


MrTAToad

  • Guest
Re: GLBasic V11 public beta
« Reply #49 on: 2012-Sep-20 »
I believe you need to copy the DLLs into the executable location.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3690
    • View Profile
    • Space Fractal
Re: GLBasic V11 public beta
« Reply #50 on: 2012-Sep-20 »
Sometimes and sometimes very often, I got a crash on the sound mixer when I quit the game on Android (and only on quit) and when Im using sound. Its happens after a "Shut Down GLB", and its even on unmodificed SDLActivity.java from this beta (which mean its a close down bug somewhere).

Im not sure what it happens here and how to read the crash log (which I gues its would been much easier if we could see which function its crashed in):
Code: GLBasic [Select]
I/glbasic ( 5235): [GLB]->GLB_ON_QUIT()
I/glbasic ( 5235): Shut down GLB
I/DEBUG   ( 4717): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG   ( 4717): Build fingerprint: 'hp/hp_tenderloin/tenderloin:4.0.4/IMM76I/
330937:user/release-keys'
I/DEBUG   ( 4717): pid: 5235, tid: 5235  >>> com.spacefractal.greedymouse <<<
I/DEBUG   ( 4717): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 4dcba00
4
I/DEBUG   ( 4717):  r0 00000000  r1 0000b000  r2 2aaf762c  r3 00000000
I/DEBUG   ( 4717):  r4 4dcba000  r5 002e8cb0  r6 420a7870  r7 2aaf7474
I/DEBUG   ( 4717):  r8 4dcba008  r9 00000000  10 00000000  fp 7ec7776c
I/DEBUG   ( 4717):  ip 00000000  sp 7ec77720  lr 2aac15c8  pc 2aac4840  cpsr 200
f0030
I/DEBUG   ( 4717):  d0  0000000000000000  d1  0000000000000000
I/DEBUG   ( 4717):  d2  0000000000000000  d3  0000000000000000
I/DEBUG   ( 4717):  d4  0074006300410049  d5  0074006900760069
I/DEBUG   ( 4717):  d6  006e0061004d0079  d7  0072006500670061
I/DEBUG   ( 4717):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   ( 4717):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 4717):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 4717):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 4717):  d16 473e2d5d424c475b  d17 55515f4e4f5f424c
I/DEBUG   ( 4717):  d18 0000000100000000  d19 000000003f800000
I/DEBUG   ( 4717):  d20 0000000100000000  d21 0061006400000002
I/DEBUG   ( 4717):  d22 0000000200000000  d23 00000000004b0044
I/DEBUG   ( 4717):  d24 3e66376972bea4d0  d25 3fd174646512dc71
I/DEBUG   ( 4717):  d26 3fefdfde00000000  d27 bed0810fee5b0a9d
I/DEBUG   ( 4717):  d28 c00005c02b53cb8a  d29 bf66fdec79316df6
I/DEBUG   ( 4717):  d30 bc0a42cc192d5632  d31 be23e4f5df600000
I/DEBUG   ( 4717):  scr 20000010
I/DEBUG   ( 4717):
I/DEBUG   ( 4717):          #00  pc 00015840  /system/lib/libc.so (dlfree)
I/DEBUG   ( 4717):          #01  pc 0001649c  /system/lib/libc.so (free)
I/DEBUG   ( 4717):          #02  pc 0000c07e  /mnt/asec/com.spacefractal.greedymouse-2/lib/libSDL_mixer.so (Mix_FreeChunk)
I/DEBUG   ( 4717):
I/DEBUG   ( 4717): code around pc:
I/DEBUG   ( 4717): 2aac4820 70dcf50c eeb6f7fc f0402800 f8df8307  ...p.....(@.....
I/DEBUG   ( 4717): 2aac4830 f1a8761c 447f0408 428c6939 82eef0c0  .v.....D9i.B....
I/DEBUG   ( 4717): 2aac4840 3c04f858 f140079a f02382e9 07db0603  X..<..@...#.....
I/DEBUG   ( 4717): 2aac4850 0506eb04 8118f100 3c08f858 d51107d8  ........X..<....
I/DEBUG   ( 4717): 2aac4860 0e01f023 ebce4476 36100004 f7f64631  #...vD.....61F..
I/DEBUG   ( 4717):
I/DEBUG   ( 4717): code around lr:
I/DEBUG   ( 4717): 2aac15a8 e2166903 1a000018 e5945000 e1a02004  .i.......P... ..
I/DEBUG   ( 4717): 2aac15b8 e2055a02 e1a00005 e3851001 ebffec3f  .Z..........?...
I/DEBUG   ( 4717): 2aac15c8 e3500000 13856002 1a000001 ea000009  ..P..`.........
.
I/DEBUG   ( 4717): 2aac15d8 ebfffe87 e1a01004 e1a00006 ebffec3f  ............?...
I/DEBUG   ( 4717): 2aac15e8 e1a01005 e1a02006 e3a03000 e1550000  ..... ...0....U.
I/DEBUG   ( 4717):
I/DEBUG   ( 4717): memory map around addr 4dcba004:
I/DEBUG   ( 4717): 4da5f000-4dc5f000 /dev/kgsl-3d0
I/DEBUG   ( 4717): (no map for address)
I/DEBUG   ( 4717): 509ea000-51261000 /dev/kgsl-3d0
I/DEBUG   ( 4717):
I/DEBUG   ( 4717): stack:
I/DEBUG   ( 4717):     7ec776e0  46371460  /mnt/asec/com.spacefractal.greedymouse-2/lib/libmain.soI/DEBUG   ( 4717):     7ec776e4  2ab0b9bf  /system/lib/libstdc++.so
I/DEBUG   ( 4717):     7ec776e8  00008000  /system/bin/app_process
I/DEBUG   ( 4717):     7ec776ec  00000000
I/DEBUG   ( 4717):     7ec776f0  001b2758  [heap]
I/DEBUG   ( 4717):     7ec776f4  2aac1570  /system/lib/libc.so
I/DEBUG   ( 4717):     7ec776f8  00004000
I/DEBUG   ( 4717):     7ec776fc  00000000
I/DEBUG   ( 4717):     7ec77700  46371460  /mnt/asec/com.spacefractal.greedymouse-2/lib/libmain.so
I/DEBUG   ( 4717):     7ec77704  002e8cb0  [heap]
I/DEBUG   ( 4717):     7ec77708  420a7870
I/DEBUG   ( 4717):     7ec7770c  000000b2
I/DEBUG   ( 4717):     7ec77710  4dcba008
I/DEBUG   ( 4717):     7ec77714  00000000
I/DEBUG   ( 4717):     7ec77718  df0027ad
I/DEBUG   ( 4717):     7ec7771c  00000000
I/DEBUG   ( 4717): #00 7ec77720  46371460  /mnt/asec/com.spacefractal.greedymouse-2/lib/libmain.so
I/DEBUG   ( 4717):     7ec77724  002e8cb0  [heap]
I/DEBUG   ( 4717):     7ec77728  420a7870
I/DEBUG   ( 4717):     7ec7772c  000000b2
I/DEBUG   ( 4717):     7ec77730  00001000
I/DEBUG   ( 4717):     7ec77734  00000000
I/DEBUG   ( 4717):     7ec77738  00000000
I/DEBUG   ( 4717):     7ec7773c  2aac549f  /system/lib/libc.so
I/DEBUG   ( 4717): #01 7ec77740  46371460  /mnt/asec/com.spacefractal.greedymouse-2/lib/libmain.so
I/DEBUG   ( 4717):     7ec77744  460f6081  /mnt/asec/com.spacefractal.greedymouse-2/lib/libSDL_mixer.so
I/DEBUG   ( 4717): debuggerd committing suicide to free the zombie!
I/DEBUG   ( 5354): debuggerd: May 22 2012 02:28:00
 


Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10720
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBasic V11 public beta
« Reply #51 on: 2012-Sep-21 »
OSX-png library is fixed. Was a silly setting with long path names.

The SDL_MixFreeChunk crash is strange. It might come when you load or unload a sound. Can you play to make something reproducable?

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: GLBasic V11 public beta
« Reply #52 on: 2012-Sep-23 »
OSX-png library is fixed. Was a silly setting with long path names.

The SDL_MixFreeChunk crash is strange. It might come when you load or unload a sound. Can you play to make something reproducable?

Good!!!!  :good:


And.... about HTML5.... are you fixing this?
You use this "https://github.com/kripken/emscripten"?

TIA  :)
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline Darmakwolf

  • Dr. Type
  • ****
  • Posts: 343
  • Aoooooooo - the werewolves of London!
    • View Profile
Re: GLBasic V11 public beta
« Reply #53 on: 2012-Sep-23 »
HTML5 .... I can't wait!!!!!!!

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: GLBasic V11 public beta
« Reply #54 on: 2012-Sep-23 »
HTML5 .... I can't wait!!!!!!!

+1
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4240
    • View Profile
    • Portfolio
Re: GLBasic V11 public beta
« Reply #55 on: 2012-Sep-23 »
+1

Last week I had the opportunity to play a part in a great project but such required me to output html5 too.
This will really come in handy! :)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2640
    • View Profile
Re: GLBasic V11 public beta
« Reply #56 on: 2012-Sep-24 »
I feel a bit of a party-pooper here but HTML5 compilation won't be of any use to me personally at all due to some essential in-line C.  :( Oh, well maybe with the next project.  :whistle:
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10720
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: GLBasic V11 public beta
« Reply #57 on: 2012-Sep-24 »
inline C works with the Emscripten approach I use.

Offline Hark0

  • Prof. Inline
  • *****
  • Posts: 1020
  • Geek Developer
    • View Profile
    • LitioPixel - Desarrollo de videojuegos con GLBasic | Videogame development with GLBasic
Re: GLBasic V11 public beta
« Reply #58 on: 2012-Sep-24 »
inline C works with the Emscripten approach I use.

Can you release a "beta/test" version of GLB with Emscripten included for OWN tests ????


I read in other threat about huge size of HTML5 projects (4 Mb).... but... please let us play with this "new" option for compile  HTML5.... :P

PLEASEEEEEEEE
« Last Edit: 2012-Sep-24 by Hark0 »
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2640
    • View Profile
Re: GLBasic V11 public beta
« Reply #59 on: 2012-Sep-24 »
inline C works with the Emscripten approach I use.

  :blink: Now I am really confused, I did not know embedding inline C code was even possible with HTML5?!?!

Edit: After reading up a little about emscripten transcoder engine it is a little clearer how you have approached this now Gernot, the C++ and OpenGL will be converted to JavaScript + WebGL and HTML5. It's bold goal, I wish you all the luck!
« Last Edit: 2012-Sep-24 by bigsofty »
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)