Hi,
Thanks for your reply.
I am trying to use the version that comes with my package. I'm using Ubuntu and
just installed 'libfprint-dev'. Tried the IDE and now tried just using a
makefile.
Errors I get are 'undefined reference to fp_init(), fp_discover_devs() and
fp_dscv_free(fp_dscv_dev**). The code compiles ok.
My makefile is:
all: test
test: test.o devicehandling.o
g++ test.o devicehandling.o -lfprint -o test
test.o: test.c
g++ -c test.c
devicehandling.o: devicehandling.c
g++ -c devicehandling.c
clean:
rm -rf *o hello
I am familiar with programming, mostly using IDE, but not with using makefiles
and shared libraries and not with Linux.
Guus
Active Discovery Designs
Dutch quality web development at affordable prices
-----Original Message-----
From: Bastien Nocera [mailto:[email protected]]
Sent: Wednesday, September 08, 2010 12:32 AM
To: Guus Ellenkamp
Cc: [email protected]
Subject: Re: [fprint] Linking shared libraries
On Tue, 2010-09-07 at 17:00 +0800, Guus Ellenkamp wrote:
> I’m trying to link the libfprint library as a shared library. Using
> just the ‘standard’ anjuta IDE. Followed all of the instructions and
> tried different things, but apparently I’m still doing something
> wrong. When linking the functions I’m using are not recognized.
> Anybody any clues?
You'll need to come up with more details than that, like how you
compiled libfprint. Any reasons why you're not using a version packaged
by your distribution for example?
Cheers
_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint