Cmake Error The Source Directory Does Not Appear
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 cmake source directory does not exist more about Stack Overflow the company Business Learn more about hiring developers or posting cmake set source directory ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
Cmake Add Source Directory
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up opencv ubuntu 12.04 Cmake error : Source directory does not
Cmake Debug Flags
appear to contain CmakeLists.txt up vote 2 down vote favorite 1 I'm using Ubuntu 12.04. I was trying to install OpenCV using the steps shown in http://karytech.blogspot.in/2012/05/opencv-24-on-ubuntu-1204.html But when it comes to the step for Compiling, i get an error : clive@clive-Aspire-4755:~/OpenCV-2.4.0/build$ cmake -D WITH_QT=ON -D WITH_XINE=ON -D WITH_OPENGL=ON -D WITH_TBB=ON -D BUILD_EXAMPLES=ON .. CMake Error: The source directory "/home/clive" does not appear to contain CMakeLists.txt. Specify --help does not appear to contain cmakelists.txt opencv for usage, or press the help button on the CMake GUI. Can anyone help me? NOTE : The CMakeLists.txt file is present in the folder OpenCV-2.4.0 and not inside build. c++ opencv ubuntu terminal cmake share|improve this question edited Jun 11 '14 at 8:58 ZeMoon 10.8k12859 asked Jun 11 '14 at 2:44 Clive 3023821 Hmm. For some reason .. seems to be /home/clive when it should be home/clive/OpenCV-2.4.0 –drescherjm Jun 11 '14 at 2:52 Did you run the cmake command before with different options? If so perhaps you should delete all files in the build folder and rerun cmake. –drescherjm Jun 11 '14 at 2:55 The instructions seem at that 2 year old blog seem reasonable when it comes to cmake usage. –drescherjm Jun 11 '14 at 2:59 Yes I did try deleting all the files in the build folder but the error still persists. –Clive Jun 11 '14 at 4:56 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote Try /home/clive/OpenCV-2.4.0 instead of .. at the end of the command. Also, It's generally easier to use ccmake instead cmake, regarding the options You are trying to set for s
Support Search GitHub This repository Watch
Does Not Appear To Contain Cmakelists Txt Ubuntu
42 Star 513 Fork 156 lyricat/Hotot Code Issues 161 cmake error the source directory does not exist Pull requests 7 Projects 0 Wiki Pulse Graphs New issue CMake Error: The cmake does not contain a cmakelists.txt file source directory "/home/username" does not appear to contain CMakeLists.txt. #568 Open gluesniffmonkey opened this Issue Aug 4, 2013 · 1 comment Projects http://stackoverflow.com/questions/24153845/opencv-ubuntu-12-04-cmake-error-source-directory-does-not-appear-to-contain-cm None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants gluesniffmonkey commented Aug 4, 2013 I am following this tutorial to build Hotot. http://www.samundra.com.np/twitter-api-changes-breaking-hotot-functionality/1224 #:~/Hotot-master$ cmake -DWITH_QT=off .. CMake Error: The source directory "/home/felixdz" does not appear to contain CMakeLists.txt. https://github.com/lyricat/Hotot/issues/568 How can I fix this? mwgkdm commented Aug 5, 2013 have you created a build directory?? you should execute the cmake .. from the build directory. from the tutorial: "Create a new directory for creating build mkdir build cd build Once you are inside the build directory. Pass the command" you can also follow the "building from source" instruction here (scroll down) https://github.com/lyricat/Hotot Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Support Search GitHub This repository Watch 8 Star 58 Fork 3 rlane/rust-gamedev-kit Code Issues 1 Pull https://github.com/rlane/rust-gamedev-kit/issues/9 requests 0 Projects 0 Pulse Graphs New issue CMake Error: The https://trac.macports.org/ticket/47277 source directory does not appear to contain CMakeLists.txt #9 Open paldepind opened this Issue Feb 26, 2014 · 3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants paldepind commented Feb 26, 2014 It seems like does not the build files for glfw is not being pulled in properly. simon@localhost:~/projects/rust-gamedev-kit$ ./build-libraries.sh ++ dirname ./build-libraries.sh + cd . ++ pwd -P + RUST_GAMEDEV_KIT_ROOT=/home/simon/projects/rust-gamedev-kit ++ rustc -v ++ grep '^host:' ++ cut -d ' ' -f 2 + TARGET=x86_64-unknown-linux-gnu + LIBDIR=/home/simon/projects/rust-gamedev-kit/install/lib/rustlib/x86_64-unknown-linux-gnu/lib + mkdir -p /home/simon/projects/rust-gamedev-kit/install/lib/rustlib/x86_64-unknown-linux-gnu/lib + set -eux + rm -rf glfw/build + mkdir glfw/build source directory does + cd glfw/build + cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/simon/projects/rust-gamedev-kit/install -DBUILD_SHARED_LIBS:BOOL=ON -DGLFW_BUILD_EXAMPLES:BOOL=OFF -DGLFW_BUILD_TESTS:BOOL=OFF -DGLFW_BUILD_DOCS:BOOL=OFF .. CMake Error: The source directory "/home/simon/projects/rust-gamedev-kit/glfw" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. Owner rlane commented Feb 26, 2014 Does running git submodule update --init fix it? paldepind commented Feb 26, 2014 Oops. I didn't know about Git submodules. Yes, that did indeed fix the issue. But I get can't find crate for glfw when trying to compile cubeland. I don't know what to do about that. paldepind commented Mar 5, 2014 I ended up doing ./build.sh instead and using the rustc one gets from that. Worked is expected 👍 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab
SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All user-submitted text and content on this website is licensed under a Creative Commons Attribution 2.5 License unless otherwise noted. Copyright © 2011 Apple Inc. All rights reserved. New Ticket Tickets Wiki Browse Source Timeline Roadmap Ticket Reports Search Search: Context Navigation ← Previous TicketNext Ticket → Ticket #47277 (closed defect: fixed) Opened 19 months ago Last modified 19 months ago eigen3: The source directory does not appear to contain CMakeLists.txt Reported by: sk-public@… Owned by: eborisch@… Priority: Normal Milestone: Component: ports Version: 2.3.3 Keywords: Cc: Port: eigen3 Description eigen3 doesn't build, apparently because a bunch of options and the configuration directory are appended after the source directory (../eigen_src). It builds again if configure.args-append ../eigen_src is changed to configure.post_args ../eigen_src But I'm not familiar enough with the macports build process (including this cmake out-of-source transition, which looks related) to tell if this is a coincidence or a solution. The error is: CMake Error: The source directory "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. Command failed: cd "/opt/macports/var/macports/build/macports_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_eigen3/eigen3/work/3.2.4" && /opt/macports/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/macports -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/macports/lib -DCMAKE_INSTALL_NAME_DIR=/opt/macports/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/macpo