Jump to content

First compilation: Error compiling main.c (no such file or dir)


demym

Recommended Posts

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>make

rm -rf _output/*

rm -rf _output

rm -rf *.cod *.map *.lst

rm -rf *.hex

mkdir -p _output

sh 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.o

sh 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.o

sh f:/miosbase/bin/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimi

ze-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.o

f;C:\MSYS\1.0\miosbase\bin\mios-gpasm: f;C:\MSYS\1.0\miosbase\bin\mios-gpasm: No

such file or directory

make: *** [_output/main.o] Error 1

F:\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:\mios

11/01/2009  14.01    <DIR>          .

11/01/2009  14.01    <DIR>          ..

11/01/2009  13.22    <DIR>          -p

11/01/2009  13.30            5.580 main.c

11/01/2009  11.43              936 Makefile

11/01/2009  13.27                96 path.txt

06/08/2008  01.17              896 README.txt

11/01/2009  14.01    <DIR>          _output

              4 File(s)          7.508 bytes

              4 Dir(s)  2.259.890.176 bytes free

F:\mios>

Thank in advance !!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...