demym Posted January 11, 2009 Report Share Posted January 11, 2009 Hi to all, i do not have yet a midibox (i'm waiting for my ordered Core). In the meanwhile i',m trying to understand how to program Midibox apps in C.I have so followed the wiki guide, and installed all the toolchain.But, when i do make, i get an error (no such file or directory on mios-gpasm).I have Miosbase and all the tools intalled in the right directories (or, at least, i believe so). I try to post the error i get, hoping for someone to understand it:F:\mios>makerm -rf _output/*rm -rf _outputrm -rf *.cod *.map *.lstrm -rf *.hexmkdir -p _outputsh f:/miosbase/bin/mios-gpasm -c -p p18f452 -I./src -I f:/miosbase/include/asm -I f:/miosbase/include/share -I f:/miosbase/modules/app_lcd/dummy -DDEBUG_MODE=0 -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I f:/miosbase/modules/mios_wrapper f:/miosbase/modules/mios_wrapper/mios_wrapper.asm -o _output/mios_wrapper.osh f:/miosbase/bin/mios-gpasm -c -p p18f452 -I./src -I f:/miosbase/include/asm -I f:/miosbase/include/share -I f:/miosbase/modules/app_lcd/dummy -DDEBUG_MODE=0 f:/miosbase/modules/app_lcd/dummy/app_lcd.asm -o _output/app_lcd.osh f:/miosbase/bin/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2 -I./src -I f:/miosbase/include/c -I f:/miosbase/include/share -DDEBUG_MODE=0 main.c -o _output/main.of;C:\MSYS\1.0\miosbase\bin\mios-gpasm: f;C:\MSYS\1.0\miosbase\bin\mios-gpasm: No such file or directorymake: *** [_output/main.o] Error 1F:\mios>The line that gets the error (the last one) referrs to the miosbase directory (the miosbase package) inside the MSYS dir... But my miosbase dir is located elsewhere (and setted using the MIOS_PATH and MIOS_BIN_PATH variables).I also tried to copy the miosbase inside the MSYS dir, but i get the same error (obviously mios-gpasm is in place, and exists..)..I've used an SDCC skeleton from http://www.ucapps.de/mios_c_filter_cc.html (just to give a try, as i would like to build a simple midi processor with my Core)..Sorry for the silly question, but i'm a midibox newbie, and just want to be prepared on the software side when i will receive my Core...I also post a DIR of my make directory:F:\mios>dir Volume in drive F has no label. Volume Serial Number is BA4F-AA31 Directory of F:\mios11/01/2009 14.01 <DIR> .11/01/2009 14.01 <DIR> ..11/01/2009 13.22 <DIR> -p11/01/2009 13.30 5.580 main.c11/01/2009 11.43 936 Makefile11/01/2009 13.27 96 path.txt06/08/2008 01.17 896 README.txt11/01/2009 14.01 <DIR> _output 4 File(s) 7.508 bytes 4 Dir(s) 2.259.890.176 bytes freeF:\mios>Thank in advance !! Quote Link to comment Share on other sites More sharing options...
stryd_one Posted January 11, 2009 Report Share Posted January 11, 2009 sh f:/miosbase/bin/mios-gpasm What's up with the forward slashes? Quote Link to comment Share on other sites More sharing options...
demym Posted January 11, 2009 Author Report Share Posted January 11, 2009 You're right, changed the reverse slashes, and now it compiles correctly. Thanks. 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.