<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Looks like it is related to VC++11 I'm trying.&nbsp; The error seems to occur at API function call, such as at:<br><br>&nbsp;&nbsp;&nbsp; pixelFormat = ChoosePixelFormat(hDC, &amp;pfd);&nbsp; [vtkWin32OpenGLRenderWindow.cxx<br><br>I got a pop up with this message: "LoadLibrary failed with error 126: The specified module could not be found."<br><br>Any ideal why this is happening?<br><br>Xiaofeng Zhao<br>
<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; From: dave.demarle@kitware.com<br>&gt; Date: Sun, 8 Apr 2012 00:20:41 -0400<br>&gt; Subject: Re: [vtkusers] VTK Tests and BUILD_SHARED_LIBS<br>&gt; To: xf10036@hotmail.com<br>&gt; CC: vtkusers@vtk.org<br>&gt; <br>&gt; It should not be required. What platform are you on and what is the<br>&gt; specific error message you are seeing?<br>&gt; <br>&gt; David E DeMarle<br>&gt; Kitware, Inc.<br>&gt; R&amp;D Engineer<br>&gt; 21 Corporate Drive<br>&gt; Clifton Park, NY 12065-8662<br>&gt; Phone: 518-881-4909<br>&gt; <br>&gt; <br>&gt; <br>&gt; On Sat, Apr 7, 2012 at 11:51 PM, Xiaofeng Z &lt;xf10036@hotmail.com&gt; wrote:<br>&gt; &gt; Is BUILD_SHARED_LIBS required for RUN_TESTS.&nbsp; I'm getting LoadLibrary<br>&gt; &gt; Failure when I try to run the tests in a build without BUILD_SHARED_LIBS<br>&gt; &gt; turned on.<br>&gt; &gt;<br>&gt; &gt; Xiaofeng Zhao<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Powered by www.kitware.com<br>&gt; &gt;<br>&gt; &gt; Visit other Kitware open-source projects at<br>&gt; &gt; http://www.kitware.com/opensource/opensource.html<br>&gt; &gt;<br>&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>&gt; &gt; http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; &gt;<br>&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>&gt; &gt;<br></div>                                               </div></body>
</html>