cmake -G “Visual Studio 17 2022” -A x64 -DBUILD_FOR_UNREAL=1 …
I think it’s a path issue
Unreal Engine source was built on D drive.
What can I do to solve this problem?
cmake -G “Visual Studio 17 2022” -A x64 -DBUILD_FOR_UNREAL=1 …
I think it’s a path issue
Unreal Engine source was built on D drive.
What can I do to solve this problem?
The problem is happening because CMake can’t find the CMakeLists.txt
file in the folder you’re specifying. Make sure you’re running the cmake
command in a directory that actually has the CMakeLists.txt
file. This file is crucial for CMake to generate the necessary build files.
And maybe, this issue can occur due to missing or corrupted files in the SDK. To fix this, try downloading the AWS GameLift Server SDK again. Also, check that both the SDK and CMake are installed correctly and are up-to-date. Making sure everything is properly set up should help you avoid these errors.
okay
I found that there is a CMakeLists.txt file in the Unreal Engine folder in D drives.
What you mean is
used to move the path
Change the path from the original path (C drive)
Inside the UnrealEngine folder located on the D drive.
D:\UnrealEnigne>
mkdir out
cd out
cmake -G “Visual Studio 17 2022” -A x64 -DBUILD_FOR_UNREAL=1 …
You mean try this?
Otherwise, it is separate from the CMakeLists.txt file in Unreal Engine.
Should there be a CMakeLists.txt file in the C drive as well?
No, you don’t need a separate CMakeLists.txt file on your C drive. The CMakeLists.txt file you found in your Unreal Engine source folder on the D drive should be sufficient for generating the project files. You don’t need an additional CMakeLists.txt file in another directory.
Your understanding is correct. If you found the CMakeLists.txt file in the Unreal Engine folder on your D drive, you should navigate to that folder in the Command Prompt, create an “out” directory, change into that directory, and then run the CMake command like you have presented.
Thank you for your advice
Watching the guide video again
There was a separate folder where certain commands were entered.
Lastly, I have an easy question.
The next step in the guide video is
Pushing changes to Unreal Engine using githubdesktop
However, unlike the guide video, I previously created a clone repository of Unreal Engine using git.
Maybe that’s why
Unreal Engine’s clone repository is not visible on GitHub desktop.
How can I get an Unreal Engine clone to appear on githubdesktop?
Or how can I replace this with git?
time = 19:06