I'm running VS2010 with version 2 of the SDK, and I've got a plugin with stub methods that actually do nothing building and actually working in an installer. That said, no sooner do I start trying to use any of the IRLUA_PLUGIN_* helper functions than I start getting LNK2005 for operator new and operator delete in nafxcw*; already defined in libcmtd.lib. This is apparently an issue with these functions needing MFC, of all things, and it's apparently linked in the wrong order; the C runtime should have been linked first.
Unfortunately, the solutions offered here: http://support.microsoft.com/kb/148652/en-us either do not work or do not apply to this version of VStudio, being for VC 2005. Does anyone have a simple solution to this so I can quit chasing my tail? I'd hate to not be able to use some of these IRLUA_PLUGIN_* functions, since a few of them are actually specific to SUF, and I think I'll need them.
One more thing, just for my personal edification? Why on EARTH would the author of this SDK stick the rest of us with the need to suck in MFC??
Thanks,
DDoutelMS
Unfortunately, the solutions offered here: http://support.microsoft.com/kb/148652/en-us either do not work or do not apply to this version of VStudio, being for VC 2005. Does anyone have a simple solution to this so I can quit chasing my tail? I'd hate to not be able to use some of these IRLUA_PLUGIN_* functions, since a few of them are actually specific to SUF, and I think I'll need them.
One more thing, just for my personal edification? Why on EARTH would the author of this SDK stick the rest of us with the need to suck in MFC??
Thanks,
DDoutelMS
Comment