Re: [CMake] Cmake issue compiling CLucene
Hello Mike I also tried from the VS command prompt but it gives the same problem with the linker it seems... -- View this message in context: http://cmake.3232098.n2.nabble.com/Cmake-issue-compiling-CLucene-tp7582775p7582803.html Sent from the CMake mailing list archive at Nabble.com. -- 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
Re: [CMake] Cmake issue compiling CLucene
On 1/7/2013 3:18 PM, Hatchi wrote: Hello Mike I also tried from the VS command prompt but it gives the same problem with the linker it seems... Does this work for you: http://stackoverflow.com/questions/12267158/failure-during-conversion-to-coff-file-invalid-or-corrupt -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 -- 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
Re: [CMake] Cmake issue compiling CLucene
Dear Bill After your email I reinstalled WinSDK 7.1 and Microsoft Visual Studio Express for C++ 2010. In Cmake I indicated the visual studio 2010 compiler but now I get these messages: What do you suggest could be the problem? The C compiler identification is MSVC 16.0.30319.1 The CXX compiler identification is MSVC 16.0.30319.1 Check for working C compiler using: Visual Studio 10 Check for working C compiler using: Visual Studio 10 -- broken CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe is not able to compile a simple test program. It fails with the following output: Change Dir: C:/CLucene/CMakeFiles/CMakeTmp Run Build Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe cmTryCompileExec3404150544.vcxproj /p:Configuration=Debug /p:VisualStudioVersion=10.0 Microsoft (R) Build Engine versie 4.0.30319.17929 [Microsoft .NET Framework versie 4.0.30319.17929] Copyright (C) Microsoft Corporation. Alle rechten voorbehouden. Opbouwen gestart 6/01/2013 19:57:44. Project C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj op knooppunt 1 (standaarddoelen). PrepareForBuild: De map cmTryCompileExec3404150544.dir\Debug\ wordt gemaakt. De map C:\CLucene\CMakeFiles\CMakeTmp\Debug\ wordt gemaakt. InitializeBuildStatus: cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.unsuccessfulbuild wordt gemaakt omdat AlwaysCreate is opgegeven. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /FocmTryCompileExec3404150544.dir\Debug\\ /FdC:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.pdb /Gd /TC /analyze- /errorReport:queue testCCompiler.c /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 /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D CMAKE_INTDIR=\Debug\ /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /FocmTryCompileExec3404150544.dir\Debug\\ /FdC:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.pdb /Gd /TC /analyze- /errorReport:queue testCCompiler.c /Zm1000 testCCompiler.c ManifestResourceCompile: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /focmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.exe.embed.manifest.res cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544_manifest.rc Link: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:C:\CLucene\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3404150544.exe /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.exe.intermediate.manifest /MANIFESTUAC:level='asInvoker' uiAccess='false' /DEBUG /PDB:C:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.pdb /SUBSYSTEM:CONSOLE /STACK:1000 /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:C:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.lib /MACHINE:X86 cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.exe.embed.manifest.res cmTryCompileExec3404150544.dir\Debug\testCCompiler.obj /machine:X86 /debug LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj] Project C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj is gebouwd (standaarddoelen). -- MISLUKT. Opbouwen MISLUKT. C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj (standaarddoel) (1) - (Link doel) - LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj] 0 waarschuwing(en) 1 fout(en) Verstreken tijd 00:00:01.88 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:1 (PROJECT) Configuring incomplete, errors occurred! 2013/1/4 Bill Hoffman [via CMake] ml-node+s3232098n7582777...@n2.nabble.com On 1/4/2013 5:47 PM, Michael Jackson wrote: Don't use a Regular Command Prompt. Use instead one of the Visual Studio 9 Command Prompt that are provided with a normal Visual Studio installation. Those command prompts have all the necessary paths setup for Visual Studio. This also assumes you have Visual Studio 9 installed and not Visual Studio 8 or 10 and are just getting confused about which one to pick. -- You should not have to start from a VS command prompt if you are using the IDE to build. You only need to do that if you are
[CMake] Cmake issue compiling CLucene
During several days I am trying to compile CLucene on Windows 7 64 bit without success. I searched all over the internet but did not find a solution for my problem. I will describe all steps which I took and hope somebody can help me further. I downloaded CLucene and extracted it to the folder C:/Users/Gerda/Downloads/clucene-core-2.3.3.4/clucene-core-2.3.3.4 I created the out of source build directory C:/CLucene I installed boost 1.40 using the binary installer from boostpro computing I installed Cmake 2.8.10 I started a regular windows command line prompt and entered set BOOST_BUILD_PATH=C:\Program Files (x86)\boost\boost_1_40\tools\build\v2 set BOOST_PATH=C:\Program Files (x86)\boost set BOOST_ROOT=C:\Program Files (x86)\boost\boost_1_40 I start cmake Gui and set the folders to the ones I mentioned in 1 and 2. I select Microsoft Visual Studio 9 compiler. After clicking configure I get the following error message: CMake Error: CMake was unable to find a build program corresponding to Visual Studio 9 2008. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Could not find cmake module file:C:/CLucene/CMakeFiles/2.8.10.2/CMakeCCompiler.cmake CMake Error: Could not find cmake module file:C:/CLucene/CMakeFiles/2.8.10.2/CMakeCXXCompiler.cmake Configuring incomplete, errors occurred! I have the same issue with other compilers including the VS 9 64 bit compiler. Thanks in advance -- View this message in context: http://cmake.3232098.n2.nabble.com/Cmake-issue-compiling-CLucene-tp7582775.html Sent from the CMake mailing list archive at Nabble.com. -- 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
Re: [CMake] Cmake issue compiling CLucene
Don't use a Regular Command Prompt. Use instead one of the Visual Studio 9 Command Prompt that are provided with a normal Visual Studio installation. Those command prompts have all the necessary paths setup for Visual Studio. This also assumes you have Visual Studio 9 installed and not Visual Studio 8 or 10 and are just getting confused about which one to pick. -- Mike Jackson www.bluequartz.net On Jan 4, 2013, at 5:34 PM, Hatchi wrote: During several days I am trying to compile CLucene on Windows 7 64 bit without success. I searched all over the internet but did not find a solution for my problem. I will describe all steps which I took and hope somebody can help me further. I downloaded CLucene and extracted it to the folder C:/Users/Gerda/Downloads/clucene-core-2.3.3.4/clucene-core-2.3.3.4 I created the out of source build directory C:/CLucene I installed boost 1.40 using the binary installer from boostpro computing I installed Cmake 2.8.10 I started a regular windows command line prompt and entered set BOOST_BUILD_PATH=C:\Program Files (x86)\boost\boost_1_40\tools\build\v2 set BOOST_PATH=C:\Program Files (x86)\boost set BOOST_ROOT=C:\Program Files (x86)\boost\boost_1_40 I start cmake Gui and set the folders to the ones I mentioned in 1 and 2. I select Microsoft Visual Studio 9 compiler. After clicking configure I get the following error message: CMake Error: CMake was unable to find a build program corresponding to Visual Studio 9 2008. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Could not find cmake module file:C:/CLucene/CMakeFiles/2.8.10.2/CMakeCCompiler.cmake CMake Error: Could not find cmake module file:C:/CLucene/CMakeFiles/2.8.10.2/CMakeCXXCompiler.cmake Configuring incomplete, errors occurred! I have the same issue with other compilers including the VS 9 64 bit compiler. Thanks in advance -- View this message in context: http://cmake.3232098.n2.nabble.com/Cmake-issue-compiling-CLucene-tp7582775.html Sent from the CMake mailing list archive at Nabble.com. -- 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
Re: [CMake] Cmake issue compiling CLucene
On 1/4/2013 5:47 PM, Michael Jackson wrote: Don't use a Regular Command Prompt. Use instead one of the Visual Studio 9 Command Prompt that are provided with a normal Visual Studio installation. Those command prompts have all the necessary paths setup for Visual Studio. This also assumes you have Visual Studio 9 installed and not Visual Studio 8 or 10 and are just getting confused about which one to pick. -- You should not have to start from a VS command prompt if you are using the IDE to build. You only need to do that if you are using command line tools. Do you have VS 9 installed? Sounds like cmake can not find devenv. How did you install VS, and what version is it? -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573 -- 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