libopenslide.lib in Win build failed load with release version

Benjamin Gilbert bgilbert at
Thu Sep 17 02:47:17 EDT 2015

On 09/17/2015 01:50 AM, zhaoy at wrote:
> I use VisualStudio C++ 2010. I write a very simple test console
> program link with the libopenslide.lib in binary build. The debug
> version test program works well. But if I build release version test
> program, link with the same libopenslide.lib, then the test program
> crashed in runtime.

Hi Ray,

With MSVC 2010 or earlier, you will need to link with /OPT:NOREF.

--Benjamin Gilbert

More information about the openslide-users mailing list