My mistake... i just forgot to mention it :)<div><br></div><div><i>quick_start_example2.c:18:29: fatal error: utils/nfc-utils.h: No such file or directory</i></div><div><i><br></i></div><div>As you probably expected...</div>
<div><br><br><div class="gmail_quote">On Fri, Aug 2, 2013 at 10:58 PM, Matthew Brush <span dir="ltr"><<a href="mailto:mbrush@codebrainz.ca" target="_blank">mbrush@codebrainz.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 13-08-02 09:25 AM, Gert Leenders wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm struggling to get the build command properly set...<br>
<br>
I'm trying to compile the libnfc libraries via Geany.<br>
<br>
The file contains this info:<br>
<br>
// This is same example as quick_start_example1.c but using<br>
// some helper functions existing in libnfc.<br>
// Those functions are not available yet in a library<br>
// so binary object must be linked statically:<br>
// $ gcc -o quick_start_example2 -lnfc -I../.. quick_start_example2.c<br>
../../utils/nfc-utils.o<br>
<br>
In a terminal everything works fine (although i had to move the -lnfc<br>
command to the end)<br>
<br>
# gcc -o quick_start_example2 -I../.. quick_start_example2.c<br>
../../utils/nfc-utils.o -lnf<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Works fine.<br>
</blockquote></blockquote>
<br>
I tried different things in geany like:<br>
gcc -Wall -o "%e" "%f" -I/home/glnd/libnfc-1.7.0-rc7<br>
/home/glnd/libnfc-1.7.0-rc7/<u></u>utils/nfc-utils.o -lnfc<br>
But without any success...<br>
<br>
</blockquote>
<br></div></div>
Is there no errors or anything?<br>
<br>
Cheers,<br>
Matthew Brush<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Met vriendelijk groeten,<div>Gert Leenders</div>
</div>