[Bug c/104962] New: Compilier can not find files to link a simple MYSQL app

murphy_535 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Mar 17 02:33:49 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104962

            Bug ID: 104962
           Summary: Compilier can not find files to link a simple MYSQL
                    app
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: murphy_535 at hotmail dot com
  Target Milestone: ---

gcc  client1.c -I"C:\Program Files\MySQL\MySQL Server 8.0\include"
-L"C:\Program Files\MySQL\MySQL Server 8.0\lib" -lmysqlclient

client1.c is taken from a textbook. It compiles in Visual Studio 2022 with no
problem once the libraries are set.

I am an inexperienced user of the gcc compiler.


More information about the Gcc-bugs mailing list