dbTalk Databases Forums  

Help a newbie!

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


Discuss Help a newbie! in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robert Hutchings
 
Posts: n/a

Default Help a newbie! - 01-06-2006 , 12:07 PM






------=_NextPart_000_000F_01C612C2.2A806210
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

I am using VC++ 2005 (free version), with MySQL++ files unzipped/untarred
into C:\mysql++. I am using XP Pro SP2. I have installed MySQL Server 5.0
into C:\MySQL and it is running OK. So, on my first try, here is what I
get:





C:\MySQL++>makemake.bat vc

Created Makefiles successfully.



C:\MySQL++>type makefile

all:

@cmd /c mkbindirs.bat

cd lib && $(MAKE) BIN_DIR=debug all example_setup

cd lib && $(MAKE) BIN_DIR=release

cd examples && $(MAKE)



install: all

@cmd /c install.bat vc



clean debug release:

cd lib && $(MAKE) $@

cd examples && $(MAKE) $@



C:\MySQL++>make

cd lib && make BIN_DIR=debug all example_setup

make[1]: Entering directory `/cygdrive/c/MySQL++/lib'

cl /Ic:\mysql\include /DMYSQLPP_MAKING_DLL /D_WINDLL /D_UNICODE /G6 /EHsc
/nolog

o /c /MDd /Od /D_DEBUG /ZI /Zi /Fodebug\coldata.obj coldata.cpp

coldata.cpp

c:\MySQL++\lib\platform.h(43) : fatal error C1083: Cannot open include file:
'wi

nsock.h': Invalid argument

make[1]: *** [coldata.obj] Error 2

make[1]: Leaving directory `/cygdrive/c/MySQL++/lib'

make: *** [all] Error 2



C:\MySQL++>


------=_NextPart_000_000F_01C612C2.2A806210--


Reply With Quote
  #2  
Old   
mysqlpp@zensox.de
 
Posts: n/a

Default Re: Help a newbie! - 01-06-2006 , 12:16 PM






You need to install the Microsoft Platform SDK and include the
appropriate include and library directories.

Quote:
c:\MySQL++\lib\platform.h(43) : fatal error C1083: Cannot open include file:
'winsock.h': Invalid argument
make[1]: *** [coldata.obj] Error 2
make[1]: Leaving directory `/cygdrive/c/MySQL++/lib'
make: *** [all] Error 2

--
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   
Alexander Stock
 
Posts: n/a

Default Re: Help a newbie! - 01-06-2006 , 02:38 PM



No, the Microsoft Platform SDK, see
http://msdn.microsoft.com/vstudio/ex...alc/usingpsdk/

Greets,
Alexander

Quote:
OK, thanks. BTW, which SDK do I install? The .NET 2.0?



--
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.