in reply to cpan>install Crypt::OpenSSL::AES

This module builds and installs fine for me on Windows. I think your problem might be that the openssl headers (specifically, openssl/aes.h) are not being found, and hence the subsequent syntax errors.

Where is the openssl library located on your machine ?
Did you at any time during the build see any messages about "no such file" or "probably harmless" ? (They would have occurred before the section that you posted.)

Cheers,
Rob