Ciro Posted July 4, 2011 Report Share Posted July 4, 2011 Hi Guys It's a couple of weeks I'm trying to compile the USB PIC project code without any success. I have already installed the toolchains and set the Path in windows XP exactly according to the instructions in WIKI, but I still receive this error message and no HEX output! ---------------------------------------- rm -rf _output/* make: /bin/sh: command not found make: ***[Clean] Error 127 --------------------------------------- Is there anyone one who can compile this code for me and tell me what is wrong with it? What is missing in my PC; or what should I do that I currently not doing? Thank you in advance. Cirosrc.zip Quote Link to comment Share on other sites More sharing options...
Hawkeye Posted July 4, 2011 Report Share Posted July 4, 2011 Hi Ciro, looks like you don´t have MSYS "Unix Tools" installed. They provide what it is necessary for building the stuff. Look here under "Required Tools": http://www.midibox.org/dokuwiki/doku.php?id=windows_toolchain_core Best regards, Peter Quote Link to comment Share on other sites More sharing options...
Ciro Posted July 5, 2011 Author Report Share Posted July 5, 2011 Hi Ciro, looks like you don´t have MSYS "Unix Tools" installed. They provide what it is necessary for building the stuff. Look here under "Required Tools": http://www.midibox.org/dokuwiki/doku.php?id=windows_toolchain_core Best regards, Peter Hi Peter Thank you for your reply. I have installed the MSYS. It responds when I check its version with [Make -version] command. I have really no idea what is wrong! Quote Link to comment Share on other sites More sharing options...
findbuddha Posted July 5, 2011 Report Share Posted July 5, 2011 I don't know what the problem is, but suspect it's something to do with your exported MIOS environment variables. See under the 'MIOS base package' section in the page linked above. If you still have problems, you could try running linux in a VM. I've recently installed Ubuntu in Virtualbox for this purpose, and found it easier to get all the toolchains running than with windows. Quote Link to comment Share on other sites More sharing options...
Ciro Posted July 6, 2011 Author Report Share Posted July 6, 2011 I don't know what the problem is, but suspect it's something to do with your exported MIOS environment variables. See under the 'MIOS base package' section in the page linked above. If you still have problems, you could try running linux in a VM. I've recently installed Ubuntu in Virtualbox for this purpose, and found it easier to get all the toolchains running than with windows. Hi Findbuddha. Thanks for the hint. but it didn't solve the problem. I even tried compiling it in Notepad++ but the result was exactly the same. Would you please compile the code I have attached and see if it makes the HEX file in your PC? If you succeeded please send me a copy of HEX file. Regards Ciro Quote Link to comment Share on other sites More sharing options...
findbuddha Posted July 7, 2011 Report Share Posted July 7, 2011 Hi Findbuddha. Thanks for the hint. but it didn't solve the problem. I even tried compiling it in Notepad++ but the result was exactly the same. Would you please compile the code I have attached and see if it makes the HEX file in your PC? If you succeeded please send me a copy of HEX file. Regards Ciro I got it to build by modifying the Makefile using one from SVN as example, but this may not be what you want (wrong processor). PROCESSOR = p18f452 LKR_FILE = $(MIOS_PATH)/etc/lkr/$(PROCESSOR).lkr project.zip Quote Link to comment Share on other sites More sharing options...
Ciro Posted July 7, 2011 Author Report Share Posted July 7, 2011 I got it to build by modifying the Makefile using one from SVN as example, but this may not be what you want (wrong processor). PROCESSOR = p18f452 LKR_FILE = $(MIOS_PATH)/etc/lkr/$(PROCESSOR).lkr project.zip Thanks bro. That's ok. At least I know that the code is compilable and the problem is inside my PC. I'll definitely try to make it. 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.