‘error: ‘EXAMPLE_FUNCTION’ was not declared in this scope ’ happend when I complie mysqlc++ connector1.1.3 examples [closed]

StackOverflow https://stackoverflow.com/questions/18140623

  •  24-06-2022
  •  | 
  •  

문제

I am trying to install mysqlc++ connector1.1.3 to my ubuntu os by compiling source code,but it reported "error: ‘EXAMPLE_FUNCTION’ was not declared in this scope " when I compling the example. Is there somebody facing the same error? Forgiving my poor in English.

도움이 되었습니까?

해결책

I've met the same error,just add "#include "examples.h"" in the top of standalone_example.cpp.Maybe the author of mysqlc++ connector ignored that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top