LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2012, 01:27 PM   #1
daisychick
Member
 
Registered: Nov 2006
Location: Texas
Distribution: ubuntu 12.04 LTS
Posts: 154

Rep: Reputation: 0
adding paths


after compiling the boost C++ libraries, I got this message:

Code:
The following directory should be added to compiler include paths:

    /usr/local/packages/boost_1_47_0

The following directory should be added to linker library paths:

    /usr/local/packages/boost_1_47_0/stage/lib
what does this mean and how would I do it? Running ubuntu 10.04
 
Old 10-11-2012, 05:36 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Depends on the compiler. If it is gcc, then you would add
Code:
-I /usr/local/packages/boost_1_47_0
to the compiler commandline, and you would add
Code:
-L /usr/local/packages/boost_1_47_0/stage/lib
to the linker commandline.
If you're doing this with a Makefile, or using an existing Makefile, the convention is to add those options to the CFLAGS and LDFLAGS variables, respectively.
--- rod.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding environment paths system wide?? stratotak Linux - Newbie 2 02-27-2009 07:11 PM
Cron and adding Paths Argo Linux - General 2 03-15-2007 06:19 AM
Adding Paths scottie Linux - Newbie 1 12-03-2003 08:34 AM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 10:15 PM
Adding Paths in Redhat 8.0 Fantmx Linux - Newbie 2 04-04-2003 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration