Note that there are some explanatory texts on larger screens.

plurals
  1. POC4DROID Makefile issues
    text
    copied!<p>For all you C4DROID dev's, I have a question about the Makefile option. I have been toying around with it for some time now, and just can't seem to get it to function properly. I've tried implementing the tutorial from <a href="http://mrbook.org/tutorials/make/" rel="nofollow">http://mrbook.org/tutorials/make/</a> as well as <a href="http://www.gnu.org/software/make/manual/make.html#Implicit-Rules" rel="nofollow">http://www.gnu.org/software/make/manual/make.html#Implicit-Rules</a> . These sites have helped me at least get different error messages (which in some ways is helpful) but I'm just not sure what else I need to be doing. I'm not sure how much detail I should include about what I'm doing (first time posting), so here goes.</p> <p>At the moment, I have the files (for test purposes only) main.cpp, hello.cpp, factorial.cpp, and functions.h . I created a Makefile with:</p> <pre><code>all: g++ main.cpp hello.cpp factorial.cpp functions.h -o MyFile </code></pre> <p>I have also tried variations like: </p> <pre><code>all: testTwo testTwo: g++ main.cpp hello.cpp factorial.cpp functions.h -o MyFile </code></pre> <p>In the compilation settings, I have selected Makefile, I have not modified the "Commands Before Make" code (I don't even understand it), my Make command is <code>make -f Makefile</code></p> <p>I have selected the Native Activity in Run Mode, and that's all that I can think of explaining. My error message I get on compilation is "Failed to copy file". </p> <p>Any help with the process would be greatly appreciated and thank you in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload