<div>On Wed, Jun 16, 2010 at 10:04 PM, Alok Govil <span dir="ltr"><<a href="mailto:alokgovil@hotmail.com">alokgovil@hotmail.com</a>></span> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
Hi all,<br><br>I am unable to build using MinGW-W64, but chances are there would be some configuration issues.<br><br>Here is how I am setup right now:<br><br>1. Download latest "automatic" builds (W64 and W32) from here: <a href="http://mingw-w64.sourceforge.net/" target="_blank">http://mingw-w64.sourceforge.net/</a><br>
2. Removed prefixes: For example, renamed file "x86_64-w64-mingw32-g++.exe" in the bin folder to "g++.exe". Am I not supposed to do this anymore?<br>3. Added CMake 2.8.2 RC2 as well as "one" of W64 and W32 to the path.<br>
4. cmake . -G "MinGW Makefiles" // This could be wrong for W64, but fails for even W32.<br> This step is where I get various errors from CMake. It works fine with normal MinGW.<br>5. Then I usually call "mingw32-make" but that is not even there in MinGW-W32 and MinGW-W64!!<br>
<br>Also of note: The following workaround works, even with the CMake 2.8 stable version.<br><br>1. Use Personal/Sezero builds from <a href="http://mingw-w64.sourceforge.net/" target="_blank">http://mingw-w64.sourceforge.net/</a><br>
2. Prefixes are already removed in Sezero builds.<br>3. Add only the "needed one" of W64 and W32 to the path.<br>4. cmake . -G "MinGW Makefiles" // Works for both W32 and W64<br>5. "mingw32-make" is present in both W32 and W64 builds. </div>
</blockquote><div><br></div><div><br></div><div>I would appreciate this more, on this list, in reply to this thread, at this time ... if it were at all clear to me that you were comparing a prior CMake release to the currently proposed CMake 2.8.2-rc2.</div>
<div><br></div><div>Rather, it seems like you are comparing "latest" "automatic" builds of mingw-w64 to Personal/Sezero builds of mingw-w64.</div><div><br></div><div>If you use CMake 2.8.2-rc2 with the Personal/Sezero builds, do you see a difference as compared to CMake 2.8.0 or 2.8.1 with the same Personal/Sezero builds?</div>
<div><br></div><div>If this is a mingw-w64 issue, perhaps you could raise it on their mailing lists?</div><div><br></div><div><br></div><div>Thanks,</div><div>David Cole</div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><br>Best regards - Alok<br><br>---------------------------------------------------<br><br>> Date: Wed, 16 Jun 2010 16:22:43 -0400<br>> From: <a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a><br>
> To: <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>> Subject: [CMake] CMake 2.8.2-rc2 ready for testing!<div><div></div><div class="h5"><br>> <br>> The CMake 2.8.2 release candidate stream continues!<br>
> You can find the source and binaries here:<br>> <a href="http://www.cmake.org/files/v2.8/" target="_blank">http://www.cmake.org/files/v2.8/</a>.<br>> <br>> Since we switched to git, and a new workflow, we're<br>
> expecting to do more frequent releases. Because of<br>> that, our release candidate phases will be shorter<br>> than they have been historically. So, if you want to<br>> test this out and ask for a fix, do it soon, or hold your<br>
> peace till the next release!<br>> <br>> Following is the list of changes in this release.<br>> Since we switched to git, this list is now the<br>> 'git log' one line summary written by the named<br>
> CMake developers.<br>> <br>> <br>> Changes in CMake 2.8.2-rc2 (since 2.8.2-rc1)<br>> --------------------------------------------<br>> <br>> Bill Hoffman (1):<br>> Make sure libarchive uses cmzlib and not the system libz if found.<br>
> <br>> Brad King (12):<br>> Use forward slashes for objects in response files<br>> Use platform variable for response file flag<br>> Use response file for objects on MinGW and MSYS<br>> Generalize CTest.Update* test dashboard script helpers<br>
> ctest_update: Support custom Git update command<br>> ctest_update: Support Git upstream branch rewrites<br>> Fix CMake data and doc paths in Cygwin package<br>> Document scope of source file properties<br>
> Run CTest.NoNewline test using built CMake<br>> Tru64: Place cmOStringStream vtable uniquely (#10541)<br>> Enable BootstrapTest on MSYS<br>> Tru64: Use full-path include directives in Makefiles (#10569)<br>
> <br>> Christoph Watzl (1):<br>> Fix nested source groups with VS 10 (#9863)<br>> <br>> Clinton Stimpson (2):<br>> Support pthreads on irix.<br>> Remove macro for querying qmake for qmake variables.<br>
> <br>> David Cole (2):<br>> Fix issue #10346. Error if SOURCE_DIR is empty.<br>> Remove CTestTest3.<br>> <br>> Zach Mullen (1):<br>> Extra coverage glob should subtract the explicitly defined excluded files<br>
> <br>> Changes in CMake 2.8.2-rc1 (since 2.8.1):<br>> - Build on Tru64 (#10542)<br>> - Build on mingw-w64<br>> - Build on old Sun (#10550, #10543)<br>> - CPack: Add native BZip2 support<br>> - CPack: Set compression type in RPM spec (#10363)<br>
> - CPack: Try harder to initialize staging directory (#10793)<br>> - CTest: Add --stop-time argument<br>> - CTest: Cost data with '-j'<br>> - CTest: Fix memory report<br>> - CTest: Glob for uncovered files during coverage tests<br>
> - CTest: Option to specify cdash server<br>> - CTest: PHP Coverage support<br>> - CTest: Process tree kill for OpenBSD, FreeBSD, kFreeBSD, GNU/Hurd<br>> - CTest: Report failure in Update.xml<br>> - CTest: Submit author email in Update.xml<br>
> - CTest: Teach ctest_update about Git submodules<br>> - CTest: Teach ctest_update to handle Git upstream branch rewrites<br>> - Cygwin: Export all symbols with ENABLE_EXPORTS (#10122)<br>> - Do not list file names during 'cmake -E tar xz'<br>
> - Documentation: Comply with "XHTML 1.0 Strict"<br>> - Documentation: Fix typo in CMAKE_LIBRARY_PATH (#10291)<br>> - Documentation: Fix typo in HAS_CXX docs (#10578)<br>> - Documentation: More consistent command signatures<br>
> - Eclipse: Do not add INCLUDE to environment twice<br>> - Enable extra CodeBlocks generator on Cygwin<br>> - ExternalProject: Support .zip and .bz2 archives, MD5 verification<br>> - ExternalProject: Reconfigure when args change (#10258)<br>
> - ExternalProject: Support Git, SVN username/password<br>> - FindCurses: Fix for cygwin ncurses package<br>> - FindHSPELL: Version support<br>> - FindJava: Error if version is not found only when REQUIRED<br>
> - FindJava: Support runtime and development components (#9840)<br>> - FindKDE4: Prefer kdeconfig results over system paths<br>> - FindMPEG: Check for 'vo' library<br>> - FindPNG: Support png 1.4 versioned lib names (#10551)<br>
> - FindPkgConfig: Add QUIET keyword to pkgconfig macros (see #10469)<br>> - FindZLIB: GnuWin32 support, version support (#5588)<br>> - FindwxWidget: Fix CXX flag parsing (#10209)<br>> - Fix .pdb name attribute in VS project files (#10614)<br>
> - Fix CodeBlocks to work with Fortran-only<br>> - Fix VS 2010 custom commands (#10503)<br>> - Fix VS 6 support for COMPILE_DEFINITIONS_MINSIZEREL (#10700)<br>> - Fix cross-compiling from Linux to iPhone (#10526)<br>
> - Fix documentation typos<br>> - Fix g95 Fortran compiler support<br>> - Fix uname masking in file(WRITE) and write_file (#10789)<br>> - GetPrerequisites: Provide an override hook<br>> - Handle non-ASCII terminators in file(STRINGS)<br>
> - Module fixes: FindPythonLibs, FindQt4, FindX11, FindwxWidgets<br>> - PathScale Fortran compiler tool detection<br>> - Qt4 OpenGL framework fix<br>> - Qt4ConfigDependentSettings.cmake Qt4Macros.cmake UseQt4.cmake<br>
> - Recognize ARM ABI/EABI with GNU compilers<br>> - Recognize Clang compiler<br>> - Search basic directories on "Generic" platform<br>> - Set MSVC* variables consistently on all generators, and test<br>
> - Support SunPro C++ 5.11 on Linux (new compiler)<br>> - Support VS 10 Express (related to #10670)<br>> - Support compression with 'cmake -E tar'<br>> - Support multiple arguments in CC,CXX,FC environment variables<br>
> - Support per-configuration librarian flags (#10768)<br>> - Support per-platform initial ASM language flags (#10577)<br>> - Use Fortran ABI detection results conservatively<br>> - Use libarchive to replace the unmaintained libtar<br>
> - UseQt4: Support QtMultimedia (#10675)<br>> - bootstrap: Fix make tool detection (#10544)<br>> - cmake-gui: Add simple grouped view<br>> - cmake-gui: Support build tree under symlink (#9975)<br>> - Cleanup modules FindASPELL, FindAVIFile, FindBZip2, FindDart,<br>
> FindEXPAT, FindGCCXML, FindGLU, FindHSPELL, FindJasper, FindLibXml2,<br>> FindLibXslt, FindMPEG, FindOpenAL, FindPhysFS, FindQuickTime,<br>> FindSubversion, FindZLIB.<br>> <br>> <br>> Please try this version of CMake on your projects and report any<br>
> issues to the list or the bug tracker.<br>> <br>> Happy building!<br>> <br>> -Dave<br></div></div><div class="im">> _______________________________________________<br>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> <br>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>> <br>> Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
> <br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>                                            <br><hr></div>The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. <a href="http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5" target="_blank">Get busy.</a></div>
</blockquote></div><br>