Re: K3B burning problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/06/2011 05:10 AM, Rex Dieter wrote:
david walcroft wrote:

Thanks john,
I downloaded the K3B-2.0.2 tar file to see if that would make a
difference but ran into more problems with 'cmake'--

[david@reddwarf build]$ cmake ..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.
    Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not
found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at icons/actions/CMakeLists.txt:1 (kde4_install_icons):
    Unknown CMake command "kde4_install_icons".

I have never used cmake before so I do not understand what is required.

You have no compiler installed.  if You really want to build this, I'd
suggest: (as root):

yum install @development-tools
then
yum-builddep k3b

-- rex

Thanks rex,it worked well downloaded all the files but ran into another problem of which I can not fix :-
[david@reddwarf ~]$ cd tmp/k3b-2.0.2/build
[david@reddwarf build]$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at icons/actions/CMakeLists.txt:1 (kde4_install_icons):
  Unknown CMake command "kde4_install_icons".

I checked, ls icons/actions/CMakeFiles/ 'CMakefiles' is all thats in that dir.
I have included as an attachment the 'CMakeLists.txt'

Thanks  david


project(k3b_src)

cmake_minimum_required(VERSION 2.8)

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${libk3b_BINARY_DIR}
  ${libk3b_SOURCE_DIR}/core
  ${libk3b_SOURCE_DIR}/plugin
  ${libk3b_SOURCE_DIR}/tools
  ${libk3b_SOURCE_DIR}/projects
  ${libk3b_SOURCE_DIR}/projects/audiocd
  ${libk3b_SOURCE_DIR}/projects/datacd
  ${libk3b_SOURCE_DIR}/projects/videocd
  ${libk3b_SOURCE_DIR}/projects/mixedcd
  ${libk3b_SOURCE_DIR}/projects/movixcd/
  ${libk3b_SOURCE_DIR}/projects/videodvd/
  ${libk3b_SOURCE_DIR}/jobs
  ${libk3b_SOURCE_DIR}/videodvd
  ${libk3b_BINARY_DIR}/core
  ${libk3b_BINARY_DIR}/plugin
  ${libk3b_BINARY_DIR}/tools
  ${libk3b_BINARY_DIR}/projects
  ${libk3b_BINARY_DIR}/jobs
  ${CMAKE_CURRENT_SOURCE_DIR}/projects
  ${CMAKE_CURRENT_SOURCE_DIR}/projects/kostore/
  ${libk3b_SOURCE_DIR}/cddb
  )

add_subdirectory( pics )
add_subdirectory( icons )
add_subdirectory( services )


########### next target ###############

set(k3b_project_SRCS
  projects/k3baudioburndialog.cpp 
  projects/k3baudiocdtextwidget.cpp 
  projects/k3baudioeditorwidget.cpp 
  projects/k3baudiotrackdialog.cpp 
  projects/k3baudiotrackwidget.cpp 
  #projects/k3baudiotrackplayer.cpp 
  projects/k3baudiotracksplitdialog.cpp 
  projects/k3baudiotrackview.cpp 
  projects/k3baudioview.cpp 
  projects/k3baudioviewimpl.cpp 
  projects/k3baudioprojectmodel.cpp 
  projects/k3bmixedburndialog.cpp 
  projects/k3bmixedview.cpp 
  projects/k3bmixedprojectmodel.cpp
  projects/k3bdataadvancedimagesettingsdialog.cpp 
  projects/k3bdatadirtreeview.cpp 
  projects/k3bdatafileview.cpp 
  projects/k3bdataimagesettingswidget.cpp 
  projects/k3bdatapropertiesdialog.cpp 
  projects/k3bdataview.cpp 
  projects/k3bdataviewimpl.cpp 
  projects/k3bdatavolumedescdialog.cpp 
  projects/k3bdataburndialog.cpp 
  projects/k3bdataprojectmodel.cpp
  projects/k3bbootimagedialog.cpp 
  projects/k3bbootimageview.cpp 
  projects/k3bmovixburndialog.cpp 
  projects/k3bmovixoptionswidget.cpp 
  projects/k3bmovixview.cpp 
  projects/k3bmovixprojectmodel.cpp
  projects/k3bvideodvdburndialog.cpp 
  projects/k3bvideodvdview.cpp 
  projects/k3bvcdburndialog.cpp 
  projects/k3bvcdtrackdialog.cpp 
  projects/k3bvcdview.cpp 
  projects/k3bvcdprojectmodel.cpp
  projects/k3bfillstatusdisplay.cpp 
  projects/k3bview.cpp 
  projects/k3bstandardview.cpp 
  projects/k3bdirproxymodel.cpp 
  projects/k3bprojectburndialog.cpp 
  projects/k3bprojectplugindialog.cpp 
  projects/k3bdatamultisessioncombobox.cpp 
  projects/k3bdataurladdingdialog.cpp 
  projects/k3baudiodatasourceeditwidget.cpp 
  projects/k3baudiotrackaddingdialog.cpp 
  projects/k3bencodingconverter.cpp 
  projects/k3bdatamultisessionimportdialog.cpp
  projects/k3bvolumenamewidget.cpp
  )

