Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 48371  / 2 Years ago, tue, january 11, 2022, 7:48:23

Sorry, this is such a beginner question, but I've recently begun programming with C++ on Ubuntu 12.10 and I've installed a few libraries I need to work with, for example PCL and I can't find them to add them to my project. I'm using Qt Creator as the IDE and qmake which comes with it.


For example, with PCL, I followed the instructions on their site:


sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
sudo apt-get update
sudo apt-get install libpcl-all

And as no problems occurred I have to assume they are correctly installed.


Most of the tutorials dealing with adding external libraries I've found on the web assume you're on Windows and know where you downloaded the library.


Since I don't have experience with adding external libraries in C++, could someone please tell me in what file, if there is one, are libraries installed by default in Ubuntu?


What is the extension of these library files?


Is there a script/command which can help detect a library or all the libraries installed?


More From » c++

 Answers
6

By default libraries are installed in /usr/lib and header files will be in /usr/include



Usually extension of the library file is .so and corresponding header file will be .h



gui method for finding installed libraries is open software center->Developer tools-> Libraries


[#33931] Wednesday, January 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
3 Years ago
atchcommo questions
Fri, May 13, 22, 08:22, 2 Years ago
Wed, Mar 9, 22, 20:14, 2 Years ago
;