Home > source directory > cmake error the source directory does not exist

Cmake Error The Source Directory Does Not Exist

Contents

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring cmake error the source directory is a file not a directory developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask cmake debug flags Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join opencv cmake error the source directory does not exist them; it only takes a minute: Sign up CMake does not find the source directory (installing Eigen) up vote 0 down vote favorite I was installing the library Eigen on Ubuntu. I followed the instructions by creating a "build the source directory does not exist sccm 2012 directory" alongside the downloaded source directory. That is, I have two directories: eigen-eigen-1306d75b4a21 for source, and an empty eigen-build for build. Then I did: cd eigen-build cmake ../eigen-eigen-1306d75b4a21/ sudo make install An error occurred immediately after make install and it stops the installation: CMake Error: The source directory "/home/username/something/eigen-eigen-1306d75b4a21" does not exist. Obviously the directory exists. What is wrong with my CMake? (I don't know much about CMake. I observed some warnings during the second step, saying lots of

Cmake Source Directory

things such as Qt4 are missing, but I don't think this is the cause, because of what the error message suggests.) cmake eigen eigen3 share|improve this question edited Oct 27 '14 at 14:12 asked Oct 27 '14 at 12:35 klkh 7315 so your build directory is /home/username/something/eigen-build? Did CMake complain about anything? –Johannes S. Oct 28 '14 at 12:47 are you shure this is not some kind of permissions error? –niklasfi Oct 29 '14 at 7:12 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Probably your directory does not include the CMakeLists.txt file. share|improve this answer answered Oct 27 '14 at 12:38 Claudio 5,67311242 1 The source directory does have the CMakeLists.txt file. –klkh Oct 27 '14 at 14:08 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged cmake eigen eigen3 or ask your own question. asked 1 year ago viewed 3077 times active 1 year ago Related 16CMake Can't find Eigen37Find package Eigen3 for CMake0Finding directories in CMake1Trouble including files from subdirectories in Cmake0Avoid CMake s

for"Visual Studio 9 2008 Win64" as the build target.Keep getting a---------------------------CMake Error: The source directory "./build/CMakeFiles/CMakeTmp" does notexist.Specify --help for usage, or press the help button on the CMake GUI.---------------------------but when I look, the directory is there;

Cmake Error The Source Directory Does Not Appear To Contain Cmakelists Txt

it does exist. Got the nightlybuild to see what could be the problem cmake build directory or if the issue has already beencaught and fixed. Yet get the same issue trying to setup the build forcmake [Was cmake command line also going to try to compile cmake for 64 bit machines].The project root is ./ and the build folder is ./build. Bill Hoffman 2008-09-23 20:34:49 UTC PermalinkRaw Message Post by Roger MartinHi,I'm trying http://stackoverflow.com/questions/26587715/cmake-does-not-find-the-source-directory-installing-eigen to build a build with cmake-2.6.1-win32-x86 CMakeSetup for"Visual Studio 9 2008 Win64" as the build target.Keep getting a---------------------------CMake Error: The source directory "./build/CMakeFiles/CMakeTmp" does notexist.Specify --help for usage, or press the help button on the CMake GUI.---------------------------but when I look, the directory is there; it does exist. Got the nightlybuild to see what could be the problem or if the issue has already beencaught and fixed. Yet http://cmake.cmake.narkive.com/vZvjXUUE/cmake-error-the-source-directory-build-cmakefiles-cmaketmp-does-not-exist get the same issue trying to setup the build forcmake [Was also going to try to compile cmake for 64 bit machines].The project root is ./ and the build folder is ./build.Could this be some sort of path length issue? What is "."?Also, can you build a very simple project:c:/foo/CMakeLists.txtadd_library(foo foo.c)Run CMakeSetup and set source to c:/foo and build to c:/foo/build.-Bill Roger Martin 2008-09-23 20:58:52 UTC PermalinkRaw Message Setting the full path fixes it. I'm wondering, on relative paths, if thecmake home/bin directory is the root.Yes, ./ is the current directory of the project from where I run a cmdscript.------------With the paths fixed as you pointed out, I then get an error dialog with ...The C compiler "C:/Program Files (x86)/Microsoft Visual Studio9.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program....But by hand-build-environment, I can compile and link a 64 bit program withcl.exe and the Windows SDKI use Netbeans and Visual C++ 2008 Express IDE's.But for some complex projects such as http://www.openscenegraph.org CMake isthe right tool.Post by Bill HoffmanPost by Roger MartinHi,I'm trying to build a build with cmake-2.6.1-win32-x86 CMakeSetup for"Visual Studio 9 2008 Win64" as the build target.Keep getting a---------------------------CMake Error: The source directory "./build/CMakeFiles/CMakeTmp" does notexist.Specify --help fo

queryIssue summary - OpenCV 2.4.10- OpenCV 3.0- VOLUNTEER! (easy tasks)-- Your tasks-- Your watches--- Bugfixes (please prefer GitHub pull requests)--- Bugs--- Features--- Patches (please prefer GitHub pull requests)Category = documentationDuty - Category = NoneDuty - http://code.opencv.org/issues/3055 New tasksDuty - Newly created (7 days)Duty - Recently updated (7 days)Hackathon List Wiki Index by titleIndex by date Repository Issues Watchers (1) Howard Pautz Docs: linux install example broken - or at least http://opencv-users.1802565.n2.nabble.com/openCV-installation-problem-td5129843.html vague ? (Feature #3055) Added by Howard Pautz over 3 years ago. Updated over 3 years ago. Status:Cancelled Start date:2013-05-29 Priority:Normal Due date: Assignee:Howard Pautz % Done:0% Category:documentation Target version:2.4.6 Difficulty: Pull request: Description source directory Unworking / untested example ? Please have someone read this stuff who has never done the install, and you will soon see why many of us get lost so fast ! http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation Specifically these lines near bottom of page: For example cd ~/opencvmkdir releasecd releasecmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local That last line generates a useless, garbage path. e.g, on two of my machines (Fedora and Ubuntu): CMake Error: the source directory The source directory "/home/opencv/release/CMAKE_INSTALL_PREFIX=/usr/local" does not exist. Also, going back up the page just a bit, note the lines which read: Enter the and type cmake [] I had to read that several times, before I realized it is impossible to understand it - because no where does it say where the OpenCV source directory is, not to mention if those "optional parameters" are used in the following steps, e.g. is "-D CMAKE_BUILD_TYPE=RELEASE" an optional parm, or perhaps "-D CMAKE_INSTALL_PREFIX=/usr/local" is, or maybe just the 'usr/local' part is optional, or maybe those are required and mention is just made of optional items that are not used in this example. Or is -D all part of the OpenCV path, which the error I got seems to indicate. ( Perhaps Give ONE that is fully clear, simple, and working, then later or on another page, give more optional examples. We don't want to read the entire CMake manual to get one sample code working ! ) Another confusing item is the inconsistent

1. 2. 3. hmmm, would that be 2 or some other ?4. CMAKE_INSTALL_PREFIX=

as Inappropriate ♦ ♦ openCV installation problem Hi, all ; i tried to install my openCV source code package on my fedora12 but it did not work,and here i show you the process i went through. cd ~/OpenCV-2.0.0 # the directory should contain CMakeLists.txt, INSTALL etc. mkdir release # create the output directory cd release cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local i did that step by step, but the console said "CMake Error: The source directory "/root/OpenCV-2.0.0/release/CMAKE_INSTALL_PREFIX=/usr/local" does not exist." so,what exactly was the problem ? Thanks in advance ! Rohan Anil Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: openCV installation problem cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. you missed the ".." On Wed, Jun 2, 2010 at 2:24 PM, [hidden email] <[hidden email]> wrote: > > > Hi, all ; > i tried to install my openCV source code package on my fedora12 > but it did not work,and here i show you the process i went through. > > cd ~/OpenCV-2.0.0 # the directory should contain CMakeLists.txt, > > INSTALL etc. > > mkdir release # create the output directory > cd release > cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local > > i did that step by step, but the console said > "CMake Error: The source directory > "/root/OpenCV-2.0.0/release/CMAKE_INSTALL_PREFIX=/usr/local" does not > exist." > > so,what exactly was the problem ? > > Thanks in advance ! > > > -- Rohan Anil IVth Year Information Systems BITS Pilani Goa Campus [Non-text portions of this message have been removed] ------------------------------------ Change settings: http://www.yahoogroups.com/mygroups, select Get Emails (get all posts) Daily Digest (one summary email per day) Read on the web (read posts on the web only)Or Unsubscribe by mailing [hidden email] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/OpenCV/<*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/OpenCV/join (Yahoo! ID required) <*> To change settings via email: [hidden email] [hidden email] <*> To unsubscribe from this group, send an email to: [hidden email] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ « Return to opencv-users | 1 view|%1 views Loading... Free forum by Nabble Edit this page

 

Related content

cmake error the source directory does not match

Cmake Error The Source Directory Does Not Match table id toc tbody tr td div id toctitle Contents div ul li a href Cmake Error The Source Directory Is A File Not A Directory a li li a href Cmake Error The Source Directory Output variable Doesn t Exist a li li a href Cmake Add Source Directory a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn relatedl more about Stack

cmake error the source directory

Cmake Error The Source Directory table id toc tbody tr td div id toctitle Contents div ul li a href Cmake Error The Source Directory Output variable Doesn t Exist a li li a href Cmake Ubuntu a li li a href Cmake Add Source Directory a li li a href Cmake Current Source Directory a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss relatedl the workings and policies of this site About Us cmake error the source directory does not

error source directory already configured

Error Source Directory Already Configured table id toc tbody tr td div id toctitle Contents div ul li a href Source Directory Already Configured Gcc a li li a href Gcc Source Directory Already Configured Run Make Distclean There First a li ul td tr tbody table p Tags Search LQ Wiki Search Tutorials Articles Search HCL Search Reviews Search ISOs Go to Page LinuxQuestions org relatedl Forums Linux Forums Linux - Distributions p h id Source Directory Already Configured Gcc p Linux From Scratch SOLVED Binutils error Source directory already configured run configure error source directory already configured run

gcc error source directory already configured

Gcc Error Source Directory Already Configured p p p Tutorials Articles Search HCL Search Reviews Search ISOs Go to Page LinuxQuestions org Forums Linux Forums Linux - Distributions Linux From Scratch SOLVED Binutils error relatedl Source directory already configured run make distclean there first User Name Remember Me Password Linux From Scratch This Forum is for the discussion of LFS LFS is a project that provides you with the steps necessary to build your own custom Linux system Notices Welcome to LinuxQuestions org a friendly and active Linux Community You are currently viewing LQ as a guest By joining our