Software :: Cmake Finding Libraries That Don't Exist?

Jun 4, 2011

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 ?

View 4 Replies


ADVERTISEMENT

Programming :: Cmake: Using Find_package(Boost) When FindBoost.cmake Is Not In The Default Location?

Feb 23, 2010

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.

[code]....

View 3 Replies View Related

Software :: Finding C++ Libraries For Windows Version Of NetBeans?

Apr 19, 2010

I have installed NetBeans on Windows7 with c++ enabled but I can not write c++ code because it doesn't have c++ libraries. I have installed netBeans on my Fedora and in there it works fine because there is c++ libraries built with it. My questions are, Where is c++ libraries on Fedora (The destination)? Can c++ libraries in linux be copied to Windows? Will it work? If yes how? If not where can I download c++ libraries to windows7?

View 2 Replies View Related

Ubuntu :: Finding Folders - Extracting Files - Permission - Directory Does Not Exist

Aug 28, 2010

new to ubuntu and linux, and using Lucid 10.04 LTS ok, i'm trying to get XBMC going, and following a nice step by step instruction on wiki.xbmc.org, but now i'm stuck at this step... In Ubuntu the SVN Repositories are not automatically added. You must add them manually. First, download the SVN Repo Installer from: [URL] Extract it to the ~/.xbmc/plugins/programs directory. If this directory does not exist, run XBMC one time and then exit back to Ubuntu. The directory should now exist.

i ran xbmc once (after the video driver problem was solved, though it messed up my dual monitors, gotta figure that one out yet.) i got the zip file, it's in my downloads. now my newbness really shows... i can't find an 'extract' command for gnome, can't find the .xbmc directory using the file browser, can't figure out how to hunt for folders instead of files, and don't know how to look inside folders i don't have permission to, that is, i don't know if there's a 'sudo' like option for the file browser. i've been searching the forums, but without the correct search terms, i'm wading in an ocean. i really want to give ubuntu an honest try, but i feel like a foreigner. EDIT: btw, up to this point, the forums have been invaluable, you all are great.

View 2 Replies View Related

General :: Use Always The Latest Versions Of The Libraries And Don't Save The Old Libraries For Compatibility?

May 11, 2011

Why many Linux distros are trying to use always the latest versions of the libraries and don't save the old libraries for compatibility? I mean, I can see libtiff for example, i can found a libtiff.so.5 on my /usr/lib, but doesn't store a libtiff.so.4 or 3 just for binary applications or games. For this example, I need libtiff.so.4 for uplink.

That should happen too on the old version of sims for linux, some ID games or others.What's wrong with storing old libraries? PD: Yay, my first post on 3 years!

View 6 Replies View Related

General :: Using Dynamic Libraries As Static Libraries?

May 6, 2010

Is there any way to use a dynamic libraries as a static libraries instead when compiling, so that my resulting executable won't have them as dependencies?

View 3 Replies View Related

Programming :: How To Set RPATH In CMake

Jun 2, 2010

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:

Code:
ADD_EXECUTABLE(heloooo.wt
hello.C
)
SET(CMAKE_SKIP_BUILD_RPATH FALSE)

[Code]....

What am i doing wrong, I don't want to use the LD_LIBRARY_PATH, but to get the executable find the library with rpath when run?

View 7 Replies View Related

Ubuntu :: CMake Can't Find OpenGL?

Oct 4, 2010

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.

View 9 Replies View Related

Ubuntu :: CMake Can't Find GTK2_GLIBCONFIG_INCLUDE_DIR

Apr 4, 2011

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

View 1 Replies View Related

Fedora :: CMake Can Not Find OpenSceneGraph?

Jan 20, 2010

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.

View 2 Replies View Related

Programming :: Building One KDE Component With CMake?

Jun 21, 2011

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.

View 2 Replies View Related

Fedora X86/64bit :: CMake Installed Location Changes

Aug 16, 2011

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.

View 2 Replies View Related

Ubuntu :: Running CMake - Could Not Find ZLIB

Aug 28, 2010

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!

View 2 Replies View Related

Ubuntu Installation :: Update Cmake Via Putty?

Feb 20, 2011

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)

View 9 Replies View Related

General :: Install Cmake (Distr Centos 5)

Apr 10, 2011

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

[code]....

View 14 Replies View Related

Software :: CMake Warnings (setting Up Khtml2png)?

Jan 25, 2010

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

[code]....

View 2 Replies View Related

Programming :: Cmake - Unable To Add Object To Static Lib

Nov 3, 2010

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:

Code:

CMakeLists.txt
time/CMakeLists.txt
time/time_tools.c
time/time_tools.h

[code]....

View 2 Replies View Related

Programming :: Tool To Convert Configure.ac Into CMake?

Feb 18, 2010

Is there any tool to translate rules from configure.ac into Cmake rules?

View 3 Replies View Related

Ubuntu :: Avidemux Install Cmake. Gives Msgfmt Not Found?

Oct 15, 2010

I am trying to compile Avidemux 2.4.4 from the folder where it is installed.When I type cmake. for compiling it is showing this errorQuote:

CMake Error at cmake/Po.cmake:11 (MESSAGE):
msgfmt not found - po files can't be processed
Call Stack (most recent call first):

[code]....

View 2 Replies View Related

SUSE :: Semantik Won't Install: Couldn't Find Cmake

Jun 26, 2010

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):

[Code]....

View 7 Replies View Related

Software :: Armadillo Compilation - Getting Error After Running Cmake

Feb 2, 2011

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.

View 3 Replies View Related

Programming :: Cmake - Using Header Files In Higher Directories ?

Nov 1, 2010

Say I have a directory structure:

And other.c has:

How do I setup the CMakeFiles.txt files in each directory, so the executable "program" (from program.c) is created.

Currently I get the error:

View 1 Replies View Related

Ubuntu :: Installing OpenCV - File Internal CMake Error

Mar 18, 2010

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.

View 3 Replies View Related

General :: E: Couldn't Find Package Libboost-all And Cmake Update?

Feb 20, 2011

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

View 11 Replies View Related

Programming :: Build Chain (make Or Cmake) For *nix_Movemap Project?

Jun 29, 2010

[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.

View 1 Replies View Related

Slackware :: Hack A Slackbuild Of A Cmake Project To Comply With Slackware64?

Jan 13, 2010

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...?

View 2 Replies View Related

Software :: Installing Cmake - No Native Data Type Can Represent A 16-bit Integer?

Nov 3, 2010

I'm trying to install cmake. After bootstraping/configuring I try to make and I get the following output:

Code:
% make
Scanning dependencies of target cmsys

[code]....

View 5 Replies View Related

Ubuntu :: KDevelop4 Asks For Cmake File In Order To Finish Creating C++ Project?

Jan 4, 2010

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?

Charlie

View 2 Replies View Related

Ubuntu :: XSBS Cmake Fails With "Could NOT Find PythonLibs"

Jun 20, 2010

I am trying to build the XSBS source code with cmake [URL] but it fails to find PythonLibs with this error:

Code:
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Call Stack (most recent call first):

[Code].....

View 4 Replies View Related

Programming :: Libpqxx Not Found - Compile Software Application- Giving "cmake" Command

Apr 8, 2010

While trying to compile one of the software application I am giving "cmake ." command but getting the below error :

I have downloaded "libpqxx-3.0.2" and have installed it.

libpqxx.a and libpqxx.la have got installed under /usr/local/lib.

Why am I still getting this error?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved