Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Rahul on April 14, 2020, 11:06:40 am

Title: how to replace mysql.a with mysqlclient.so
Post by: Rahul 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
Title: Re: how to replace mysql.a with mysqlclient.so
Post by: stahta01 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.
 
Title: Re: how to replace mysql.a with mysqlclient.so
Post by: Rahul on April 14, 2020, 11:36:50 am
thanks a lot you solved my problem.