Unable to compile root programs outside root environment

Hi,

Which version of ROOT do you use exactly? if it’s the native one, you have to compile with cl.exe, not g++
And see also Posting code? Read this first!

Cheers, Bertrand.