g++: -lMagick++: No such file or directory
cc1plus: warning: command line option "-fopenmp" is valid for D but not for C++
hello_world.cpp: In function `int main(int, char**)':
hello_world.cpp:7: error: `InitializeMagick' undeclared (first use this function)
hello_world.cpp:7: error: (Each undeclared identifier is reported only once for each function it appears in.)

What am I doing wrong?? I've been trying to figure this out for hours... :/

${IMDEV} is the directory for my build, of course. This works for v6 or v7. It's an old script, and I think the current "official" method uses something else instead of PKG_CONFIG_PATH. Quite possibly it is MAGICK++_CONFIG_PATH.