Alexander Measure
Alexander Measure
+1 for Windows
I figured it out, it doesn't seem to work with newer versions of g++. It compiles fine with g++ 4.4.
Did you change g++ 4.4.0 to be your default compiler? Type g++ --version on the command line, which version does it say it is?
I'm not sure why it isn't working for you. The only thing I can think of is that I might have done this in Ubuntu instead of on Windows.