qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajesh Khan <rajeshkhan...@gmail.com>
Subject Re: Linker Error when attempting to create an individual separate new project
Date Tue, 16 Oct 2012 16:26:01 GMT
Thanks chuck the problem was solved when I entered the relevant
Preprocessor definitions.

On Tue, Oct 16, 2012 at 7:35 AM, Chuck Rolke <crolke@redhat.com> 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" <dpierce@redhat.com>
> > To: users@qpid.apache.org
> > 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: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message