Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Minion

Pages: [1] 2
1
GLBasic - en / Android Compiling error
« on: 2017-Apr-21 »
Its been a while since i did some compiling for android (bout 3 years) but wanted to get back into it. So I grabbed the Java JDK, set the home var, installed the GLB Android platform. Then compiled and got this .....


Code: GLBasic [Select]

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:4a22a623 - 3D, NET
Wordcount:1069 commands
compile+link:

running glb_build.bat
Using ANDROID_TARGET="android-22"
You can use "E:\GLB\GLBasic\Swoop\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
%ANDROIDSDK% not set. Using GLBasic's default target-22, Android 5.1 (Lollipop
ECHO is off.
androidmanifest.xml:
Make sure to check do a manual check for those.
android:minSdkVersion="10" android:targetSdkVersion="22"
ECHO is off.

AndroidIcons.exe [v21-3-2015] running...
copy E:/GLB/GLBasic/Swoop/icon_36_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-ldpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_48_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-mdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_72_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable/icon.png
copy E:/GLB/GLBasic/Swoop/icon_72_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-hdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_96_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xhdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_180_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xxhdpi/icon.png
copy E:/GLB/GLBasic/Swoop/icon_192_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xxxhdpi/icon.png
E:/GLB/GLBasic/Swoop/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy E:/GLB/GLBasic/Swoop/icon_ouya_AndroidExtras.png to E:/GLB/GLBasic/Swoop/distribute/Android/res/drawable-xhdpi/ouya_icon.png

Checked AdActivity (intersititals):
Does not uses a AdActivity

Android Extras version (SDLActivity.java):
* 2.11.2

Checking Icons Finished...

BUILD STAGE 2: Start compiler (android.bat)
SDK=Q:\Compiler\platform\android\bin\..\android-sdk-windows
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
[b]ERROR: SWT folder 'lib\x86_64' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.[/b]
.
[b]BUILD STAGE 3: Build a debug build
Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed[/b]
.
BUILD STAGE 4: Build a release build
Unable to locate tools.jar. Expected to find it in E:\Program Files\Java\jre1.8.0_131\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
HOW TO INSTALL? Install by invoke this command:
"Q:\Compiler\platform\android\bin\..\android-sdk-windows\platform-tools\adb.exe" install -r "E:\GLB\GLBasic\Swoop\distribute\Android/bin/glbasic-debug.apk"
.
HOW TO SIGN? Sign it by invoke this command:
"Q:\Compiler\platform\android\bin\glb_code_sign.bat" "E:\GLB\GLBasic\Swoop\distribute\Android"
.
Android=E:\GLB\GLBasic\Swoop\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 6.0 sec. Time: 11:29
Build: 1 succeeded.


 

Whats the SWT folder its on about ?

And why cant it find the build.xml ?

I assume after that thats why the whole thing fails. Any ideas/suggestions on why/what to do ?

Ta muchly

2
GLBasic - en / PLAYMOVIE or any alternative
« on: 2016-Mar-11 »
Before I start to rip my hear out and tear my own intestines out of my ears trying to solve this problem, does anybody else know of an alternative to the PLAYMOVIE commands ?

I was going to look into streaming a video to a texture, but have no idea where to start with that.

I have several mp4 files I`d like to play on the PC as well as my PI, but the PLAYMOVIE command doesnt play MP4s on either platform, so any help / advice on this would be greatly appreciated.

Thanks

3
GLBasic - en / Read / Write types
« on: 2014-Jul-13 »
Not sure if this is possible or not (perhaps an undocumented feature that Ive not heard about) but is it possible to write and read types ? Would really save a lot of time being able to write a type instead of of writing each individual field from it (and read them of course).

4
GLBasic - en / Q*Boyd
« on: 2012-Jul-09 »
Riding high in the charts now ;)


5
Bug Reports / Float precision
« on: 2012-May-03 »
Have a very weird bug here.

Code: GLBasic [Select]
LOCAL mx%=0
LOCAL manx=9.0
LOCAL c=0

REPEAT
        manx=manx+0.2
        mx=manx
        PRINT mx+"   "+manx,0,c
        c=c+16

UNTIL mx>15
SHOWSCREEN
KEYWAIT

and heres the results ...

Code: GLBasic [Select]
9   9.2
9   9.4
9   9.6
9   9.8
9   10
10   10.2
10   10.4
10   10.6
10   10.8
10   11
11   11.2
11   11.4
11   11.6
11   11.8
11   12
12   12.2
12   12.4
12   12.6
12   12.8
12   13
13   13.2
13   13.4
13   13.6
13   13.8
13   14
14   14.2
14   14.4
14   14.6
14   14.8
14   15
15   15.2
15   15.4
15   15.6
15   15.8
15   16
16   16.2
 

notice that when manx is a whole number and i assign it to the int, it doesnt register it as such ;(

6
GLBasic - en / XOR graphics
« on: 2012-Mar-11 »
Not even sure if this is possible in GLB but I`ll ask anways.

