|
Hi,
I have compiled KDE trunk on my new laptop and after compiling and installing marble, I still get this error when compiling libkmap: aditya@aditya-laptop:~/kde/src/branches/extragear/graphics/libkmap$ cmakekde
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake) -- Found X11: /usr/lib/libX11.so -- Found KDE 4.5 include dir: /home/aditya/kde/include -- Found KDE 4.5 library dir: /home/aditya/kde/lib
-- Found the KDE4 kconfig_compiler preprocessor: /home/aditya/kde/bin/kconfig_compiler -- Found automoc4: /home/aditya/kde/bin/automoc4 CMake Error at CMakeLists.txt:38 (FIND_PACKAGE): Could not find module FindMarbleWidget.cmake or a configuration file for
package MarbleWidget. Adjust CMAKE_MODULE_PATH to find FindMarbleWidget.cmake or set MarbleWidget_DIR to the directory containing a CMake configuration file for MarbleWidget. The file will have one of the following names:
MarbleWidgetConfig.cmake marblewidget-config.cmake -- Found Kexiv2 library in cache: /home/aditya/kde/lib/libkexiv2.so
-- Configuring incomplete, errors occurred! make: *** No targets specified and no makefile found. Stop. --- Turns out that marble installs this: -- Up-to-date: /home/aditya/kde/share/apps/cmake/modules/FindMarble.cmake
But I don't see it installing either MarbleWidgetConfig.cmake or marblewidget-config.cmake. Can anyone using KDE trunk help me out? _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
> CMake Error at CMakeLists.txt:38 (FIND_PACKAGE): > Could not find module FindMarbleWidget.cmake or a configuration file for > package MarbleWidget. > > Adjust CMAKE_MODULE_PATH to find FindMarbleWidget.cmake or set > MarbleWidget_DIR to the directory containing a CMake configuration file > for > MarbleWidget. The file will have one of the following names: > > MarbleWidgetConfig.cmake > marblewidget-config.cmake > > Turns out that marble installs this: > -- Up-to-date: /home/aditya/kde/share/apps/cmake/modules/FindMarble.cmake > > But I don't see it installing either MarbleWidgetConfig.cmake or > marblewidget-config.cmake. > > Can anyone using KDE trunk help me out? I dont think you need one of the ...Config.cmake files, that's only an automatic suggestion. I see this file in my installation (not trunk): /usr/share/kde4/apps/cmake/modules/FindMarbleWidget.cmake _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
Hmm,
The marble from trunk doesn't seem to install FindMarbleWidget.cmake. When I run: aditya@aditya-laptop:~/kde/src/trunk/KDE/kdeedu/marble$ cmakekde | grep .cmake
I get this when it installs marble: -- Up-to-date: /home/aditya/kde/share/apps/cmake/modules/FindMarble.cmake It installs only one Find....cmake file.
_______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Marcel Wiesweg
I think this cmake script is installed with kdeedu component...
http://websvn.kde.org/trunk/KDE/kdeedu/cmake/modules/FindMarbleWidget.cmake?revision=1027865&view=markup Gilles 2010/7/5 Marcel Wiesweg <[hidden email]>: > >> CMake Error at CMakeLists.txt:38 (FIND_PACKAGE): >> Could not find module FindMarbleWidget.cmake or a configuration file for >> package MarbleWidget. >> >> Adjust CMAKE_MODULE_PATH to find FindMarbleWidget.cmake or set >> MarbleWidget_DIR to the directory containing a CMake configuration file >> for >> MarbleWidget. The file will have one of the following names: >> >> MarbleWidgetConfig.cmake >> marblewidget-config.cmake >> >> Turns out that marble installs this: >> -- Up-to-date: /home/aditya/kde/share/apps/cmake/modules/FindMarble.cmake >> >> But I don't see it installing either MarbleWidgetConfig.cmake or >> marblewidget-config.cmake. >> >> Can anyone using KDE trunk help me out? > > I dont think you need one of the ...Config.cmake files, that's only an > automatic suggestion. > I see this file in my installation (not trunk): > /usr/share/kde4/apps/cmake/modules/FindMarbleWidget.cmake > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Aditya Bhatt
Ok, I solved it.
I got FindMarbleWidget.cmake from kdeedu/cmake/modules and just copied it to usr/share/(something where .cmake files are kept), now it works.
On Mon, Jul 5, 2010 at 5:09 PM, Aditya Bhatt <[hidden email]> wrote: Hmm, -- Aditya Bhatt Blog : http://adityabhatt.wordpress.com Bitbucket: http://bitbucket.org/aditya_bhatt Face Recognition Library : http://libface.sourceforge.net _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
