Manuel Preliteiro wrote on 03/ 9/07 09:42 AM:
ok, i'm newb to linux and low level languages such as C, but i need to make a project reguarding smart cards, i alredy have some stuff made but i'm blocked in what should be the most basic of steps, compiling...

I have instaled PCSClite and all the libs are in the right places, but when i try to do something like

gcc -L/usr/local/include pcsc_demo.c

'-L' specifies a path to search for *libraries*, for headers
("includes") you want '-I'.

Better, though, try something like this:

cc `pkg-config libpcsclite --cflags` -c pcsc_demo.c
cc `pkg-config libpcsclite --libs` -o pcsc_demo pcsc_demo.o

    ~Iain


_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to