I've been working on a new Mac IDE. It's not yet for release.
More info (including video) here http://marovada.com/2013/05/04/mac-editor-for-glbasic/ (http://marovada.com/2013/05/04/mac-editor-for-glbasic/)
Download
https://www.dropbox.com/s/va4u6q3nxk854u6/GLBasicMacIDE.zip (https://www.dropbox.com/s/va4u6q3nxk854u6/GLBasicMacIDE.zip)
Place both GLBasicEditor.app and GPC.app into your applications folder and launch GLBasicEditor.app.
Don't launch GPC.app - the editor will launch it automatically when it's time to precompile.
Compiles for iPhone and Mac. iPhone compile automatically launches Xcode ready to build your app.
:noggin: Simply Thanks... I read a bit, I thinked you are new in the forum I look you are here from 2005, only I can say you thanks... I read the compilers runs under wine, but if Gcc compiler don't works fine in Mac osx , I can give any more...
From my part thanks a lot, use directly under mac osx it's a very very comfortable, I'm using paralells, but I think this it's another inflexion point in GLBasic.
Regards,
marovada.
looks good. cant wait because hiro startet a mac ide also but its never released.
and what is tapbasic ?
your own basic language ?
written in ?
Quote from: mentalthink on 2013-May-04
:noggin: Simply Thanks... I read a bit, I thinked you are new in the forum I look you are here from 2005, only I can say you thanks... I read the compilers runs under wine, but if Gcc compiler don't works fine in Mac osx , I can give any more...
From my part thanks a lot, use directly under mac osx it's a very very comfortable, I'm using paralells, but I think this it's another inflexion point in GLBasic.
Regards,
marovada.
Hi mentalthink. I've been a lurker only posting on and off, which is why you haven't noticed me much =D
GCC works fine with Mac. The precompiler gpc (built by Gernot) doesn't work with mac. See: http://www.glbasic.com/forum/index.php?topic=8821.0 (http://www.glbasic.com/forum/index.php?topic=8821.0)
Quote from: Marmor on 2013-May-04
looks good. cant wait because hiro startet a mac ide also but its never released.
and what is tapbasic ?
your own basic language ?
written in ?
Hi Marmor. TapBASIC is a programmable calculator I wrote for the iPhone. It's my own dialect of BASIC written in c and objective-c.
There were a few UK Mac magazines that were going to review Hiro's one (if he had finished it) - so if you can get yours up and running it might be worth contacting them.
Quote from: MrTAToad on 2013-May-04
There were a few UK Mac magazines that were going to review Hiro's one (if he had finished it) - so if you can get yours up and running it might be worth contacting them.
Thanks. If I get it up to scratch it's definitely worth looking into. I'd have to find out which ones, but presumably there are not that many.
If I remember rightly (don't have the original emails), it was MacFormat.
It looks really impressive, I hope the preprocessor quibbles can be worked out by Gernot.
looks awesome and im pretty sure its a very big help for Gernot, so he only need to precompile to work on mac, and not the ide its self.
Good news. I hope Gernot can solve the compiling error with GPC Mac version.
Very nice! :nw:
Hi everyone,
You can download an alpha version of the Mac editor here (new version):
https://www.dropbox.com/s/va4u6q3nxk854u6/GLBasicMacIDE.zip (https://www.dropbox.com/s/va4u6q3nxk854u6/GLBasicMacIDE.zip)
Instructions
1. Install xcode
2. Unzip and put GLBasicEditor.app and GPC.app into your applications folder
2. Install wine following the instructions here: http://www.davidbaumgold.com/tutorials/wine-mac/
If you're running Lion or Mountain Lion you may have to install Xcode tools first (Xcode tools are not installed by default when you install Xcode)
3. Install GLBasic using wine. This is required for the IDE to run GPC.exe (the GLBasic windows precompiler). Mac precompiler isn't working yet.
4. Run the Mac IDE
5. The IDE assumes that all project files are in the same folder
6. You must put glblicence.inc into each project folder
7. Images and sounds need to be in a /Media folder in the project folder. The IDE doesn't search for /*.app/Media because the .app extension is too confusing on a Mac as it usually means an app bundle, not an app folder.
As it is an early version, please use at your own risk.
New version. Easy to install. No need for WINE. Compiles for iPhone and Mac. See first post for details.
Can someone test it and let me know what you think?
Thanks Marovada, I'll give it a go tonight when I get back! :good:
BTW how did you manage to get around your problems and avoid WINE?
And any chance of a video of it running ?
Quote from: bigsofty on 2013-Aug-05
Thanks Marovada, I'll give it a go tonight when I get back! :good:
BTW how did you manage to get around your problems and avoid WINE?
I packaged gpc.exe into GPC.app using wineskin: http://wineskin.urgesoftware.com/tiki-index.php?page=Wineskin%2C+Play+your+favorite+Windows+games+on+Mac+OS+X+without+needing+Microsoft+Windows (http://wineskin.urgesoftware.com/tiki-index.php?page=Wineskin%2C+Play+your+favorite+Windows+games+on+Mac+OS+X+without+needing+Microsoft+Windows)
I get my IDE to run GPC.app with the correct parameters for gpc.exe each time the IDE needs to precompile your project. This means changing the GPC.app info.plist on the fly, running it and waiting for it to finish, then extracting the contents of its log file and checking if there have been any errors. GPC.app is modular, meaning that you can place any version of gpc.exe in drive_c (look at the GPC.app package contents). This means that GPC.app doesn't need to be upgraded if there is a new version of gpc.exe.
GPC.app can be run on its own (without the IDE), but you'd need to change its info.plist to the right parameters for your project.
Quote from: MrTAToad on 2013-Aug-05
And any chance of a video of it running ?
I'm a bit time poor at the moment. Will do if I get a chance. The look hasn't changed much since the last version other than a button for compiling for iPhone. The main changes are under the hood to make it easier to install and run ie without needing to separately install WINE.
Quote from: marovada on 2013-Aug-05
I packaged gpc.exe into GPC.app using wineskin: http://wineskin.urgesoftware.com/tiki-index.php?page=Wineskin%2C+Play+your+favorite+Windows+games+on+Mac+OS+X+without+needing+Microsoft+Windows (http://wineskin.urgesoftware.com/tiki-index.php?page=Wineskin%2C+Play+your+favorite+Windows+games+on+Mac+OS+X+without+needing+Microsoft+Windows)
I get my IDE to run GPC.app with the correct parameters for gpc.exe each time the IDE needs to precompile your project. This means changing the GPC.app info.plist on the fly, running it and waiting for it to finish, then extracting the contents of its log file and checking if there have been any errors. GPC.app is modular, meaning that you can place any version of gpc.exe in drive_c (look at the GPC.app package contents). This means that GPC.app doesn't need to be upgraded if there is a new version of gpc.exe.
GPC.app can be run on its own (without the IDE), but you'd need to change its info.plist to the right parameters for your project.
Well done, that's quite a devious solution! ;)
Quote from: bigsofty on 2013-Aug-06
Well done, that's quite a devious solution! ;)
Did you get a chance to test it?
Yes but I had to stop. I have to use the MAC at my workplace so it's a bit of a PITA when I need something from home, in this case "glblicence.inc", where is it located on my Windows computer?
I created a project, compiled etc. all looked good up until glblicence.inc stopped the compile.
The syntax highlighting worked fine, as did the auto-capitalisation. No glitches and everything ran smooth as far as I could tell. Nice work! :D
The only flies in the ointment were... the GLB help file did not work and some of the text editing commands are obviously not for coding, e.g. Justification. I assume you will alter the text editor to suit an IDE once the main compiler is catered for?
Overall though its looking good Marovada! :good:
i have a mac friend ta wold love to run glb, does the free version works fine on it?
I will tell him to give a try when I get back home.
Quote from: bigsofty on 2013-Aug-07
Yes but I had to stop. I have to use the MAC at my workplace so it's a bit of a PITA when I need something from home, in this case "glblicence.inc", where is it located on my Windows computer?
I created a project, compiled etc. all looked good up until glblicence.inc stopped the compile.
The syntax highlighting worked fine, as did the auto-capitalisation. No glitches and everything ran smooth as far as I could tell. Nice work! :D
The only flies in the ointment were... the GLB help file did not work and some of the text editing commands are obviously not for coding, e.g. Justification. I assume you will alter the text editor to suit an IDE once the main compiler is catered for?
Overall though its looking good Marovada! :good:
Thanks for testing it. You should be able to find glblicence here:
c:\Users\username\AppData\Local\Temp\glbasic\
I'll look into the help file and text editing features.
Quote from: erico on 2013-Aug-07
i have a mac friend ta wold love to run glb, does the free version works fine on it?
I will tell him to give a try when I get back home.
Best to ask Gernot if it will work. I don't know whether there is a glblicence.inc file for the free version.
HI marovada thanks a lot for this IDE, for me comes very good, for now I can't test yesterday I try to search my license but I don't rebember where it's (I read in another post the localitation). I try to use and if I find somthing extrange I comment.
Well I put somelines of code, and make something wrong... when you write a command before anothers, change the color of the commands are in bottom the current command you are writing... but I'm not sure if this happends when you open only a file, not a project... I have to look whit more calm.
For me the IDe it's a bit extrange, I'm more accomodate whit windows IDE or things similars to Visual Studio, but I think you are using something like a template, I look some IDE's in mac and all are very similar to your IDE.
I think your work, will be very very usefull, can work directly in mac, and the point of Xcode launch automatically, this it's fantastic...
Regards and thanks a lot, I suppose make the Ide have a lot of work. :good: :nw:
Hi mentalthink. Thanks for trying out the IDE.
Can you get a screenshot of the issue with the color of the commands being in the bottom? I'm not sure what you mean.
HI Marmova sorry for the confusing, I test again and works fine... perhaps was becuse I don't put the compiler and the IDE into a same folder, sorry for confusing a bit.
Only a thing a know this it's a very previous version, but you add the indexing of Functions... (the same appears in windows ide when you declare functions), I told you because the Arduinon IDE don't have the index of functions and this for me it's essential.
If you need help for testing something specific comment me!!! :good:
HI marovada working here fine!!! :good:
I make a simple test, only for testing whit Inline Command, and doen't works, the compiler don't understand
Return, becuase when you write it's put automatically in Capital letters.
For now I only test this.
PS: Perhaps a good idea it's put the license into the COmpiler folder, and not into de Source Code folder.
Hi!
I download and test on my MBP... very good job!
I found one "micro bug"...
Not compile if the project have *.txt files ... (I use this files in my project for anotate vars/comms/etc)
I think the app try to interpreter glbasic syntax too in txt files...
;)
Quote from: Hark0 on 2013-Aug-08
Hi!
I download and test on my MBP... very good job!
I found one "micro bug"...
Not compile if the project have *.txt files ... (I use this files in my project for anotate vars/comms/etc)
I think the app try to interpreter glbasic syntax too in txt files...
;)
I didn't know you could mix txt files into GLBasic projects :-[ Shouldn't be too difficult to add.
By Default the + icon in compiler Windows don't leave add a .txt file I try it, but the name of my .txt file don't appears selectable.
Quote from: mentalthink on 2013-Aug-08
By Default the + icon in compiler Windows don't leave add a .txt file I try it, but the name of my .txt file don't appears selectable.
I need to add that functionality. The current build doesn't recognise txt files as source files.