fatal error: mysql/mysql.h: No such file or directory

Sysprogs forums Forums Other tools & products fatal error: mysql/mysql.h: No such file or directory

  • This topic has 0 replies, 1 voice, and was last updated 7 years ago by juvf.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #12862
    juvf
    Participant

    I write software for the raspberry using Eclipse+Windows+Windows toolchain. . I connected include

    #include <mysql/mysql.h>

    and get the error

     

    ‘Building file: ../src/LoraGateway.cpp’
    ‘Invoking: Cross G++ Compiler’
    arm-linux-gnueabihf-g++ -static -s -Os -g3 -Wall -c -fmessage-length=0 -Wparentheses -MMD -MP -MF”src/LoraGateway.d” -MT”src/LoraGateway.o” -o “src/LoraGateway.o” “../src/LoraGateway.cpp”
    ../src/LoraGateway.cpp:14:25: fatal error: mysql/mysql.h: No such file or directory
    #include <mysql/mysql.h>
    ^
    compilation terminated.

     

    What am I doing wrong? How to use mysql in crosscompilation?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.