
30 Dec
2007
30 Dec
'07
10:50 p.m.
On Dec 30, 2007 9:11 AM, Eswar K
Hi,
I am a newbie to Boost. I am writing a sample code using the Boost libaries and am getting the following error during linking.
Command Line Usage
g++ -I /usr/include/boost/ example.cpp -o example.o
Shouldn't this be something like g++ -L /usr/include/boost/ -lboost_program_options example.cpp -o example.o [substitute the name of the program options library on your system for boost_program_options] Chris