Is it possible to XOR a graphic (be it DRARECT or POLYVECTOR or DRAWSPRITE) to the screen (without the use of shaders) ?

7
Bug Reports / Problem with CONSTANT
« on: 2012-Feb-06 »
Not sure if this is a bug or not, can anyone else confirm this for me ?

when using constant I get funny results.

I defined the following ....

CONSTANT CR$ = CHR$(13)

But whenever I use it in a string value, it returns the path for the EXE file i`m running :(

Using " "+CHR$(13) returns some very weird characters indeed :(

But if I use just " " it works fine.

Am I missing something here, or doing something wrong ? Or can I not set a constant to CHR$(13) ?

8
Off Topic / Samsung Galaxy S II
« on: 2011-Nov-10 »
Anyone have one of these and is coding for it ?

Have you had any problems at all ?

Is there anything that doesnt work, but you`ve managed to make a work-around for ?

I ask because my games refuse to work on these even tho they appear to work on everything else. Ive tried trimming my code down and adding points to show where in the code it appears to be bugging out. But more often than not it appears random (sometimes working with certain code, othertimes failing point blank)

Any advice wit this would be greatly appreciated.

9
GLBasic - en / Android Devices
« on: 2011-Oct-24 »

I have just had a report back that my app failed to work on an Android phone (Samsung Galaxy S II). As I dont have said phone I cant really tell whats wrong. Then I came up with an idea.

What with there being numerous amounts of devices out there, with umpteen various configurations, I thought it might be worth getting together a list of peoples Android devices here, all the flavours we can muster, and then if people are willing we can try each others apps to check for compatabilty.

I have a Sony Ericsson Xperia Arc

If people are willing to take part I can maintain a list here. And if any of us have problems with a particular device (or just want to check it works with some other device) we can get in touch with the relevant people. Sound plausable ?

10
GLBasic - en / FOREACH element number
« on: 2011-Oct-18 »
During a FOREACH loop, is there anyway of knowing wich element number the ref is pointing too ? I have had a gander thru the help file and can`t seem to find anything (but I may have just missed it). Is it possible or am I clucthing at straws ?

11
Bug Reports / Compiler / editor bug
« on: 2011-Oct-18 »
While testing my latest block buster I think I found (created) a bug. The app was running, so I wento to close it. But instead of closing the active window, I closed GLB down. The app continued to run, so I then closed that down. When I reopened GLB and my code again, I clicked on the Compile+Run button, it shows the message "Precompiling" and then nothing. It now refuses to compile ;( Ive tried all the usual suspects, just compiling, hitting the trash can and trying to compile again, rebooting, deleting the exe file previously created and trying to compile again but nothing works. I even tried hitting the "Start copy" button after deleting the exe, but that just throws up the message that the program is still running. I have had this happen in the past but had no idea how I got there, at least I know what I did this time. Any ideas on how to fix this (other than creating a new project and transfering all my source over to said project) ?

12
GLBasic - en / Pandora Joysticks
« on: 2011-May-29 »
OK... I give up ;( Has anyone else been able to read the joypad/nubs/buttons on the Pandora ?

Ive tried everything to get the data from them and nothing is coming back. I can get the info back from a standard usb joytick on the PC, but for the life of me I can get nothing back on the Pandora (barr the left nub, and thats all ;( )

Anyone else had any luck with this ?

13
GLBasic - en / Steam & GLBasic
« on: 2011-Mar-07 »
Please forgive my ignorance, and my possible repetative post (if this has already been asked. I did look but couldn`t see anything relating to this)

Games on Steam uses an overlay GUI interface thingymabob. is this compatable with GLB and if so is there anything I need to know/do in order to use it ?

14
GLBasic - en / Compiler error - using inline
« on: 2007-Mar-25 »
I got the below error and for the life of me have no idea why ! Can anyone shed any light as to why ?

Code: GLBasic [Select]
compiling:
C:/DOCUME~1/Owner/LOCALS~1/Temp/glbasic/gpc_temp0.cpp: In function `DGInt __GLBASIC__::blur()':
C:/DOCUME~1/Owner/LOCALS~1/Temp/glbasic/gpc_temp0.cpp:41: error: expected `)' before ';' token
C:/DOCUME~1/Owner/LOCALS~1/Temp/glbasic/gpc_temp0.cpp:41: error: expected `;' before ')' token
*** FATAL ERROR - Please post this output in the forum
_

15
GLBasic - en / Fonts
« on: 2007-Mar-11 »
Dunno if this topic has cropped up before, but ive had a scan and cant seem to find anything relating to it. So I shall just come right out and ask ...

Is it possible to use more than 1 font within a game ?

Id like several sets of the same font but in multiple colours. Other than coding my own font routines, is there any other way ?

Pages: [1] 2