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 #52984 is a reply to message #52976] Wed, 29 January 2020 14:05 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
This was tricky one.

The problem is that CLANG treats include files case insensitive. Thus <mysql/mysql.h> in fact included the package's MySql.h recursively...

I have fixed it by redoing the code to:

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


so with MacOS you will need to point to inside that mysql folder. Not nice, but for now it will do.

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 15:15:22 CEST 2024

Total time taken to generate the page: 0.02492 seconds