stryd_one Posted January 6, 2009 Report Share Posted January 6, 2009 Just wanted make sure it's not lost info... Sounds like it's better off lost after all.Thanks man :) mmmm, doco. Quote Link to comment Share on other sites More sharing options...
Gaston Posted November 15, 2009 Report Share Posted November 15, 2009 (edited) Hi guys! I am new to the whole midibox thing and i am just trying to set up my programming environment. I am using Leopard 10.5. and installed sdcc (I downloaded a package from audiocommander). I also downloaded the gputils pack (probably from audiocommander, too, i can't remember), but the problem is: It seemed to install properly, but in spotlight there is none of the gputils files (e.g. gputils). Any advice? I know, probably very basic problem, but i am just not getting it... btw: My programming skills are pretty outdated, I did some MSDOS programming some time ago, so sorry if this is a stupid question: But why does it say "download and compile sdcc"?? I mean is there any problem when i download the "final" version of sdcc which is already a binary? Or is it (for whatever reason) a kind of standard in linux (or mac) to download the sourcecode of compilers and build the binary for yourself? I mean this is pretty confusing for noobs like me... thank you & have a nice sunday gaston Edited November 15, 2009 by Gaston Quote Link to comment Share on other sites More sharing options...
Gaston Posted November 15, 2009 Report Share Posted November 15, 2009 (edited) I think I got it know, but where the hell is "Makefile.spec" and "mkmk.pl"?? Is it part of Mios? I think it should be, but it isn't in the mios_base folder... Edited November 19, 2009 by Gaston Quote Link to comment Share on other sites More sharing options...
deletemeplease Posted January 30, 2011 Report Share Posted January 30, 2011 In case anyone is struggling to compile their apps, here's what I do. Edit your project files in Xcode (or TextWrangler if you prefer something lighter), save your files, then open Terminal.app. Now type 'cd ' (without the quotes, but including the space. Now drag your project folder from Finder onto the terminal window. Now hit your return key. This will tell terminal that we want to use this folder as our root folder. Finally type 'make' and hit enter. A couple of moments later you have a .hex file which can be uploaded with MIOS studio. Quote Link to comment Share on other sites More sharing options...
margat Posted October 21, 2011 Report Share Posted October 21, 2011 In case anyone is struggling to compile their apps, here's what I do. Edit your project files in Xcode (or TextWrangler if you prefer something lighter), save your files, then open Terminal.app. Now type 'cd ' (without the quotes, but including the space. Now drag your project folder from Finder onto the terminal window. Now hit your return key. This will tell terminal that we want to use this folder as our root folder. Finally type 'make' and hit enter. A couple of moments later you have a .hex file which can be uploaded with MIOS studio. I'm doing like you but I prefer to work with a IDE without shell :( I think that I'll migrate to parallel with winXP and notepad++ so I can see Highlights on line Error and so on. But nobody works on Xcode?! If mkmk.pl is obsolete... why nobody upgrades wiki pages? :blush: Quote Link to comment Share on other sites More sharing options...
novski Posted April 29, 2012 Report Share Posted April 29, 2012 Hi I tryed to install sdcc. But i got a failure on install: Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed; most ports will likely fail to build. ---> Computing dependencies for sdcc ---> Dependencies to be installed: gputils readline ncurses ---> Fetching archive for gputils ---> Attempting to fetch gputils-0.13.7_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/gputils ---> Attempting to fetch gputils-0.13.7_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/gputils ---> Installing gputils @0.13.7_0 ---> Activating gputils @0.13.7_0 ---> Cleaning gputils ---> Fetching archive for ncurses ---> Attempting to fetch ncurses-5.9_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/ncurses ---> Attempting to fetch ncurses-5.9_1.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/ncurses ---> Installing ncurses @5.9_1 ---> Activating ncurses @5.9_1 ---> Cleaning ncurses ---> Fetching archive for readline ---> Attempting to fetch readline-6.2.000_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/readline ---> Attempting to fetch readline-6.2.000_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/readline ---> Installing readline @6.2.000_0 ---> Activating readline @6.2.000_0 ---> Cleaning readline ---> Fetching archive for sdcc ---> Attempting to fetch sdcc-3.0.0_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/sdcc ---> Fetching sdcc ---> Attempting to fetch sdcc-src-3.0.0.tar.bz2 from http://switch.dl.sourceforge.net/sdcc ---> Verifying checksum(s) for sdcc ---> Extracting sdcc ---> Configuring sdcc Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for sdcc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sdcc/sdcc/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> Then i thought that it might be, because i have the latest Xcode 4.xy installed and should have version 2. But Apple does not provide Xcode 2 anymore. Xcode 2.3 is the latest version they list in the Developer Center. Does Verion 2.3 work for MIOS Programingas well? Which version is best? Thanks Quote Link to comment Share on other sites More sharing options...
EsotericLabs Posted June 25, 2012 Report Share Posted June 25, 2012 It is possble to program entirely in Xcode 4.3 under Lion. See the post on Quote Link to comment Share on other sites More sharing options...
EsotericLabs Posted June 25, 2012 Report Share Posted June 25, 2012 It is possble to program entirely in Xcode 4.3 under Lion. See the post on Quote Link to comment Share on other sites More sharing options...
Triffki Posted October 17, 2012 Report Share Posted October 17, 2012 Hey only just found this thread. I get the following error when building the skeleton app: make: execvp: /usr/local/bin: Permission denied Whereabouts in the shell script do I give execution rights to /usr/local/bin? It's also worth adding that although I've been following the tutorial on http://www.midibox.org/dokuwiki/doku.php?id=how_to_use_xcode2_as_ide_on_a_mac I've skipped the makefile target phase, partly because there are some discrepancies between versions of the SDCC skeleton. For one, the file MAKEFILE.SPEC does not exist in the newest version. Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.