Having problems with make file within git
up vote
0
down vote
favorite
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
add a comment |
up vote
0
down vote
favorite
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with thefor
loop with a tab, or it may be something else altogether. That's why we need an MCVE.
– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
I am a complete newbie when using git.
I am trying to compile/make this compile this git repository but without much success.
https://github.com/cithraidt/lwcloneu2
Every time I try to create the file using make I get the following errors
for i in arduino_mega2560 arduino_leonardo arduino_uno breakout_32u2 arduino_promicro; do make --directory=$i clean; make --directory=$i all; done
i was unexpected at this time.
makefile:5: recipe for target 'all' failed
make: *** [all] Error 255
Once again I am a complete newbie at this and would gratefully accept any advice.
makefile arduino-uno
makefile arduino-uno
edited Nov 11 at 3:17
c2huc2hu
1,7761319
1,7761319
asked Nov 10 at 17:06
G33
31
31
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with thefor
loop with a tab, or it may be something else altogether. That's why we need an MCVE.
– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
add a comment |
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with thefor
loop with a tab, or it may be something else altogether. That's why we need an MCVE.
– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with the
for
loop with a tab, or it may be something else altogether. That's why we need an MCVE.– Jonathan Leffler
Nov 11 at 3:40
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with the
for
loop with a tab, or it may be something else altogether. That's why we need an MCVE.– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241338%2fhaving-problems-with-make-file-within-git%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
You didn't tell us the critical information, that you're trying to do this on Windows. I can tell that you are, because the error message i was unexpected at this time. is a message printed by the Windows terminal command line.
That makefile is written for a POSIX system such as GNU/Linux. You won't be able to use it on Windows, without a lot of modification.
According to the README file there are Visual Studio project files available in the Git repository; I expect you'll need to use those to rebuild this code on Windows.
answered Nov 11 at 14:20
MadScientist
45.5k44865
45.5k44865
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
Thank you MadScientist. Sorry I should of put windows when making the post. I will try and create the file on linux.
– G33
Nov 11 at 15:52
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241338%2fhaving-problems-with-make-file-within-git%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to Stack Overflow. Please read the About and How to Ask pages soon. More urgently, you need to read about how to create an MCVE (Minimal, Complete, and Verifiable example). Please don't rely only on an external site to give us information. The question should be self-contained, though you might reference an external site to let us know where more complete information can be obtained. It's hard to guess what's wrong without the lines in the makefile that trigger the complaint. It may be that you didn't indent the line with the
for
loop with a tab, or it may be something else altogether. That's why we need an MCVE.– Jonathan Leffler
Nov 11 at 3:40
Possible duplicate of Looping through string values from a windows command line bat file
– Tsyvarev
Nov 11 at 16:33