Languages

Menu
Sites
Language
Tizen과 MySQL 연동에 대해 질문드립니다

안녕하세요 Tizen Wearable Native 앱을 개발하고 있는 초보 개발자 입니다

다름이 아니라 Mysql과 Tizen SDK를 연동하는 과정에서

mysql.h 헤더를 include하는 과정은 성공했으나

mysql_init()같은 명령을 사용하자

undefined reference to 'mysql_init' 같은 오류가 생겨서

Properties - C/C++ General - Paths and Symbols - Libraries와 Library Paths에 각각

libmysql.lib파일과 이 파일이 있는 폴더를 지정해 주었습니다.

하지만  모두 아래와 같은 오류가 나타났습니다.

cannot find -lC:/Program Files/MySQL/MySQL Server 5.6/lib/libmysql.lib

undefined reference to 'mysql_init' 같은 오류가 사라진 것으로 보아 library는 인식된 것 같은데

무엇이 문제인지 답변 부탁드립니다... 

Responses

1 Replies
Masum Talukder

Hello,

So far what i understood that the problem is ""undefined reference to mysql_init".

For this solution, this link might be helpful for you.: http://ubuntuforums.org/showthread.php?t=1666018

If you think that my answer is helpful for you, then please mark it as the "Best" answer.