如何编译?请指导。先谢。
zhangfq-chemistry opened this issue · 6 comments
zhangfq-chemistry commented
cd ModernGraphicsEngineGuide/Source
mkdir build && cd build
cmake ../
错误如下:
CMake Error at CMakeLists.txt:30 (add_subdirectory): The source directory
/home/zhang/ModernGraphicsEngineGuide/Source/0-QEngineUtilities does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
Italink commented
zhangfq-chemistry commented
我用ubuntu。git submodule update --init --recursive还是不行
Italink commented
非常抱歉我没有尝试过在Ubuntu上进行构建,你可以查看一下0-QEngineUtilities下的文件是否存在,它对应这个仓库:https://github.com/Italink/QEngineUtilities
如果有任何报错,请告诉我
zhangfq-chemistry commented
0-QEngineUtilities 下东西看着挺全,有CMakelists.txt,但也不能编译,cmake错误:
CMake Warning: Ignoring extra path from command line:
"../"
CMake Error: The source directory "/home/zhangfq/2023-march/ModernGraphicsEngineGuide/Source/0-QEngineUtilities" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Message ID: ***@***.***>
Italink commented
收到
Italink commented
我知道原因了,大小写敏感,我将CMakeLists.txt误写为CMakelists.txt了