VS 2008 Pro - 'fatal error LNK1257: code generation failed'

I’m using VS2008 pro and downloaded the FAT version of OF with the samples. Open the sample project file, works fine. When I build using in debug mode it works fine, but when I try to build in release mode I always get the error:

fatal error LNK1257: code generation failed graphicsExample graphicsExample

Any insight as to why this might be happening.

TIA

[quote author=“drvannostrand”]I’m using VS2008 pro and downloaded the FAT version of OF with the samples. Open the sample project file, works fine. When I build using in debug mode it works fine, but when I try to build in release mode I always get the error:

fatal error LNK1257: code generation failed graphicsExample graphicsExample

Any insight as to why this might be happening.

TIA[/quote]
Late reply:
Do you have any more lines from the build?

It could be that you don’t have SP1 for visual studio 2008. I ran into this with a few apps but I can’t remember if they were OF or openCV. It’s worth a shot.