I CAN COMPILE ON WINDOWS!!!!!
Sorry for the screaming.
Yay! =D
Dont bloody keep it to yourself !!!!!!! Gimmee gimmee gimmee ;)
Get the latest setup now. It really works!
What setup ? A new version of GLB ?
Update
Setup please, if you want pandora - the live update would have been too heavy.
What a happy day, isn't it ;)
OK, what am I looking for ? Setup what ? Update what ? Is it just downloading the latest version of GL or is it something else ?
OK, just downloaded the full SDK, reinstalled it, and tried to compile for pany, and I get this ...
_______________________________________
*** Configuration: PANDORA ***
precompiling:
GPC - GLBasic Precompiler V.7.861 SN:dea43a4d - 3D, NET
Wordcount:1567 commands
compile+link:
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libts-1.0.so.0, needed by Q:\Compiler\platform\pandora\lib/libSDL.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libmad.so.0, needed by Q:\Compiler\platform\pandora\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libIMGegl.so, needed by Q:\Compiler\platform\pandora\lib/libGLES_CM.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libsrv_um.so, needed by Q:\Compiler\platform\pandora\lib/libGLES_CM.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libXau.so.6, needed by Q:\Compiler\platform\pandora\lib/libX11.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libXdmcp.so.6, needed by Q:\Compiler\platform\pandora\lib/libX11.so, not found (try using -rpath or -rpath-link)
success
_______________________________________
*** Finished ***
Elapsed: 14.4 sec. Time: 13:21
Build: 1 succeeded.
Im pretty sure that isnt right ;( And I cant find anything in the PandoraMake folder that looks like a binary file to transfer over.
Dont worry about those warning messages
Ah...ok. Did manage to pind a bin file, not in PandoraMake folder tho (That was there from old compiles) but in the normal app folder. Pushed that over to the pandy...and it worked ;) Mind numbingly slow tho...and theres a fair few glitches, like BLENDSCREEN doesnt work properly (my images fade on, then screen goes black and the next image fades on), Joystick doesnt seem to register, USEASBMP doesnt appear to work (My image flashes on screen, then the screen goes black again) And I have a really bizzare bug that is changing all my on screen text to the last piece of text I last used.
If your game runs far too slow you should consider to optimize or change your code because generally GLBasic runs quite fast on the Pandora now.
This uses not any 3D commands but it runs fast:
http://www.youtube.com/watch?v=3PuGRCVAoa4
It was compiled on the Pandora before the OpenGL acceleration. Now the same code runs much faster and there're still optimization possible.
For USEASBMP pick up USESCREEN and you can get the same result. In my example I've used it and it works.
The game Im running is this ...
http://www.glbasic.com/showroom.php?site=games&game=spaceinvadersmk2&lang=en
And on the title screens alone, what takes 10/15 seconds to pass on there takes at least 3.5 minutes ;(
QuoteAnd on the title screens alone, what takes 10/15 seconds to pass on there takes at least 3.5 minutes ;(
Ouch! :(
Awesome! A few things though:
1) I downloaded the SDK, for which I thought I was only supposed to be able to make Win32, Linux, and Mac with it? I didn't upgrade to premium or anything, just went through with the free version, but there doesn't seem to be anything preventing me from building for any of the other systems (notably Pandora :D). Is that a mistake or did I misunderstand?
2) Pandora output is a .PND file but it's really just an executable. PND files aren't executables, they're ISOs (or squashfs files) containing executable and data files, with a special XML file concatenated onto the end (and included within the ISO itself). The XML tells the Pandora how to load the PND file (notably which file is the executable, what icon to use, etc...) so it can make a menu item for it automatically. That being said, I was able to run the resulting PND file as just a regular executable. Brilliant!
3) Those warnings are not strictly a problem but they are annoying. I took the liberty of pulling the respective files off my Pandora and bundling them up here (http://www.rebirthofxeen.com/files/pandora/libs.rar). Just drop them into the arm-none-linux-gnueabi\libc\lib directory and the warnings disappear.
It still needs some work, or perhaps the applications themselves need to be adjusted, but I see a lot of awesome potential here.
conserning 1)
Please check an example more than 5 min.
from GLBasic-News Site: http://www.glbasic.com/main.php?lang=en&site=news
"GLBasic is now free for non-commercial Projects of the platforms: Windows, Linux und Mac (2D und console). If premium services are used, the running app switches into the 5 minute demo mode."
Hi! I'm normally coding just fine on my Pandora with C/C++, but for fun I thought I would try a small GLBasic project, and so I've become a registered user. (Anything to support more cool stuff on Pandora!)
Anyway, just wondering if the GLBasic compiler is using Floating Point in any way, and if so which fpu settings are used at the build stage?
I use:
-O3 -w -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
DjWillis told me that's fine.
Heya.
GLBasic seems to be gaining some traction in the Pandora community, and I'm keen to keep the momentum going if possible, so I thought I'd follow up here before it got lost in the distractions. =D
Firstly,
Quote from: WizardStanPandora output is a .PND file but it's really just an executable. PND files aren't executables, they're ISOs (or squashfs files) containing executable and data files, with a special XML file concatenated onto the end (and included within the ISO itself). The XML tells the Pandora how to load the PND file (notably which file is the executable, what icon to use, etc...) so it can make a menu item for it automatically.
This one's rather important. For some assistance in making this happen (and it seems simple enough for the sort of person that can, say, write his own programming language ;)), there's the
PND Quickstart Guide (http://"http://pandorawiki.org/PND_quickstart") available at the PandoraWiki (http://"http://pandorawiki.org/Main_Page") that (from what I can tell) will tell you everything you need to know.
Secondly, this:
Quote from: WizardStanThose warnings are not strictly a problem but they are annoying. I took the liberty of pulling the respective files off my Pandora and bundling them up here (http://"http://www.rebirthofxeen.com/files/pandora/libs.rar"). Just drop them into the arm-none-linux-gnueabi\libc\lib directory and the warnings disappear.
Hopefully these files can be incorporated (linked from the word 'here' above) into GLBasic such that those ugly ugly warnings don't pop up if they don't need to.
Again, GLBasic is starting to gain some traction in a new community and I'm always keen to see quality software get the sort of recognition it deserves, so hopefully resolving the issues above can help you get a foot in the door (so to speak).
edit: Wow - first post? Really? I've been reading these forums forever and have never posted? Well... that's the end of that, then.
can someone write me a batch file, that can make a .pnd archive from a directory on windows? I'll include that then.
OK, I think I got it.
1st post woohoo ;-)
yep, let's keep the momentum going on GLBasic for Pandora. I have downloaded the "free" GLBasic version and will upgrade to the full package when I (eventually) receive my Pandora.
I'm trying to get a GLBasic sub-forum setup under the development section on the Pandora boards - can anyone interested in this, post that they want this setup here; http://boards.openpandora.org/index.php?/topic/2331-glbasic-new-sub-category/ (http://boards.openpandora.org/index.php?/topic/2331-glbasic-new-sub-category/)
Hopefully if we get enough people to respond we will get a dedicated Pandora GLBasic sub-forum :-)
It would be preffered to have all the help for GLBasic on the official forums I guess. Otherwise you risk having questions on severals boards and no answers.
On the other hand it's good publicity to developers that wouldn't have heard of it otherwise.
Hmm...
Now if I just could get my pandora :-)