When I tried to create a bundle of the Oxygen powered psva10.tbasic script, I get this when running the exe file:
Attachment 10379
Printable View
When I tried to create a bundle of the Oxygen powered psva10.tbasic script, I get this when running the exe file:
Attachment 10379
Hi Michael my Version Works Here fine.
Tested with thinbasic Version 12.0.0.
All you can find in rar folder including bundle Version and pics
Hi Lionhead,
executing your exe gives me the same error.
Cheers
Michael
Hello Michael I am Not Sure but the Problem Zone seems to be by oxygen include path Definition..for gl
<I have checked a Lot of examples and the result after two hours is...Code:Uses "TBGL","Oxygen"
#include "thinbasic_gl.inc"
' if you are using plasma example or noise with #include "thinbasic_gl.inc"
' as added include file no problem after bundle the script and running exe file
'
' here's the problem zone belongs to oxygen part
' the include path is wrong I suppose
'
src="
'
'VERTEX ARRAY OBJECT (sync with thinBasic counterpart)
'
'
def included include `%APP_IncludePath%\thinbasic_%1.inc`
included gl
'included glu
'included wgl
'included glext
'includepath `gl`
'include once `thinbasic_wgl.inc`
'include `opengl32.inc`
Type tParticles
X As Single
Y As Single
Z As Single
SIZE As Single
Speed As Single
AngleZ As Single
Fade As Single
R As Single
G As Single
B As Single
End Type
"
...you must better ask Charles pegge ;-)
Regards frank
As I understand it, thinBasic bundles resolve all their #includes into the main script, and omit the original files. So the only practical solution is to replace Oxygen's includes with direct declares for the functions it needs.
Perhaps Eros or Petr will be able to confirm this.
Ciao,
I will check during week-end what I can understand.
Eros
Awesome, thank you Eros.