MySQL Forums
Forum List  »  Connector/Arduino

Error compiling with mysql_connector
Posted by: João Sá
Date: May 07, 2014 12:47PM

After installing mysql_connector for Arduino on Mac OS X Mavericks, trying to compile mysql_connector_basic example I get this:
---
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SPI -I/Applications/Arduino.app/Contents/Resources/Java/libraries/Ethernet -I/Applications/Arduino.app/Contents/Resources/Java/libraries/sha1 -I/Applications/Arduino.app/Contents/Resources/Java/libraries/mysql /var/folders/3b/8r9tld495gb3cbl7hy_1gz240000gn/T/build5297026695542954003.tmp/mysql_connector_basic.cpp -o /var/folders/3b/8r9tld495gb3cbl7hy_1gz240000gn/T/build5297026695542954003.tmp/mysql_connector_basic.cpp.o

mysql_connector_basic.ino: In function 'void do_query(const char*)':
mysql_connector_basic:35: error: 'column_names' was not declared in this scope
mysql_connector_basic:35: error: 'c' was not declared in this scope
mysql_connector_basic:36: error: 'row_values' was not declared in this scope
mysql_connector_basic:36: error: 'r' was not declared in this scope
mysql_connector_basic:50: error: 'class Connector' has no member named 'get_columns'
mysql_connector_basic:64: error: 'class Connector' has no member named 'get_next_row'
mysql_connector_basic:76: error: 'class Connector' has no member named 'free_row_buffer'
mysql_connector_basic:83: error: 'class Connector' has no member named 'free_columns_buffer'
mysql_connector_basic.ino: In function 'void setup()':
mysql_connector_basic:121: error: 'class Connector' has no member named 'show_results'
mysql_connector_basic:136: error: 'class Connector' has no member named 'get_columns'
mysql_connector_basic:138: error: 'row_values' was not declared in this scope
mysql_connector_basic:138: error: 'row' was not declared in this scope
mysql_connector_basic:140: error: 'class Connector' has no member named 'get_next_row'
mysql_connector_basic:147: error: 'class Connector' has no member named 'free_columns_buffer'
mysql_connector_basic:148: error: 'class Connector' has no member named 'free_row_buffer'
---

Any idea how to solve it?
Thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
Error compiling with mysql_connector
3605
May 07, 2014 12:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.