kde4_add_ui_files(k3b_project_SRCS
  projects/base_k3baudiocdtextwidget.ui
  projects/base_k3bbootimageview.ui
  projects/base_k3badvanceddataimagesettings.ui
  projects/base_k3baudiocdtextallfieldswidget.ui
  projects/base_k3bdataimagesettings.ui
  projects/base_k3bdatavolumedescwidget.ui
  projects/base_k3baudiotrackwidget.ui
  projects/base_k3bmovixoptionswidget.ui
  )

set(k3b_kostore_SRCS
  projects/kostore/KoStore.cpp
  projects/kostore/KoZipStore.cpp 
  projects/kostore/KoStoreBase.cpp
  )

set(k3b_rip_SRCS
  rip/k3baudioripjob.cpp
  rip/k3bpatternparser.cpp 
  rip/k3baudiorippingdialog.cpp 
  rip/k3baudiocdview.cpp 
  rip/k3bcddbpatternwidget.cpp 
  rip/k3bvideocdinfo.cpp 
  rip/k3bvideocdview.cpp 
  rip/k3bvideocdrip.cpp 
  rip/k3bvideocdrippingdialog.cpp 
  rip/k3bcuefilewriter.cpp 
  rip/k3baudioconvertingoptionwidget.cpp 
  rip/k3baudioprojectconvertingdialog.cpp 
  rip/k3baudioprojectconvertingjob.cpp 
  rip/categories.cpp
  rip/k3baudiotrackmodel.cpp
  rip/k3bviewcolumnadjuster.cpp
  )

kde4_add_ui_files(k3b_rip_SRCS
  rip/base_k3baudiorippingoptionwidget.ui
  rip/base_k3bcddbpatternwidget.ui
  )

set(k3b_option_SRCS
  option/k3bmiscoptiontab.cpp 
  option/k3bexternalbinoptiontab.cpp 
  option/k3badvancedoptiontab.cpp 
  option/k3boptiondialog.cpp 
  option/k3bdeviceoptiontab.cpp 
  option/k3bnotifyoptiontab.cpp 
  option/k3bpluginoptiontab.cpp 
  option/k3bthemeoptiontab.cpp 
  option/k3bdevicewidget.cpp 
  option/k3bexternalbinwidget.cpp
  option/k3bcddboptiontab.cpp
  )

kde4_add_ui_files(k3b_option_SRCS
  option/base_k3bthemeoptiontab.ui
  option/base_k3bmiscoptiontab.ui
  option/base_k3bpluginoptiontab.ui
  )

set(k3b_misc_SRCS
  misc/k3bimagewritingdialog.cpp 
  misc/k3bmediacopydialog.cpp 
  misc/k3bmediaformattingdialog.cpp
  )

set(k3b_SRCS
  k3bwelcomewidget.cpp 
  k3bapplication.cpp 
  k3bdevicedelegate.cpp
  k3bmediumdelegate.cpp
  k3bmetaitemmodel.cpp
  k3bplacesmodel.cpp
  k3bdiroperator.cpp 
  k3bfiletreeview.cpp 
  k3bprojecttabwidget.cpp 
  k3bsplash.cpp 
  k3bfileview.cpp 
  k3bdirview.cpp 
  k3b.cpp 
  main.cpp 
  k3bstatusbarmanager.cpp 
  k3burlnavigator.cpp
  #k3binterface.cpp 
  #k3bjobinterface.cpp 
  #k3bprojectinterface.cpp 
  #k3bdataprojectinterface.cpp 
  k3bsystemproblemdialog.cpp 
  k3bmediacontentsview.cpp 
  k3bcontentsview.cpp 
  k3bjobprogressdialog.cpp 
  k3bburnprogressdialog.cpp 
  k3btempdirselectionwidget.cpp 
  k3bdatamodewidget.cpp 
  k3bwritingmodewidget.cpp 
  k3bwriterselectionwidget.cpp 
  k3binteractiondialog.cpp 
  k3bthememanager.cpp 
  k3bprojectmanager.cpp 
  #k3baudioprojectinterface.cpp 
  #k3bmixedprojectinterface.cpp 
  k3bflatbutton.cpp 
  k3bemptydiscwaiter.cpp 
  k3bjobprogressosd.cpp 
  k3bdebuggingoutputcache.cpp 
  k3bdebuggingoutputdialog.cpp 
  k3bdebuggingoutputfile.cpp 
  k3bappdevicemanager.cpp 
  k3bmediaselectioncombobox.cpp 
  k3bwidgetshoweffect.cpp 
  k3bmediaselectiondialog.cpp 
  k3bdiskinfoview.cpp 
  k3bpassivepopup.cpp 
  k3btimeoutwidget.cpp 
  k3bminibutton.cpp 
  k3bthemedheader.cpp 
  k3bthemedlabel.cpp 
  k3blsofwrapper.cpp 
  k3blsofwrapperdialog.cpp 
  k3baction.cpp
  k3bdevicemenu.cpp
  )

