VS2010 Is Too Old?

> cpan Win32::Console::ANSI

ANSI.xs(12) : fatal error C1189: #error : your SDK is too old... (see the README file in the distro)

Fix:
@Set INCLUDE=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
@Set INCLUDE=%INCLUDE%;C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE

Leave a comment

About Leo Susanto

user-pic I blog about Perl.