Author Topic: how to replace mysql.a with mysqlclient.so  (Read 7575 times)

Offline Rahul

  • Multiple posting newcomer
  • *
  • Posts: 25
how to replace mysql.a with mysqlclient.so
« on: April 14, 2020, 11:06:40 am »
hi to all, I've centos7 and C::B 17 in VM. I am  configuring a project downloaded from internet. this shows followinf error :- from where should it be (libmysql.a)replaced by "libmysqlclient.so".
there is no build entries in codeblocks build properties.
Code
g++: error: H:/CodeBlocks/Codeblocks/MinGW/lib/libmysql.a: No such file or directory

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
Re: how to replace mysql.a with mysqlclient.so
« Reply #1 on: April 14, 2020, 11:21:44 am »
Find "mysql" in the project build options. Likely linker libraries.

Then you need to change it.
You likely will need to un-check a checkmark that auto adds the file extension.

Tim S.
 
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Rahul

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: how to replace mysql.a with mysqlclient.so
« Reply #2 on: April 14, 2020, 11:36:50 am »
thanks a lot you solved my problem.