LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2012, 08:09 AM   #1
TIS-Well
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
compile it++ source code


Hi, a nexbie on linux- i have it++ and g++ installed on Ubuntu release 11.10, but i cannot compile my source code when i issue this command: g++ 'itpp-config --cflags' -o test1 test1.cpp 'itpp-config --libs' as directed by the (http://itpp.sourceforge.net/devel/linking.html). I have also added(export LD_LIBRARY_PATH =" /usr/local/lib:$LD_LIBRARY_PATH") this to the .bashrc environment.

The errors i received after issuing the command are:

g++: error: itpp-config --cflags: No such file or directory
g++: error: itpp-config --libs: No such file or directory

Does anyone have an idea on what to do next?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-25-2012, 08:13 AM   #2
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 840

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Aren't those supposed to be backtics ( ` ) rather than single quotes?
Code:
g++ `itpp-config --cflags` -o test1 test1.cpp `itpp-config --libs`
 
2 members found this post helpful.
Old 01-25-2012, 08:19 AM   #3
TIS-Well
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks millgates; i guess this is the kind of silly error a newbie can make. Now i can compile and run. Thanx!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to compile a linphone 3.3.2 source code venki86 Linux - Newbie 2 03-24-2011 01:54 AM
How to compile a source code elishac Linux - Newbie 19 01-15-2010 03:18 AM
Why can't FreeBSD compile anything from source code? mortal *BSD 5 03-21-2005 08:49 PM
how i compile a source code? nazib Linux - General 5 02-27-2005 10:13 AM
How to compile source code... Grim Reaper Linux - Newbie 3 04-26-2002 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration