2

I'm getting an error on my source file for the mysql functions Im using. I setup my inclusion path and the libraries. The error is, for example: undefined reference to _mysql_init when I call mysql_init. Whats interesting is, I can click on the function and it will go directly to the mysql.h function declaration

4

1 回答 1

1

Assuming your project builds well: You might like to let Eclipse rebuild its symbol index.

To do so: Right-click the project and select Index->Rebuild

(see also: eclipse C project shows errors (Symbol could not be resolved) but it compiles)

于 2012-11-22T17:21:31.433 回答