Registered Member
|
Hi - I thought I might test the waters and see what it takes to debug and modify a small subproject of KDE (APOD which is part of the Comic KDEPlasma-addons because A: it is not working right, and B: I figured it would be a good learning experience...)
I would also like to learn how to do this with the Eclipse IDE, and from what I can grok on the internet, it appears to be possible.. However, the documentation I can find appears to be out of date, i.e. it shows how to work with SVN repositories, and KDE seems to have moved on to using GIT repositories. Mind you, I am new to a LOT of the concepts and tools, nor am I an expert on Eclipse, just used it in the past to build some monolithic Java projects and never used it to develop C++ projects. (though I am familiar with C++ and have used it a lot in the past) Anywise, I am using the Indigo version of Eclipse on an x64 openSuSE system. I have installed both the EGIT and C/C++ Development Tools plugins. Using the EGIT perspective, and using the instructions shown at http://wiki.eclipse.org/EGit/User_Guide ... positories as a guide, I cloned the kdeplasma-addons repository, from git://anongit.kde.org/kdeplasma-addons outside of my Eclipse workspace, as suggested. This ended up at /home/marc/git/kdeplasma-addons So far all seems good and I figure the next step (based on past usage of Eclipse) was to checkout the project, so as to import it into my Eclipse workspace. Here I hit my first failure and am not sure how to do this.. I tried using the import wizard and experimented around with the various types of C++ project files but so far no joy in getting anything imported. So I could use a good pointer to a tutorial on how to import the KDEPlasma-addons project into the Eclipse workspace. I have done some further research and I am making a guess that perhaps I need to run cmake first in order to set up the git repository/working directory. (I am not familiar with cmake and have never used it before, just regular make files with C/C++ projects) To accomplish this, I tried to follow the instructions given on the webpage at http://techbase.kde.org/Getting_Started ... nvironment to set up the environment variables and create the scripts as suggested. Then I bravely tried to run the cmake command in the top level kdeplasma-addons directory. And I got the following output/error marc@bigbang:~/git/kdeplasma-addons> 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 /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/marc/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps Call Stack (most recent call first): CMakeLists.txt:5 (find_package) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! So I guess I am lost, wandering around in the dark somewhere and need some kind soul to guide me back into the light... Any takers? Much appreciated and thanks in advance.. Marc... |
Registered Member
|
All,
Running into the same problem while "simply" compiling amarok from the command line. Any tips/trics appreciated!! ========================================= arjan@arjanpc:~/src/amarok/source/amarok-2.4.90-Build> cmake ../amarok-2.4.90 -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -- 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 -- /home/arjan/src/amarok/source/amarok-2.4.90/cmake/modules -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Taglib found: -L/usr/lib64 -ltag -- Performing Test TAGLIB_ASF_FOUND -- Performing Test TAGLIB_ASF_FOUND - Success -- Performing Test TAGLIB_MP4_FOUND -- Performing Test TAGLIB_MP4_FOUND - Success -- Taglib-Extras found: -L/usr/lib64 -ltag-extras -- Performing Test COMPLEX_TAGLIB_FILENAME -- Performing Test COMPLEX_TAGLIB_FILENAME - Failed CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/arjan/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps Call Stack (most recent call first): CMakeLists.txt:86 (find_package) -- Configuring incomplete, errors occurred! arjan@arjanpc:~/src/amarok/source/amarok-2.4.90-Build> =================================
Thanks in advance,
Arjan ten Hoopen |
Registered Member
|
Just found it .. install the package kdebase4-workspace-devel package.
Thanks in advance,
Arjan ten Hoopen |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell