dbTalk Databases Forums  

Build dll w/ Visual Studio 2005

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Build dll w/ Visual Studio 2005 in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Randy Tidd
 
Posts: n/a

Default Build dll w/ Visual Studio 2005 - 11-27-2006 , 02:58 AM






--_d46d0a6a-9ca5-4380-b772-8968e9a5fcb6_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
I'm trying to build mysql++ into my project. I've setup a project within V=
isual Studio 2005 per the readme.vc instructions of the mysql++-2.1.1 relea=
se I'm using, with the following exceptions:
=20
I could not add the following 'Additional Library Directories':=20
"c:\mysql++\vc\debug" for debug config and=20
"c:\mysql++\vc\release" for release config because they were not included i=
n the mysql++2.1.1.tar.gz. =20
=20
I'm assuming this is why I get a linker error: cannot open input file 'mysq=
lpp.lib' .
=20
What am I doing wrong?
=20
Thanks for your time,
=20
-Randy
__________________________________________________ _______________
Use Messenger to talk to your IM friends, even those on Yahoo!
http://ideas.live.com/programpage.as...57-45ba-81cc-=
685ee3e858fe=

--_d46d0a6a-9ca5-4380-b772-8968e9a5fcb6_--

Reply With Quote
  #2  
Old   
gary clark
 
Posts: n/a

Default Re: Build dll w/ Visual Studio 2005 - 11-27-2006 , 09:28 AM







Hey Randy,

I built 2.1.1 using VS 2005 both release and debuug.
Check your "properties" path on VS 2005 project to
ensure your pointing to the correct lib. You need to
probably add the link path the build.

Thanks,
Garyc

--- Randy Tidd <randy_tidd (AT) hotmail (DOT) com> wrote:

Quote:
Hi,

I'm trying to build mysql++ into my project. I've
setup a project within Visual Studio 2005 per the
readme.vc instructions of the mysql++-2.1.1 release
I'm using, with the following exceptions:

I could not add the following 'Additional Library
Directories':
"c:\mysql++\vc\debug" for debug config and
"c:\mysql++\vc\release" for release config because
they were not included in the mysql++2.1.1.tar.gz.

I'm assuming this is why I get a linker error:
cannot open input file 'mysqlpp.lib' .

What am I doing wrong?

Thanks for your time,

-Randy

__________________________________________________ _______________
Use Messenger to talk to your IM friends, even those
on Yahoo!

http://ideas.live.com/programpage.as...c-685ee3e858fe




__________________________________________________ __________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
Warren Young
 
Posts: n/a

Default Re: Build dll w/ Visual Studio 2005 - 11-27-2006 , 06:22 PM



Randy Tidd wrote:
Quote:
I could not add the following 'Additional Library Directories':
"c:\mysql++\vc\debug" for debug config and
"c:\mysql++\vc\release" for release config because they were not included in the mysql++2.1.1.tar.gz.

I'm assuming this is why I get a linker error: cannot open input file 'mysqlpp.lib' .
Yes, that'll do it.

Quote:
What am I doing wrong?
Probably not looking in the right place. Study the solution settings
for the examples to see how they do it. The instructions should become
clearer then. If, after finding the problem, you can think of a better
way to express this, by all means, post it to the list and we'll discuss it.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #4  
Old   
Randy Tidd
 
Posts: n/a

Default RE: Build dll w/ Visual Studio 2005 - 11-27-2006 , 11:21 PM



--_7eb0f184-7f16-410b-ad8b-ffc723a4ffe7_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
=20
Thank you for getting back to me. =20
=20
I'm afraid I get the same linker error when I try to compile the examples.
=20
mysqlpp.lib was not included in the archive I downloaded(mysql++2.1.1.tar.g=
z). Did I download the wrong thing? If not, how do I go about building it=
?
=20
Thank you,
=20
-Randy



Quote:
Date: Mon, 27 Nov 2006 16:55:31 -0700> From: mysqlpp (AT) etr-usa (DOT) com> To: plu=
splus (AT) lists (DOT) mysql.com> Subject: Re: Build dll w/ Visual Studio 2005> > Rand=
y Tidd wrote:> > > > I could not add the following 'Additional Library Dire=
ctories': > > "c:\mysql++\vc\debug" for debug config and > > "c:\mysql++\vc=
\release" for release config because they were not included in the mysql++2=
..1.1.tar.gz. > > > > I'm assuming this is why I get a linker error: cannot =
open input file 'mysqlpp.lib' .> > Yes, that'll do it.> > > What am I doing=
wrong?> > Probably not looking in the right place. Study the solution sett=
ings > for the examples to see how they do it. The instructions should beco=
me > clearer then. If, after finding the problem, you can think of a better=
Quote:
way to express this, by all means, post it to the list and we'll discuss=
it.> > -- > MySQL++ Mailing List> For list archives: http://lists.mysql.co=
m/plusplus> To unsubscribe: http://lists.mysql.com/plusplus?unsub=3Drandy_t=
idd (AT) hotmail (DOT) com>=20
__________________________________________________ _______________
Check the weather nationwide with MSN Search: Try it now!
http://search.msn.com/results.aspx?q...FORM=3DWLMTAG=

--_7eb0f184-7f16-410b-ad8b-ffc723a4ffe7_--


Reply With Quote
  #5  
Old   
Warren Young
 
Posts: n/a

Default Re: Build dll w/ Visual Studio 2005 - 11-29-2006 , 07:11 AM



Randy Tidd wrote:
Quote:
mysqlpp.lib was not included in the archive I
downloaded(mysql++2.1.1.tar.gz). Did I download the wrong thing? If
not, how do I go about building it?
In the directory MySQL++ expanded into, find the lib subdir. Within,
find lib.dsw. Build that. Then build the examples.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #6  
Old   
Randy Tidd
 
Posts: n/a

Default RE: Build dll w/ Visual Studio 2005 - 11-29-2006 , 01:07 PM



--_102d9c03-cd03-432b-a09d-d949acf593f6_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Warren,
=20
That was it. I don't know that your instructions need to be modified. I t=
hink I was just a victim of my own inexperience. =20
=20
Thank you for you patience,
=20
-Randy



Quote:
Date: Wed, 29 Nov 2006 05:11:17 -0700> From: mysqlpp (AT) etr-usa (DOT) com> To: plu=
splus (AT) lists (DOT) mysql.com> Subject: Re: Build dll w/ Visual Studio 2005> > Rand=
y Tidd wrote:> > > > mysqlpp.lib was not included in the archive I> > downl=
oaded(mysql++2.1.1.tar.gz). Did I download the wrong thing? If> > not, how =
do I go about building it?> > In the directory MySQL++ expanded into, find =
the lib subdir. Within, > find lib.dsw. Build that. Then build the examples=
..> > -- > MySQL++ Mailing List> For list archives: http://lists.mysql.com/p=
lusplus> To unsubscribe: http://lists.mysql.com/plusplus?unsub=3Drandy_tidd=
@hotmail.com>=20
__________________________________________________ _______________
All-in-one security and maintenance for your PC.=A0 Get a free 90-day trial=
!
http://www.windowsonecare.com/purcha...d=3Dwl_wlmail=

--_102d9c03-cd03-432b-a09d-d949acf593f6_--


Reply With Quote
  #7  
Old   
Warren Young
 
Posts: n/a

Default Re: Build dll w/ Visual Studio 2005 - 11-29-2006 , 04:58 PM



Randy Tidd wrote:
Quote:
That was it. I don't know that your instructions need to be
modified. I think I was just a victim of my own inexperience.
Some day, I will get around to consolidating the two projects, so there
will be no wrong order to build things in. But because of the way they
are generated, it looks easy to make a mess of it, so I'm holding off
for now.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.