Problem linking libraries in Code::Blocks

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
LuigiRiddler
Posts: 1
Joined: 2016-12-27T09:45:55-07:00
Authentication code: 1151

Problem linking libraries in Code::Blocks

Post by LuigiRiddler »

I have the following problem:
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.Image
I have already linked the libraries in the compiler's settings.
Image
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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Problem linking libraries in Code::Blocks

Post by snibgo »

I don't know the answer. Have you searched the forum? For example viewtopic.php?f=6&t=30022&p=135206&hili ... ks#p135206
snibgo's IM pages: im.snibgo.com
imla
Posts: 1
Joined: 2016-12-28T04:44:01-07:00
Authentication code: 1151

Re: Problem linking libraries in Code::Blocks

Post by imla »

I do not know about Code::Blocks but you miss some thing like :

LIBS += -lCORE_RL_Magick++_ -lCORE_RL_Wand_ -lCORE_RL_Magick_ -lzbar
Post Reply