Opened 9 years ago

Last modified 9 years ago

#48373 new defect

OpenNI does not install .pc file

Reported by: hmeine (Hans Meine) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: luminans@…, Veence (Vincent)
Port: openni

Description

I am trying to use libpcl, which installed fine, but now I have a problem with pkg-config:

Package openni-dev was not found in the pkg-config search path.
Perhaps you should add the directory containing `openni-dev.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openni-dev', required by 'pcl_io-1.7', not found

The problem can be easily reproduced using pkg-config --libs pcl_io. I think openni should install a .pc file, but I also wonder how libpcl itself built without the openni-dev.pc file. (Hence I CC'ed the libpcl maintainers.)

Attachments (2)

openni-dev.pc (200 bytes) - added by hmeine (Hans Meine) 9 years ago.
very simple example .pc file that made python-pcl build for me (disclaimer: I don't know anything about OpenNI, basically)
libopenni.pc (236 bytes) - added by hmeine (Hans Meine) 9 years ago.
OpenNI .pc file as grabbed from an Ubuntu system (/usr/lib/pkgconfig/libopenni.pc)

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by hmeine (Hans Meine)

Sorry, the command for reproducing the problem should've been pkg-config --libs pcl_io-1.7 (the -1.7 was missing).

Changed 9 years ago by hmeine (Hans Meine)

Attachment: openni-dev.pc added

very simple example .pc file that made python-pcl build for me (disclaimer: I don't know anything about OpenNI, basically)

comment:2 Changed 9 years ago by Ionic (Mihai Moldovan)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: openni added

Changed 9 years ago by hmeine (Hans Meine)

Attachment: libopenni.pc added

OpenNI .pc file as grabbed from an Ubuntu system (/usr/lib/pkgconfig/libopenni.pc)

Note: See TracTickets for help on using tickets.