Thanks chuck the problem was solved when I entered the relevant Preprocessor definitions.
On Tue, Oct 16, 2012 at 7:35 AM, Chuck Rolke <[email protected]> wrote: > Darryl is on the case. The undefined symbols you see are from missing > dependency qpidtypes. > > In your project you must have Linker -> Input -> Additional Dependencies: > qpidcommon(d).lib qpidcommon(d).lib qpidtypes(d).lib. Choose the (d) > variants for debug builds. > > -Chuck > > ----- Original Message ----- > > From: "Darryl L. Pierce" <[email protected]> > > To: [email protected] > > Sent: Tuesday, October 16, 2012 7:35:45 AM > > Subject: Re: Linker Error when attempting to create an individual > separate new project > > > > On Mon, Oct 15, 2012 at 05:26:12PM -0600, Rajesh Khan wrote: > > > The examples and qpid compile and run without errors in visual > > > studio C++ > > > 2010. Now I wish to create a new project from scratch.After > > > changing the > > > properties of the new project. > > > Adding additional headers and library paths similar to the actual > > > running > > > project and adding input fields in Linker >> input . I am still > > > getting > > > this error > > > > > > *Error 1 error LNK2001: unresolved external symbol "public: > > > static > > > class qpid::messaging::Duration const > > > qpid::messaging::Duration::SECOND" > > > (?SECOND@Duration@messaging@qpid@@2V123@B) > > > D:\qpid-0.18\TestProject\Qpid_Transmitter\HelloWorld\main.obj > > > HelloWorld > > > > > > Any suggestions on what I might be missing? > > > * > > > > What is the commandline you're using to build the app? Are you > > linking > > in the qpidmessaging and qpidtypes libraires? > > > > -- > > Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. > > Delivering value year after year. > > Red Hat ranks #1 in value among software vendors. > > http://www.redhat.com/promo/vendor/ > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
