My problem is: CMake can't find OpenSceneGraph package,in spite the fact that it is installed. I tried re-installing it with yum,Furthermore, I do not even know where it is installed, but if I did, I might set up some environment variables to help CMake find it.I for it, and what I found are some libraries in /usr/lib64/, but only regarding osgdb (a part of osg), and directory /usr/lib64/osgPlugins-2.8.2, again filled with files prefixed with osgdb_ and osgWrapper_.Background:I have set up Fedora 11 system in a virtual machine(vbox), in order to be able to use valgrind for memory leak hunting on my project. This project is configured with CMake from the start - so it should be portable. osg is one of the used libraries - and now it makes problems. When I tried uninstalling osg with yum, osgdb_ libs remained behind. If I can completely remove osg, I can download source and compile it and install it by myself - I will try this if no one knows where osg gets installed.
I am attempting to compile some code on a cluster where I do not have root access (and is missing many of the libraries I want), and hence have had to create local builds of the boost and opencv libraries (i.e. in /home/username/usr/local). In particular, my cmake depends on:
Code:
find_package(boost)
which my normal development machine finds in:
Code:
/usr/share/cmake-2.6/Modules/FindBoost.cmake
On the cluster I have a version of FindBoost.cmake at:
Code:
/home/username/cmake_modules
How can I tell CMake to look for FindBoost.cmake in that directory, since neither the cmake file, nor the boost install is in the standard location? I've modified the FindBoost.cmake file to make it search in the locally installed boost libraries.
I'm trying to install Kicad from source but cmake gives me an error:"- Check for installed OpenGL -- not foundCMake Error at CMakeModules/CheckFindPackageResult.cmake:6 (message): OpenGL was not found - it is required to build Kicad "I have an Nvidia video card with the proprietary drivers installed.I also have glut, (glutg3) installed.I don't understand why cmake can't find OpenGL.
I've tried installing all packages that look like they have anything to do with GTK, but CMake still says "Some or all of the gtk libraries were not found. (missing: GTK2_GLIBCONFIG_INCLUDE_DIR)" and the build fails. What do I need to do to fix this?
P.S.: I'm running Natty. I couldn't find a board for problems with Natty, which is why I posted this here. If such a board exists, and you're a moderator/admin
I'm trying to install .tar.bz2 app. When I run cmake I get this error message: Code: -- Found KDE 4.4 include dir: /usr/include -- Found KDE 4.4 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE): Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindZLIB.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:15 (find_package) Configuring incomplete, errors occurred!
I'm trying to install Semantik 0.7.3 on OpenSUSE 11.2 and having difficulties with the dependencies. Here's the last message my terminal spit out on my attempt to start building:
--A whole bunch of stuff the forum apparently won't let me post because it thinks it's URLs and I'm too new--
error: could not open /usr/share/kde4/apps/cmake/modules/KDELibsDependencies.cmake --End
I'd had some problems with dependencies on the way to this message and installed gcc and g++ successfully to solve them. But now it's telling me can't find KDELibsDependencies.cmake. I've checked it out - it's not in the directory. After installing cmake, I'm kind of at the end of my wits - I just don't know where to look further.
Another hint that seems to be connected with it: As I was trying to install rkward 0.5.3 (also today) it had problems with cmake too:
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:84 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/erget/.kde4/share/apps;/usr/share/kde4/apps;/etc/kde4/share/apps Call Stack (most recent call first):
I'm trying to install libboost-all and libboost-all-dev, but it says the package couldn't be found! Any idea how to install this via putty now? Also, how can I update my cmake to 2.6.x ? it's at 2.4.7
I'm following the instructions here, to compile OpenSceneGraph that I got on DVDs purchased from Curtis Olsen. The instruction for this step goes like this.
-- 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
I'm trying to get Rigs of Rods working on Fedora, but I've run into problems. RoR uses wxGTK development version 2.9, but Fedora only uses the stable 2.8. When I compiled and installed wxGTK and other RoR depencies not available with yum, some installed to /usr/local/lib and not the CMake expected location /usr/lib64 (LD_DEBUG=libs /home/user/ror-trunk/bin/rorconfig) I had to add "CMAKE_CXX_FLAGS:STRING=-ldl" to CMakeCache.txt to get RoR to compile, and tried adding "CMAKE_LIBRARY_PATH:PATH=/usr/local/lib" and "wxWidgets_LIBRARIES:PATH=/usr/local/lib" to try and fix
ldd rorconfig | grep -i libwx libwx_baseu-2.9.so.1 => not found libwx_gtk2u_core-2.9.so.1 => not found libwx_gtk2u_html-2.9.so.1 => not found libwx_baseu_net-2.9.so.1 => not found libwx_gtk2u_adv-2.9.so.1 => not found
but it didn't work. ldconfig hasn't helped either.
This is probably an easy question but somehow I couldn't manage it to work.. I was testing the C++ WT library and I have a CMakeLists.txt file as below:
Overnight, I upgraded from KDE 4.5.1 to 4.6.3 and had a rude awakening this morning when I found that KDE had managed to, once again, break the Task Manager "force rows" behavior which had been fixed a few major releases ago. I found this lovely patch that had been applied:
[URL]
And thus broken the functionality, and I want to recompile that particular plasmoid with the patch removed. However, I am completely unfamiliar with CMake or building anything at all, for that matter. All my programming is done in PHP which means I'm pretty much completely lost. I'm in the midst of pulling down the kde-workspace tree with git, and already downloaded and modified a separate copy of the file in question to look the way it is supposed to. I don't want to rebuild all of KDE, just the one module.
I'm trying to compile an application and I'm getting "WARNING: This project requires version 2.6 of CMake. You are running version 2.4.7." How can I update the cmake version (I'm a total newbie @ linux)
I am trying to install cmake but got problem.Have in my tmp directory this file;cmake-2.6.4-7.el5.i386.rpm (and when use putty it is shown in red color)When using command;Quote:[root@system tmp]# su -c "yum install cmake*"I got following:Quote:
Loading "protect-packages" plugin base-kernels | 951 B 00:00
cmake appears to be finding libraries that no longer exist.I am trying to build OpenCV, and cmake is finding libraries for FFMPEG i.e. libavcodec,libavfilter and libswscale etc. These files used to exist, but were uninstalled from my system. OpenCV still appears to think these files exist, so where is it looking ?
I'm new to CMake, and I got a few warnings after running a 'configure' file, which I don't really understand.I was hoping someone could tell me if they are real problems of if I can just ignore them. Here is the output I got:
Code: [root@linux khtml2png-2.7.6]# ./configure rm: cannot remove `cmake_install.cmake': No such file or directory
I'm creating a static lib via cmake,and when I view the .a binary file with less/more/cat I see functions from my time_tools.c, but not my other_api.c The directories structure is:
shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash for files in /home/user/* do
When trying to compile Armadillo on a computer cluster I get the following error after running "cmake ." (works OK) and "make":
/usr/bin/ld: /share/apps/opt_intel/lib/libblas.a(dgemm.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /share/apps/opt_intel/lib/libblas.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libarmadillo.so.1.0.2] Error 1 make[1]: *** [CMakeFiles/armadillo.dir/all] Error 2 make: *** [all] Error 2
Cmake says it has successfully found BLAS, but there is still a linking problem.
I am trying to install opencv on ubuntu. I have been following the directions exactly as given in the readme, and all goes well until I enter sudo make install, and get this error:
CMake Error at cmake_install.cmake:61 (FILE): file Internal CMake error when trying to open file: /home/iochinome/workspace/trunk/opencv/release/install_manifest.txt for writing.
[URL]...Now it works in Windows platform. Some functions rely on win-specific code and need to cross-platform alternatives. Can some one help to build chain(make or cmake) for this awesome project? any one can compile the Linux generator and transfer the project under *nix platform.
There is this slackbuild in which I have changed the part in bold.
Code: #!/bin/sh # Packager GioPower, luca.gio.85~at~gmail~dot~com # VTK (Visualization Toolkit) # # The Visualization Toolkit (VTK) is an open-source, freely available
[Code]...
This will still drop stuff into /usr/lib, which is clearly anti Slackware64... I do not know enough of cmake builds, which flag do I have to pass in the slackbuild for cmake to drop stuff in /usr/lib64...?
relative n00b to C++ but I have heard that KDevelop rocks so I am using it as my IDE. what does it mean when it wants me to find a cmake file? idk what that is lol, just got through the section on if statements on my book. where do i find this file? are there any good tutorials on the KDevelop4 Enviroment?
Going from Fedora 12 to 13. Got to the point where I have to reboot to install, system reboots to 12. This is a triple boot system with Open Suse and Mint, and the grub2 bootloader from Mint is the bootloader for the whole shebang. In the "how to use preupgrade" instructions there's a line that says "dentify the drive and partition of your Fedora /boot folder." How? If that sounds odd, consider that in my set up "computer" shows 4 partitions (and with just three operating systems..?). I can mount them, but have a problem telling which sytem is Fedora, Suse or Mint. And getting the FEDORA bootloader to find the PREUPGRADE kernel ... Momma said there'd be days like this.
cat /etc/fstab just returned /dev/sda1 on /boot. I installed Fedora first, before Suse or Mint, so being on the first drive or partition sounds right, but the multiple drives throws me, and "just guessing" doesn't seem like the way to go.
After upgrading to a new release (Fedora 12, for example), I can no longer reach most of the Web through my browser (Firefox) or mail client (Thunderbird). I've tried running a Live! installation, installing clean from a DVD, and running preupgrade from my working Fedora 10 system, always with the same result -- I can reach a few of the Fedora pages (main, documentation, some others), but nothing else (Google, for example).
What's maddening is that I know I have a good connection, because I can perform a software update, install new software, etc., but only strictly Fedora-related activities; also, I can ping www.google.com and get a good response, so I know the DNS services are working to some extent. But neither Firefox nor Thunderbird can use them in any useful way.