On Wed, 2010-09-08 at 14:53 +0530, Kunal Gangakhedkar wrote:
> On Wednesday 08 Sep 2010 2:28:56 pm Bastien Nocera wrote:
> > On Wed, 2010-09-08 at 10:54 +0800, Guus Ellenkamp wrote:
> > > 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
> > 
> > use:
> > `pkg-config --libs libfprint`
> > not:
> > -lfprint
> 
> It essentially returns the same thing. 
> Even though libfprint.pc has "-L{libdir}" in the Libs: statement,
> somehow, it's not passing it in the output. Don't know why :(

That should read "-L${libdir}".

> On my ubuntu box, this is what I get:
> 
> ku...@plutonium:~$ pkg-config --libs libfprint
> -lfprint  
> ku...@plutonium:~$
> 
> BTW, the version packaged for ubuntu seems to be old. 
> The version string is 0.0.6-2ubuntu2.
> I don't know how old that is - I've started following fprint project recently.

It's pretty ancient. 0.2.0 is the latest released version, and the git
tree lives on freedesktop.org.

Cheers

_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to