Results 1 to 2 of 2

Thread: openSuSE 13.1 + Kdevelop + mingw32/64 - Kompilieren klappt nicht

  1. #1

    Default openSuSE 13.1 + Kdevelop + mingw32/64 - Kompilieren klappt nicht

    Hallo,
    ich habe openSuSE 13.1 (64bit) installiert.

    + Kdevelop
    + mingw32 REPO: http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1/
    + mingw64 REPO: http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.1/
    + wine / wine64


    Wenn ich ein neues (grafisches) Projekt anlege und dann auf "Erzeugen"
    klicke bekomme ich folgende Fehlermeldung:

    /home/developer/projects/test_w64/build> /usr/bin/mingw64-cmake -DCMAKE_BUILD_TYPE=Debug -G 'Unix Makefiles' /home/developer/projects/test_w64/
    CMake Error: Could not create named generator Unix
    *** Fehler: Beendigungscode 1 ***


    Wechsle ich in das Projektverzeichnis und führe dort folgendes aus:

    mingw64-cmake
    mingw64-make

    wird das Projekt kompiliert. Aber aus Kdevelop heraus geht es nicht.
    Wie kann man das Problem beheben ?

    Danke

  2. #2

    Default Re: openSuSE 13.1 + Kdevelop + mingw32/64 - Kompilieren klappt nicht

    Ich habe ein openSuSE 12.3 installiert mit Kdevelop, mingw32 und ming w64 etc.
    Dort ein Projekt erstellt und diesen dann auf der openSuSE 13.1 kompiliert.
    Das geht.

    /usr/bin/cmake -H/home/developer/projects/test_w64 -B/home/developer/projects/test_w64/build --check-build-system CMakeFiles/Makefile.cmake 0
    -- The C compiler identification is GNU 4.8.2
    -- The CXX compiler identification is GNU 4.8.2
    -- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc
    -- Check for working C compiler: /usr/bin/x86_64-w64-mingw32-gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g++
    -- Check for working CXX compiler: /usr/bin/x86_64-w64-mingw32-g++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Found Qt4: /usr/bin/qmake (found version "4.8.5")
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/developer/projects/test_w64/build
    /usr/bin/cmake -E cmake_progress_start /home/developer/projects/test_w64/build/CMakeFiles /home/developer/projects/test_w64/build/CMakeFiles/progress.marks
    /usr/bin/make -f CMakeFiles/Makefile2 all
    make[1]: Entering directory `/home/developer/projects/test_w64/build'
    /usr/bin/make -f CMakeFiles/test_w64.dir/build.make CMakeFiles/test_w64.dir/depend
    make[2]: Entering directory `/home/developer/projects/test_w64/build'
    /usr/bin/cmake -E cmake_progress_report /home/developer/projects/test_w64/build/CMakeFiles 1
    [ 33%] Generating test_w64.moc
    /usr/bin/moc @test_w64.moc_parameters
    cd /home/developer/projects/test_w64/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/developer/projects/test_w64 /home/developer/projects/test_w64 /home/developer/projects/test_w64/build /home/developer/projects/test_w64/build /home/developer/projects/test_w64/build/CMakeFiles/test_w64.dir/DependInfo.cmake --color=
    Scanning dependencies of target test_w64
    make[2]: Leaving directory `/home/developer/projects/test_w64/build'
    /usr/bin/make -f CMakeFiles/test_w64.dir/build.make CMakeFiles/test_w64.dir/build
    make[2]: Entering directory `/home/developer/projects/test_w64/build'
    /usr/bin/cmake -E cmake_progress_report /home/developer/projects/test_w64/build/CMakeFiles 2
    [ 66%] Building CXX object CMakeFiles/test_w64.dir/test_w64.cpp.obj
    compiling test_w64.cpp (g++)
    /usr/bin/cmake -E cmake_progress_report /home/developer/projects/test_w64/build/CMakeFiles 3
    [100%] Building CXX object CMakeFiles/test_w64.dir/main.cpp.obj
    compiling main.cpp (g++)
    Linking CXX executable test_w64.exe
    /usr/bin/cmake -E cmake_link_script CMakeFiles/test_w64.dir/link.txt --verbose=1
    /usr/bin/cmake -E remove -f CMakeFiles/test_w64.dir/objects.a
    /usr/bin/x86_64-w64-mingw32-ar cr CMakeFiles/test_w64.dir/objects.a @CMakeFiles/test_w64.dir/objects1.rsp
    linking test_w64.exe (g++)
    make[2]: Leaving directory `/home/developer/projects/test_w64/build'
    /usr/bin/cmake -E cmake_progress_report /home/developer/projects/test_w64/build/CMakeFiles 1 2 3
    [100%] Built target test_w64
    make[1]: Leaving directory `/home/developer/projects/test_w64/build'
    /usr/bin/cmake -E cmake_progress_start /home/developer/projects/test_w64/build/CMakeFiles 0
    *** Beendet ***


    Der unterschied ist der aufruf von cmake etc.
    Aber was muss ich da auf am openSuSE 13.1 im Kdevelop anpassen das es passt ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •