Open 0xbbbbbbbb opened 1 month ago
Try cmake . -B build
Try
cmake . -B build
root@ubuntu:/home/niuma/Desktop/zydis# cmake . -B build CMake Error: The source directory "/home/niuma/Desktop/zydis/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. root@ubuntu:/home/niuma/Desktop/zydis#
no ok
so?
root@ubuntu:/home/niuma/Desktop/zydis# cmake -B build CMake Error: The source directory "/home/niuma/Desktop/zydis/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. root@ubuntu:/home/niuma/Desktop/zydis# cmake --build build -j4 Unknown argument -j4
Highlighted errors suggest that cmake version might be an issue. What's your cmake --version
?
newest
mappzor @.***> 于 2024年8月2日周五 22:35写道:
@.:/home/niuma/Desktop/zydis# cmake -B build CMake Error: The source directory "/home/niuma/Desktop/zydis/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. @.:/home/niuma/Desktop/zydis# cmake --build build -j4 Unknown argument -j4
Highlighted errors suggest that cmake version might be an issue. What's your cmake --version?
— Reply to this email directly, view it on GitHub https://github.com/zyantific/zydis/issues/519#issuecomment-2265538825, or unsubscribe https://github.com/notifications/unsubscribe-auth/A57NDXF73ANV52C6WLKAI5TZPOKJTAVCNFSM6AAAAABL4QU4ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVGUZTQOBSGU . You are receiving this because you authored the thread.Message ID: @.***>
Can you provide full version number? It looks really suspicious that -j4
isn't recognized. Also cmake -B build
should be treated as current working directory is my source directory and build directory is "build"
. In your case that doesn't happen for some reason. Syntax problems usually indicate version issues.
Anyway I'd use syntax that should always work:
git clone --recursive 'https://github.com/zyantific/zydis.git'
cd zydis
mkdir build
cd build
cmake ..
cmake --build .
It's more verbose but it should be bulletproof.
Tomorrow I try
mappzor @.***> 于 2024年8月2日周五 23:19写道:
Can you provide full version number? It looks really suspicious that -j4 isn't recognized. Also cmake -B build should be treated as current working directory is my source directory and build directory is "build". In your case that doesn't happen for some reason. Syntax problems usually indicate version issues.
Anyway I'd use syntax that should always work:
git clone --recursive 'https://github.com/zyantific/zydis.git' cd zydis mkdir build cd build cmake .. cmake --build .
It's more verbose but it should be bulletproof.
— Reply to this email directly, view it on GitHub https://github.com/zyantific/zydis/issues/519#issuecomment-2265630776, or unsubscribe https://github.com/notifications/unsubscribe-auth/A57NDXC3O5RGXLZA436XLRLZPOPPDAVCNFSM6AAAAABL4QU4ZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVGYZTANZXGY . You are receiving this because you authored the thread.Message ID: @.***>
root@ubuntu:/home/niuma/Desktop/zydis# cmake -B build CMake Error: The source directory "/home/niuma/Desktop/zydis/build" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. root@ubuntu:/home/niuma/Desktop/zydis# cmake --build build -j4 Unknown argument -j4 Usage: cmake --build