Jump to content

Another mios programming platform problem (MacOSX/Linux)


Recommended Posts

Posted

Hello,

I downloaded today the base package...after a few

hours of try n error i finally set the environment variable for MIOS_PATH in the Terminal.

-> I wrote the " export MIOS_PATH ..." entry in the .profile file which was located in my /Users/<username> Folder. I didn`t see it but anyway i typed open .profile. Problem solved!  ;D

(If you type "env" in the Terminal it gives you a list of the set variables)

But a another problem appeared after typing "make" to compile just the files from the c-skeleton template which I copied in a another folder I got this error message :

sh /Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a/bin//mios-gpasm -c -p p18f452 -I./src -I /Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a//include/asm -I /Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a//include/share -I /Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a//modules/app_lcd/dummy -DDEBUG_MODE=0  -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I /Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a//modules/mios_wrapper /Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a//modules/mios_wrapper/mios_wrapper.asm  -o _output/mios_wrapper.o

/Users/borisbrcina/Documents/C-Programme/Users/TK/release/mios_base_v1_0a/bin//mios-gpasm: line 67: gpasm: command not found

make: *** [_output/mios_wrapper.o] Error 127

Maybe it has someting to do with the "include pathes" entry in my Makefile.

# include pathes (more will be added by .mk files)

GPASM_INCLUDE = /include/usr/local/bin/

SDCC_INCLUDE  =  /include/usr/local/bin/

I`m not sure if that is right???

The path "/usr/local/bin/" is right... but the Rest:Syntax???

Or I'm complete wrong???

Please Help!

   

Posted

You have to install gputils and SDCC on your Mac:

http://sourceforge.net/project/showfiles.php?group_id=41924

http://sourceforge.net/project/showfiles.php?group_id=599

There are also some forum articles about this topic (installation on Mac) - just use the search function to get informations about what can be made wrong ;)

You don't need to do any modifications on the base package (or on any other release package) to get the compiler running.

If you already changed anything, remove it (copy over the original release) to avoid side effects (e.g., you don't need to customize GPASM_INCLUDE or SDCC_INCLUDE, since the pathes to default include files are already set correctly when gpasm/sdcc is executed)

Best Regards, Thorsten.

Posted

;D ;D ;D ;D ;D IT WORKS!!!!!!

I think the problem was I installed gputils with the installer from that link which is vers. 13.4.

http://www.1710.co.uk/cms/content/view/17/26/

After following the install instruction and having a brief look on this thread

http://www.midibox.org/forum/index.php/topic,10814.msg83242.html#msg83242

which I should have founded a few hours before  ::)

I think I read it , but long time ago... my memory  ;)

The programming platform is great!!!! Its much more easier to see how the files belong together!

Thanks!!!!

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