List:MySQL++« Previous MessageNext Message »
From:Jeff Getzlaff Date:June 13 2006 10:25pm
Subject:Re: building the mysql++ library in VC 7.1 (2003)
View as plain text  
		no, there are 1,720 so I was saving you the pain.

The first two errors in connection.h are:
c:\mysql++\lib\connection.h(145): error C2062: type 'const char' unexpected
c:\mysql++\lib\connection.h(145): error C2238: unexpected token(s) preceding ';'

MYSQLPP_EXPORT Connection( const  char * db,  const  char * host = "",

 const  char * user = "",  const  char * passwd = "",

uint port = 0, my_bool compress = 0,

 unsigned  int  connect_timeout = 60, cchar* socket_name = 0,

 unsigned  int  client_flag = 0);

I don't see a stdafx.h in this solution, have you compiled this solution with 2003????

----------------------------------------

Return-Path: <plusplus-return-5726-jgetzlaff=kuttaconsulting.com@stripped>
Tue Jun 13 15:17:12 2006
Received: from lists2.mysql.com [213.136.52.31] by mail3.webcontrolcenter.com with SMTP;
Tue, 13 Jun 2006 15:17:12 -0700
Received: (qmail 29457 invoked by uid 510); 13 Jun 2006 21:15:31 -0000
Received: (qmail 29434 invoked by uid 509); 13 Jun 2006 21:15:30 -0000
Mailing-List: contact plusplus-help@stripped; run by ezmlm
List-ID: <plusplus.mysql.com>
Precedence: bulk
List-Help: <mailto:plusplus-help@stripped>
List-Unsubscribe:
<mailto:plusplus-unsubscribe-jgetzlaff=kuttaconsulting.com@stripped>
List-Post: <mailto:plusplus@stripped>
List-Archive: http://lists.mysql.com/plusplus/5726
Delivered-To: mailing list plusplus@stripped
Received-SPF: pass (lists.mysql.com: local policy)
Message-ID: <448F2B4E.6010303@stripped>
Date: Tue, 13 Jun 2006 15:17:02 -0600
From: Warren Young <mysqlpp@stripped>
Reply-To: plusplus@stripped
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
To: MySQL++ Mailing List <plusplus@stripped>
Subject: Re: building the mysql++ library in VC 7.1 (2003)
References: <f9994bd0ea194d94901d797e186d1a95@stripped>
In-Reply-To: <f9994bd0ea194d94901d797e186d1a95@stripped>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Rcpt-To: <jgetzlaff@stripped>
X-SmarterMail-Spam: SPF_None 

Jeff Getzlaff wrote:
> Do I have to build mysql on my local machine

No. The official MySQL distribution should include the necessary 
headers and libraries for development already. They may not be 
installed by default, however.

> In the library code whenever there is a MYSQLPP_EXPORT I get an error. 

Are you going to make me guess what the error is?

-- 
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=1





Thread
building the mysql++ library in VC 7.1 (2003)Jeff Getzlaff13 Jun
  • Re: building the mysql++ library in VC 7.1 (2003)Warren Young13 Jun
Re: building the mysql++ library in VC 7.1 (2003)Jeff Getzlaff13 Jun
  • Re: building the mysql++ library in VC 7.1 (2003)Warren Young13 Jun
Re: building the mysql++ library in VC 7.1 (2003)Jeff Getzlaff14 Jun
  • Re: building the mysql++ library in VC 7.1 (2003)Warren Young15 Jun