when i try to compile a c++ code with Code::Blocks that uses imagemagick++ libraries it gives references errors like the ones in the attachment.

I have already linked the libraries in the compiler's settings.

Could you please help me? I know this is probably something easily fixable but I don't know what else to try. It's for a school project.