dbTalk Databases Forums  

Compiling Issues

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


Discuss Compiling Issues in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mr.tim.long
 
Posts: n/a

Default Compiling Issues - 11-04-2005 , 05:11 AM






Hi,

My apologies to everyone sick of hearing about compiling problems, but
I have one that I can't find the answer to.

In brief, after following all the instructions in README.vc, the
compiler says it can't find winsock.h

I usually do all my development on VC++ 6.0, but after discovering that
this compiler wouldn't cope with mysql++ I downloaded the VC++ Toolkit
2003 as suggested and mingw32-make. I then changed changed the
MYSQL_DIR to point to the right place. Then after a makemake and
mingw32-make, it gave the above error.

I then tried to change the CXXFLAGS in makefile.vc to this
CXXFLAGS=/I$(MYSQL_DIR)\include /I$(WIN_DIR) /DMYSQLPP_MAKING_DLL
/D_WINDLL /D_UNICODE \

where WIN_DIR="C:\Program Files\Microsoft Visual Studio\VC98\Include",
which is the path to the include files I've used in the past.

Perhaps not surprisingly, this didn't work, the error message this
time:
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(81) :
warning C434
6: '_It::iterator_category' : dependent name is not a type prefix with
'typename' to indicate a type
c:\Program Files\Microsoft Visual Studio\VC98\Include\UTILITY(84) : see
reference to class template instantiation 'std::iterator_traits<_It>'
being compiled

Does this mean I have to get the full Win32 SDK for .NET or similar? Is
there a simpler solution that doesn't require a massive download?

I appreciate any light that anyone can shed on this.

many thanks
Tim Long


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.