News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

how to replace mysql.a with mysqlclient.so

Started by Rahul, April 14, 2020, 11:06:40 AM

Previous topic - Next topic

Rahul

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.

g++: error: H:/CodeBlocks/Codeblocks/MinGW/lib/libmysql.a: No such file or directory

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Rahul