Description of problem: Please add: SET(CMAKE_RC_COMPILER /usr/bin/i686-pc-mingw32-windres) to /usr/share/mingw32/Toolchain-mingw32.cmake Version-Release number of selected component (if applicable): mingw32-filesystem-62-2.fc14.noarch
Looks good enough to me, will push it to f14 and rawhide
mingw32-filesystem-63-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mingw32-filesystem-63-1.fc14
mingw32-filesystem-63-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update mingw32-filesystem'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/mingw32-filesystem-63-1.fc14
mingw32-filesystem-63-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
With the commited patch, Orion did you manage to use the RC compiler properly? After the CMake configuration is done successfully, I have errors like: /usr/bin/i686-pc-mingw32-windres: can't open `/foCMakeFiles/CGAL.dir/CGAL_verinfo.rc.res' for input because CMake tries the option /fo (the syntax of Microsoft rc.exe) instead of the option -o (syntax of windres). And I add also to add the option "-O coff" so that the linker agrees to link with the generated file. So my patch is: diff --git a/Toolchain-mingw32.cmake b/Toolchain-mingw32.cmake index 66ef563..f965ce5 100644 --- a/Toolchain-mingw32.cmake +++ b/Toolchain-mingw32.cmake @@ -20,6 +20,8 @@ SET(QT_LIBRARY_DIR ${CMAKE_FIND_ROOT_PATH}/lib) # set the resource compiler (RHBZ #652435) SET(CMAKE_RC_COMPILER /usr/bin/i686-pc-mingw32-windres) +SET(CMAKE_RC_COMPILE_OBJECT + "<CMAKE_RC_COMPILER> <FLAGS> <DEFINES> -O coff -o <OBJECT> <SOURCE>") # override boost library suffix which defaults to -mgw SET(Boost_COMPILER -gcc46) My packages are: mingw32-filesystem-64-2.fc14.noarch cmake-2.8.4-1.fc14.x86_64
I think it worked for me at the time. Was a one shot deal for me.
Should I open a new bug or reopen that one?
I would open a new one.