Hi, That didnt make any difference. I am still getting the same error. There seems to be some permission problems. Ryan mentioned that it looked like either Cmake or VC++ had ran as administrators but no longer do. Im not sure how to check that. But i did as he said and deleted the build directory but it had no effect.
Regards, Conor On Thu, Sep 16, 2010 at 3:27 PM, Kelly Thompson <k...@lanl.gov> wrote: > Hi Conor, > > > > I don’t have VS at work, so I’ll need to wait until I’m at home tonight to > double check my instructions. However, from my memory, I recall that there > is a “command prompt” option in the Visual Studio start menu group (start -> > visual studio -> command prompt). Starting this program will start cmd.exe > (a DOS shell) with the proper environment. Once you have that shell open, > you should be able to execute ‘cmake-gui’ > > > > After CMake has generated the solution files for your project you can > simply double click on the .sln file from the file explorer. > > > > -kt > > > > > > > > *From:* Conor Downey [mailto:discodow...@gmail.com] > *Sent:* Thursday, September 16, 2010 5:35 AM > *To:* k...@lanl.gov > > *Subject:* Re: [CMake] CMake Problem with Visual Studio 2008 Express and > Windows 7 > > > > Hi Kelly, > > > > Can you tell me how to execute CMake from the Visual Studio Command Prompt? > > Cheers, > > Conor > > On Tue, Sep 14, 2010 at 3:06 PM, Kelly Thompson <k...@lanl.gov> wrote: > > Conor, > > > > You must execute CMake from the Visual Studio Command Prompt. If you try > to run CMake from the start menu (w/o the VS environment), it won’t be able > to find the compiler because MSVC doesn’t setup its environment outside of > the VS GUI or the VS command prompt. > > > > Could this be the cause of the errors listed below? > > > > -kt > > > > *From:* cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] *On > Behalf Of *Conor Downey > *Sent:* Tuesday, September 14, 2010 5:18 AM > *To:* Micha Renner > *Cc:* cmake@cmake.org > *Subject:* Re: [CMake] CMake Problem with Visual Studio 2008 Express and > Windows 7 > > > > Hey, > > > > Sorry, dunno if its important but this is the guide to what ive been trying > to use CMake for: > http://sourceforge.net/apps/trac/glestae/wiki/CompileGuideWin > > > > As far as i can tell i have all the code/files in the correct places. > > > > Cheers, > > Conor > > On Tue, Sep 14, 2010 at 12:16 PM, Conor Downey <discodow...@gmail.com> > wrote: > > Hi, > > > > Ive downloaded 2010 Express but the exact same problem still exists. Here > is the build log (i am using CMake 2.8.2): > > > > Check for working CXX compiler using: Visual Studio 10 > > CMake Error: Remove failed on file: > C:/Users/Downey/Documents/College/Masters/Gae/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe: > System Error: Permission denied > > Check for working CXX compiler using: Visual Studio 10 -- broken > > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE): > > The C++ compiler "cl" is not able to compile a simple test program. > > It fails with the following output: > > Change Dir: > C:/Users/Downey/Documents/College/Masters/Gae/build/CMakeFiles/CMakeTmp > > Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe > > cmTryCompileExec.vcxproj /p:Configuration=Debug > > Microsoft (R) Build Engine Version 4.0.30319.1 > > [Microsoft .NET Framework, Version 4.0.30319.1] > > Copyright (C) Microsoft Corporation 2007. All rights reserved. > > Build started 14/09/2010 12:13:04. > > Project > > > "C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" > > on node 1 (default targets). > > InitializeBuildStatus: > > Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" > because "AlwaysCreate" was specified. > > ClCompile: > > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi > /nologo- /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D > "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise > /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec.dir\Debug\\" > /Fd"C:/Users/Downey/Documents/College/Masters/Gae/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" > /Gd /TP /analyze- /errorReport:queue testCXXCompiler.cxx /Zm1000 > > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for > 80x86 > > Copyright (C) Microsoft Corporation. All rights reserved. > > cl /c /Zi /nologo- /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D > "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise > /Zc:wchar_t /Zc:forScope /GR /Fo"cmTryCompileExec.dir\Debug\\" > /Fd"C:/Users/Downey/Documents/College/Masters/Gae/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" > /Gd /TP /analyze- /errorReport:queue testCXXCompiler.cxx /Zm1000 > > cl : Command line warning D9035: option 'nologo-' has been deprecated and > > will be removed in a future release > > > [C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] > > testCXXCompiler.cxx > > ManifestResourceCompile: > > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo > /fo"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res" > cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc > > Link: > > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe > /ERRORREPORT:QUEUE > /OUT:"C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe" > /VERSION:"0.0" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib > winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib > advapi32.lib /MANIFEST > /ManifestFile:"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest" > /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG > /PDB:"C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb" > /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT > /IMPLIB:"C:/Users/Downey/Documents/College/Masters/Gae/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib" > /MACHINE:X86 > cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res > > cmTryCompileExec.dir\Debug\testCXXCompiler.obj /machine:X86 /debug > > LINK : fatal error LNK1104: cannot open file > > > 'C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe' > > > [C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] > > Done Building Project > > > "C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" > > (default targets) -- FAILED. > > Build FAILED. > > > "C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" > > (default target) (1) -> > > (ClCompile target) -> > > cl : Command line warning D9035: option 'nologo-' has been deprecated and > will be removed in a future release > [C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] > > > "C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" > > (default target) (1) -> > > (Link target) -> > > LINK : fatal error LNK1104: cannot open file > 'C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe' > [C:\Users\Downey\Documents\College\Masters\Gae\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj] > > 1 Warning(s) > > 1 Error(s) > > Time Elapsed 00:00:04.77 > > CMake will not be able to correctly generate this project. > > Call Stack (most recent call first): > > CMakeLists.txt:8 (project) > > Configuring incomplete, errors occurred! > > On Tue, Sep 14, 2010 at 9:39 AM, Micha Renner <micha.ren...@t-online.de> > wrote: > > There were and there are problems with CMake and the Visual Studio > Express Versions. > See: http://www.cmake.org/pipermail/cmake/2010-May/036962.html (macros) > > I use the 2010 Express Version, which works astonishingly good. There > are still some minor problems (see > http://www.cmake.org/pipermail/cmake/2010-June/037531.html), but for > small projects it is ok. > So I recommend, you switch to 2010er version and use the 2.8.2 version > of CMake. > > Greetings > > Micha > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > > > > > > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake