Lex,<div><br></div><div>I was doing trial and error to see if i could get i working. I tried both relative and absolute paths.</div><div><br></div><div>Here's a terminal dump....</div><div><br></div><div><div>glnd@ThinkStation-E30:~/libnfc-1.7.0-rc7/utils$ ls</div>
<div>CMakeLists.txt            nfc-list.c             nfc-relay-picc</div><div><a href="http://libnfcutils.la">libnfcutils.la</a>            nfc-list.o             nfc-relay-picc.1</div><div>Makefile                  nfc-mfclassic          nfc-relay-picc.c</div>
<div>Makefile.am               nfc-mfclassic.1        nfc-relay-picc.o</div><div>Makefile.in               nfc-mfclassic.c        nfc-scan-device</div><div>mifare.c                  nfc-mfclassic.o        nfc-scan-device.1</div>
<div>mifare.h                  nfc-mfultralight       nfc-scan-device.c</div><div>mifare.o                  nfc-mfultralight.1     nfc-scan-device.o</div><div>nfc-emulate-forum-tag4    nfc-mfultralight.c     nfc-utils.c</div>
<div>nfc-emulate-forum-tag4.1  nfc-mfultralight.o     nfc-utils.h</div><div>nfc-emulate-forum-tag4.c  nfc-read-forum-tag3    nfc-utils.lo</div><div>nfc-emulate-forum-tag4.o  nfc-read-forum-tag3.1  nfc-utils.o</div><div>nfc-list                  nfc-read-forum-tag3.c</div>
<div>nfc-list.1                nfc-read-forum-tag3.o</div><div>glnd@ThinkStation-E30:~/libnfc-1.7.0-rc7/utils$ pwd</div><div>/home/glnd/libnfc-1.7.0-rc7/utils</div><div>glnd@ThinkStation-E30:~/libnfc-1.7.0-rc7/utils$ </div>
</div><div><br></div><div>Grtz,</div><div>Gert</div><div><br></div><div><br><br><div class="gmail_quote">On Sat, Aug 3, 2013 at 1:38 AM, Lex Trotman <span dir="ltr"><<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On 3 August 2013 07:55, Gert Leenders <span dir="ltr"><<a href="mailto:leenders.gert@gmail.com" target="_blank">leenders.gert@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>P.S. You'd probably be better of to use a simple Makefile with Geany build commands, then you could compile your object files separately and link them into the final executable.<br>

</div></blockquote><div><br></div></div><div>Matthew is right this is one longer term solution, but you still have to get the commands working first :)</div><div><br></div><div>Was there a reason you moved from using .. to using absolute pathnames when you moved the working command from the command line into Geany?  Unfortunately we can't see what was your working directory when you ran gcc in the command line, so can't trace the ../..s to see if your absolute directory paths are the same thing, but the most likely problem is that they are not the same.</div>
<div class="im">
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
<br></div><div>Can i find somewhere an example of this approach?</div></blockquote><div><br></div></div><div>See <a href="http://mrbook.org/tutorials/make/" target="_blank">http://mrbook.org/tutorials/make/</a> for a somewhat abbreviated tutorial.</div>

<div><br></div><div>Specifically the minimal example that gives :</div><div><br></div><div><pre style>all:
        g++ main.cpp hello.cpp factorial.cpp -o hello</pre><pre style><br></pre><pre style><span style="color:rgb(34,34,34);font-family:arial;white-space:normal">But with the command replaced by your working one of course :)</span><br>

</pre><pre style><span style="color:rgb(34,34,34);font-family:arial;white-space:normal">Note: that *must* be a Tab character before the command, no spaces.</span></pre><pre style><span style="color:rgb(34,34,34);font-family:arial;white-space:normal">Cheers</span></pre>

<pre style><span style="color:rgb(34,34,34);font-family:arial;white-space:normal">Lex</span></pre></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div><div>
<br></div><div>Thx!<div><div><br><br></div></div></div></div></blockquote></div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Met vriendelijk groeten,<div>Gert Leenders</div>
</div>