Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux vps上,运行cmake,遇错 #3

Closed
luckypoem opened this issue Nov 23, 2018 · 1 comment
Closed

linux vps上,运行cmake,遇错 #3

luckypoem opened this issue Nov 23, 2018 · 1 comment

Comments

@luckypoem
Copy link

hi.

root@wh:~/mproxy-by-boytm/build# cmake ..
CMake Error at CMakeLists.txt:36 (add_subdirectory):
The source directory

/root/mproxy-by-boytm/libevhtp

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:48 (CHECK_FUNCTION_EXISTS):
Unknown CMake command "CHECK_FUNCTION_EXISTS".

-- Configuring incomplete, errors occurred!
See also "/root/mproxy-by-boytm/build/CMakeFiles/CMakeOutput.log".
root@wh:~/mproxy-by-boytm/build#

怎么解决?谢谢侬

@luckypoem
Copy link
Author

哦,知道了。要先运行:
git submodule update --init
然后cd build
cmake ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant