Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
We tried your program with ImageMagick 6.2.7-8 on a Fedora system and it ran without complaint and created a filled green circle surrounded by a red ring on a white background as expected. Not sure why its failing for you. We'll need a stack trace before we can help further.