libopenslide.lib in Win build failed load with release version

Benjamin Gilbert bgilbert at cs.cmu.edu
Thu Sep 17 02:47:17 EDT 2015


On 09/17/2015 01:50 AM, zhaoy at motic.com 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.

 
http://openslide.org/docs/windows/#crashes-when-linked-with-msvc-2010-vc10-or-earlier

--Benjamin Gilbert



More information about the openslide-users mailing list