Need Help , please give some suggestions [Solved] #7813
soumya-shome
started this conversation in
General
Replies: 2 comments 3 replies
-
you probably need to add the libraries to link to mariadb, try changing your final linking line to g++.exe -o bin\Release\cppdatabase.exe obj\Release\main.o $(pkgconf --libs --static libmariadb) |
Beta Was this translation helpful? Give feedback.
2 replies
-
I think you have just forgot to link to the libmariadb.dll library. Just add the linking option If you have more questions you are welcomed join Gitter or Discord. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to do mysql connection using c++, on Code::Blocks and mingw compiler on MSYS2.
Upon Compliling
I am getting this error
My Code
I have this installed :
pacman -S mingw-w64-x86_64-libmariadbclient
I tried different methods available online , none of them helped.
Any suggestions ??
Beta Was this translation helpful? Give feedback.
All reactions