c0000135 is the "unable to locate dll" 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's exception dialog in the GUI via the "Debug > Exceptions..." 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 <<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>> 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. All rights reserved.<br>
cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\" /Fd"D:/workspace/ParaView3/vs2005/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /W3 /c /Zi /TC /Zm1000<br>
"..\..\..\..\..\Applications\CMake_2.4.8\share\cmake-2.4\Modules\TestBigEndian.c"<br>
TestBigEndian.c<br>
Compiling manifest to resources...<br>
Linking...<br>
Embedding manifest...<br>
Build log was saved at "file://d:\workspace\ParaView3\vs2005\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"<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. When CMake tries to run it, it gets an Exit code 0xc0150004. 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. Then delete the TEST_BIG stuff from the CMakeCache.txt, and re-run cmake on the project with --debug-trycompile. 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'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>