Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » Cannot compile MYSQL project
Re: Cannot compile MYSQL project [message #52970 is a reply to message #52962] Thu, 23 January 2020 08:35 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
That sounds like mysql.h does not get included.

Check MySql/MySql.h

#ifndef __mysql_h__
#define __mysql_h__

// debian: sudo apt-get install libmysqlclient-dev

#ifndef flagNOMYSQL

#include <Sql/Sql.h>

#ifdef PLATFORM_WIN32
#ifndef IPPROTO_IP
#include <winsock2.h>
#endif
#include <MySql.h>
#endif

#ifdef PLATFORM_POSIX
#include <mysql/mysql.h>
#endif


Perhaps PLATFORM_POSIX is not defined? You can check by removing that last PLATFORM_POSIX....

Is there any guide you have used to install mysql? (I would like to follow it to resolve this issue... Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [BUG] keyboard shortcuts problem on an AZERTY keyboard
Next Topic: MacOS theide Issue
Goto Forum:
  


Current Time: Thu May 09 17:08:45 CEST 2024

Total time taken to generate the page: 0.02887 seconds