set(k3b_bin_SRCS 
  ${k3b_option_SRCS}
  ${k3b_misc_SRCS}
  ${k3b_project_SRCS}
  ${k3b_kostore_SRCS}
  ${k3b_rip_SRCS}
  ${k3b_SRCS}
)

if(ENABLE_DVD_RIPPING)
  set(k3b_videodvd_SRCS
    rip/videodvd/k3bvideodvdrippingview.cpp 
    rip/videodvd/k3bvideodvdrippingjob.cpp 
    rip/videodvd/k3bvideodvdrippingwidget.cpp 
    rip/videodvd/k3bvideodvdrippingdialog.cpp 
    rip/videodvd/k3bvideodvdrippingpreview.cpp
    rip/videodvd/k3bvideodvdtitledelegate.cpp
    rip/videodvd/k3bvideodvdtitlemodel.cpp
    )

  kde4_add_ui_files(k3b_videodvd_SRCS
    rip/videodvd/base_k3bvideodvdrippingwidget.ui)

  set(k3b_bin_SRCS
    ${k3b_bin_SRCS}
    ${k3b_videodvd_SRCS}
    )
endif(ENABLE_DVD_RIPPING)

if(ENABLE_MUSICBRAINZ)
  set(k3b_SRCS
    ${k3b_SRCS}
    k3btrm.cpp 
    k3bmusicbrainz.cpp 
    )
  set(k3b_project_SRCS
    ${k3b_project_SRCS}
    projects/k3bmusicbrainzjob.cpp 
    projects/k3bmusicbrainztrackloopupjob.cpp 
    projects/k3baudiotracktrmlookupdialog.cpp 
    )
endif(ENABLE_MUSICBRAINZ)

#kde4_add_dcop_skels(k3b_SRCS );
MESSAGE(STATUS "DCOP stuff was remove into kde4, convert it to dbus please.kde4_add_dcop_skels macro doesn't exist now. We keep it just to remember to port to dbus")

#k3binterface.h 
#k3bjobinterface.h 
#k3bprojectinterface.h 
#k3bdataprojectinterface.h 
#k3baudioprojectinterface.h 
#k3bmixedprojectinterface.h )

kde4_add_app_icon(k3b_bin_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/icons/hi*-app-k3b.png)

if (MSVC)
    # msvc creates importlibs by default also for executables when symbols are exported.
    # Because the output name of the executable is the same as one of the used library (k3b)  creating 
    # the importlibrary fails with LINK : fatal error LNK1149: output filename matches input filename
    # we worked around this issue by using a different name for the unused import library created by the linker
    string(REPLACE "/implib:<TARGET_IMPLIB>" "/implib:<TARGET_IMPLIB>_" CMAKE_CXX_LINK_EXECUTABLE ${CMAKE_CXX_LINK_EXECUTABLE})
endif (MSVC)

kde4_add_executable(k3b_bin ${k3b_bin_SRCS})

set_target_properties(k3b_bin PROPERTIES OUTPUT_NAME k3b)

target_link_libraries(k3b_bin
  k3bdevice
  k3b
  ${KCDDB_LIBRARIES}
  ${KDE4_KFILE_LIBS}
  ${KDE4_KIO_LIBS}
  ${KDE4_KPARTS_LIBS}
  ${KDE4_KNOTIFYCONFIG_LIBS}
  ${KDE4_KUTILS_LIBS}
  ${KDE4_KDE3SUPPORT_LIBS}
  ${KDE4_SOLID_LIBS}
  ${QT_QTWEBKIT_LIBRARY}
  ${X11_LIBRARIES}
  )

if(ENABLE_MUSICBRAINZ)
  target_link_libraries(k3b_bin ${MUSICBRAINZ_LIBRARIES})
endif(ENABLE_MUSICBRAINZ)

install(TARGETS k3b_bin ${INSTALL_TARGETS_DEFAULT_ARGS})


########### install files ###############

install( FILES  k3b.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
#install( FILES  k3b-iso.desktop k3b-cue.desktop DESTINATION ${APPLNK_INSTALL_DIR}/.hidden/ )
install( FILES  k3bui.rc k3bdeviceui.rc k3b.notifyrc tips DESTINATION ${DATA_INSTALL_DIR}/k3b )

set( SHARED_MIME_INFO_MINIMUM_VERSION "0.23" )
find_package( SharedMimeInfo REQUIRED )
install( FILES x-k3b.xml DESTINATION ${XDG_MIME_INSTALL_DIR} )
update_xdg_mimetypes( ${XDG_MIME_INSTALL_DIR} )
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux