Re: [classad-users] Please help


Date: Thu, 3 Jun 2010 13:02:56 -0500
From: Alain Roy <roy@xxxxxxxxxxx>
Subject: Re: [classad-users] Please help
On Jun 3, 2010, at 12:21 PM, Xin Tang wrote:
> Hi all,
> 
> I am a new user to classAds and I wish someone could give me some helps to get start with this language. The library I am using is Version 1.0.7 and I tried to run the given file sample.cpp as the README file suggests, but I got some errors which I have no clue how to fix. Below is the command I used(it includes some flags required by the tutorial(http://www.cs.wisc.edu/condor/classad/c++tut.html#prelim)):
> 
> g++ classads-1.0.7/sample.cpp -I./include -L./lib

Your compilation line is incomplete--you need to tell g++ what libraries you want to link with. In this case, you probably want to add:

    -lclassad

-alain

[← Prev in Thread] Current Thread [Next in Thread→]