U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Wed Sep 09 20:06:22 GMT+2 2026

Total time taken to generate the page: 0.00678 seconds