Cmake Error The Source Directory Does Not Appear To Contain
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions does not appear to contain cmakelists.txt opencv you might have Meta Discuss the workings and policies of this does not appear to contain cmakelists txt ubuntu site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers cmake error the source directory does not exist or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a cmake does not contain a cmakelists.txt file community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up cmake - CMakeLists.txt is not in root folder (but is included in source) up vote 3 down vote favorite I'm trying to compile a libpng library. The thing is that I need a specific
Cmakelists.txt Not Found
version of this library - 1.2.37 - because the project I'm using it in is written with this version. I've found the source code of this version here (GnuWin32 project). But the folder structure looks something like this: libpng-1.2.37-src/ contrib/ projects/ scripts/ CMakeLists.txt png.h pngread.c pngwrite.c ... See, the CMakeLists.txt is one level deeper than the source files. I've tried: source directory libpng-1.2.37-src/ -> resulted in error: The source directory does not appear to contain CMakeLists.txt source directory libpng-1.2.37-src/scripts -> resulted in multiple errors: File libpng-1.2.37-src/scripts/scripts/libpng.pc.in does not exist. copy CMakeLists.txt from /scripts to /libpng-1.2.37-src and set source directory to /libpng-1.2.37-src -> resulted in error: The source "/libpng-1.2.37-src/CMakeLists.txt" does not match the source "/libpng-1.2.37-src/scripts/CMakeLists.txt" used to generate cache. What should I do to make it work? I don't know why the CMakeLists.txt file would be included if it can't be used. c++ cmake libpng share|improve this question asked Jan 28 '14 at 15:34 davidthepiemaker 18113
Support Search GitHub This repository Watch
Does Not Appear To Contain Cmakelists.txt Windows
42 Star 513 Fork 156 lyricat/Hotot Code Issues 161 no cmake_c_compiler could be found. Pull requests 7 Projects 0 Wiki Pulse Graphs New issue CMake Error: The the c compiler identification is unknown 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/21409935/cmake-cmakelists-txt-is-not-in-root-folder-but-is-included-in-source 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.
from GoogleSign inHidden fieldsSearch for groups or messages
Milestone Cuneiform for Linux Edit Invalid Low Yury V. Zaytsev Edit You need to log in to change this bug's status. Affecting: Cuneiform for Linux Filed here by: P.Kvols When: 2011-01-16 Assigned: 2011-01-16 Completed: 2011-01-16 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Invalid Low Assigned to Me Yury V. Zaytsev (zyv) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Trying to follow the build procedure on Ubuntu: mkdir builddir -> ok! cd builddir -> ok! cmake -DCMAKE_BUILD_TYPE=release -> Problem! CMake Error: The source directory "/home/kvols/Desktop/cuneiform-linux-1.0.0/builddir" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. I tried to copy the CMakeLists.txt to builddir but that gives another error: CMake Error at CMakeLists.txt:11 (message): In-tree build attempt detected, aborting. Set your build dir outside your source dir, delete CMakeCache.txt from source root and try again. Something tells me that the installation is somewhat incomplete for version 1.0.0 Please advise. Kind regards, Povl Tags: cmake install readme.txt Edit Tag help Yury V. Zaytsev (zyv) wrote on 2011-01-16: #1 > cmake -DCMAKE_BUILD_TYPE=release This command is wrong. Re-read the readme.txt again: cmake -DCMAKE_BUILD_TYPE=debug .. See two dots at the end of the command? Changed in cuneiform-linux: status: New → Invalid assignee: nobody → Yury V. Zaytsev (zyv) importance: Undecided → Low P.Kvols (povl-kvols) wrote on 2011-01-16: #2 Sorry - I completely missed that. Thank you for the very quick reply!! :) It does how