我有一个CMake Error at src/bsoncxx/CMakeLists.txt:81 (find_package):
By not providing "Findlibbson-1.0.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"libbson-1.0", but CMake did not find one.
Could not find a package configuration file provided by "libbson-1.0"
(requested version 1.10.0) with any of the following names:
libbson-1.0Config.cmake
libbson-1.0-config.cmake
Add the installation prefix of "libbson-1.0" to CMAKE_PREFIX_PATH or set
"libbson-1.0_DIR" to a directory containing one of the above files. If
"libbson-1.0" provides a separate development package or SDK, be sure it
has been installed.
中的python应用程序
我将此添加到了Windows路径O:\Apps\Python\myapp.py
中,因此可以使用 CMD 这样在任何地方运行
O:\Apps\Python\
但是事实证明,我需要这样输入扩展名(与 .exe 文件不同)
> myapp someArg1 someArg2
如何仅通过名称运行它?