trouble compiling InitUtil 2.1 « Thread Started on Sept 15, 2005, 2:15pm »
I'm trying to compile InitUtil version 2.1 under MS VC 2002, and I'm getting the following errors:
InitUtil.h(193): error C2065: 'Container' : undeclared identifier InitUtil.h(193): error C2687: cannot define a nested UDT of a template class out of line InitUtil.h(193): fatal error C1903: unable to recover from previous error(s); stopping compilation
The bizarre thing is that 'Container' is used in the lines above line 193. I'm not entirely sure what that means.
Figures, .NET 2002 is the one I've uninstalled. I can't even remember for sure if I've ever tested with it.
InitUtil hasn't seen much action in a few years; Thorston Ottosen came up with the boost assign library as an evolutionary step beyond InitUtil, and it's a lot cooler. I'd suggest giving that a shot; you'll probably end up with much more elegant code...