c0000135 is the &quot;unable to locate dll&quot; exception, not c0150004...<br><br>I could not find what c0150004 means using google, although apparently it occurs frequently to people with Vista when it tries to do automatic updating.... :-P<br>
<br>I suspect if you can run it under the debugger, you might be able to catch the exception and determine where it is coming from. (See Visual Studio&#39;s exception dialog in the GUI via the &quot;Debug &gt; Exceptions...&quot; menu.)<br>
<br><br>HTH,<br>David<br><br><br><div class="gmail_quote">On Fri, May 23, 2008 at 10:28 AM, Bill Hoffman &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mike Jackson wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here ya go.. Hope this helps.<br>
<br>
</blockquote>
<br>
<br>
OK, so the error log has this:<br>
<br>
Determining the endianes of the system passed. The system is big endianTest produced following output:<br>
Microsoft (R) Visual Studio Version 8.0.50727.42.<br>
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.<br>
------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32 ------<br>
Compiling...<br>
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x8<br>
Copyright (C) Microsoft Corporation. &nbsp;All rights reserved.<br>
cl /Od /D &quot;WIN32&quot; /D &quot;_WINDOWS&quot; /D &quot;_DEBUG&quot; /D &quot;CMAKE_INTDIR=\&quot;Debug\&quot;&quot; /D &quot;_MBCS&quot; /FD /EHsc /RTC1 /MDd /Fo&quot;cmTryCompileExec.dir\Debug\\&quot; /Fd&quot;D:/workspace/ParaView3/vs2005/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb&quot; /W3 /c /Zi /TC &nbsp; /Zm1000<br>

&quot;..\..\..\..\..\Applications\CMake_2.4.8\share\cmake-2.4\Modules\TestBigEndian.c&quot;<br>
TestBigEndian.c<br>
Compiling manifest to resources...<br>
Linking...<br>
Embedding manifest...<br>
Build log was saved at &quot;file://d:\workspace\ParaView3\vs2005\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm&quot;<br>
cmTryCompileExec - 0 error(s), 0 warning(s)<br>
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========<br>
Exit code 0xc0150004<br>
<br>
So, cmTryCompileExec builds just fine. &nbsp;When CMake tries to run it, it gets an Exit code 0xc0150004. &nbsp;I think that means that it can not find a dll.<br>
<br>
I would recommend cmake --debug-trycompile on a simple project:<br>
<br>
project(foo C)<br>
include(TestBigEndian)<br>
TEST_BIG_ENDIAN(TEST_BIG)<br>
<br>
Run cmake once on this without --debug-trycompile. &nbsp;Then delete the TEST_BIG stuff from the CMakeCache.txt, and re-run cmake on the project with --debug-trycompile. &nbsp;This will leave cmTryCompileExec.exe on your disk and you can try to run it.<br>

<br>
You may want to try this tool: <a href="http://www.dependencywalker.com/" target="_blank">http://www.dependencywalker.com/</a><br>
<br>
It will help figure out what dll&#39;s are missing.<div><div></div><div class="Wj3C7c"><br>
<br>
-Bill<br>
<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>