Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: mingw-cmake error when compiling .rc

https://bugzilla.redhat.com/show_bug.cgi?id=807561

           Summary: mingw-cmake error when compiling .rc
           Product: Fedora
           Version: 15
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: mingw32-filesystem
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Fedora
      Story Points: ---
              Type: ---
        Regression: ---
        Mount Type: ---
     Documentation: ---


Created attachment 573252
  --> https://bugzilla.redhat.com/attachment.cgi?id=573252
rc test project

I am compiling my cmake project but am geting the error with
i686-pc-mingw32-windres. The project has a integrated icon.

I wrote a test project to check compiling with integrated icon. Below output of
compiling this project.

[taurus@lix rctest]$ mingw32-cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/i686-pc-mingw32-gcc
-- Check for working C compiler: /usr/bin/i686-pc-mingw32-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i686-pc-mingw32-g++
-- Check for working CXX compiler: /usr/bin/i686-pc-mingw32-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
CMake Warning: The variable, 'BUILD_SHARED_LIBS', specified manually, was not
used during the generation.
CMake Warning: The variable, 'CMAKE_INSTALL_LIBDIR', specified manually, was
not used during the generation.
CMake Warning: The variable, 'INCLUDE_INSTALL_DIR', specified manually, was not
used during the generation.
CMake Warning: The variable, 'LIB_INSTALL_DIR', specified manually, was not
used during the generation.
CMake Warning: The variable, 'SHARE_INSTALL_PREFIX', specified manually, was
not used during the generation.
CMake Warning: The variable, 'SYSCONF_INSTALL_DIR', specified manually, was not
used during the generation.
-- Build files have been written to: /home/taurus/devel/rctest
[taurus@lix rctest]$ make
/usr/bin/cmake -H/home/taurus/devel/rctest -B/home/taurus/devel/rctest
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/taurus/devel/rctest/CMakeFiles
/home/taurus/devel/rctest/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/home/taurus/devel/rctest'
make -f CMakeFiles/rctest.dir/build.make CMakeFiles/rctest.dir/depend
make[2]: Entering directory `/home/taurus/devel/rctest'
cd /home/taurus/devel/rctest && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /home/taurus/devel/rctest /home/taurus/devel/rctest
/home/taurus/devel/rctest /home/taurus/devel/rctest
/home/taurus/devel/rctest/CMakeFiles/rctest.dir/DependInfo.cmake --color=
Scanning dependencies of target rctest
make[2]: Leaving directory `/home/taurus/devel/rctest'
make -f CMakeFiles/rctest.dir/build.make CMakeFiles/rctest.dir/build
make[2]: Entering directory `/home/taurus/devel/rctest'
/usr/bin/cmake -E cmake_progress_report /home/taurus/devel/rctest/CMakeFiles 1
[ 50%] Building CXX object CMakeFiles/rctest.dir/main.cpp.obj
/usr/bin/i686-pc-mingw32-g++    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions --param=ssp-buffer-size=4 -mms-bitfields    -o
CMakeFiles/rctest.dir/main.cpp.obj -c /home/taurus/devel/rctest/main.cpp
/usr/bin/cmake -E cmake_progress_report /home/taurus/devel/rctest/CMakeFiles 2
[100%] Building RC object CMakeFiles/rctest.dir/rctest.rc.res
/usr/bin/i686-pc-mingw32-windres    /foCMakeFiles/rctest.dir/rctest.rc.res
/home/taurus/devel/rctest/rctest.rc
/usr/bin/i686-pc-mingw32-windres: '/foCMakeFiles/rctest.dir/rctest.rc.res': No
such file
/usr/bin/i686-pc-mingw32-windres: can't open
`/foCMakeFiles/rctest.dir/rctest.rc.res' for input
make[2]: *** [CMakeFiles/rctest.dir/rctest.rc.res] Error 1
make[2]: Leaving directory `/home/taurus/devel/rctest'
make[1]: *** [CMakeFiles/rctest.dir/all] Error 2
make[1]: Leaving directory `/home/taurus/devel/rctest'
make: *** [all] Error 2

I get this on F15. F16 hasn't such error. On F16 compiling works nice.
I've attached test project.

I've applied deciding for F15 package from
https://bugzilla.redhat.com/show_bug.cgi?id=652435#c5. Also I've applied this
patch to F16 branch. It should be reverted.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to