Build failure with Unreal Engine 4.27.0 and Visual Studio 2019: The filename, directory name, or volume label syntax is incorrect.
See original GitHub issueOutput of the ue4-docker info
command:
ue4-docker version: 0.0.92 (latest available version is 0.0.92)
Operating system: Windows Server 2022 Datacenter (Build 20348.288)
Docker daemon version: dev
NVIDIA Docker supported: No
Maximum image size: 800GB
Available disk space: 1.1 TiB
Total system memory: 31.65 GiB physical, 36.65 GiB virtual
Number of processors: 4 physical, 8 logical
Additional details:
- Are you accessing the network through a proxy server? No
Docker version
Docker version 20.10.7, build 40ef3b6
Build dockerd.exe
locally to get around 20gig copy bug, link to the reference
Docker version dev, build 1430d849a4
Description
Trying to build the UE4 4.27.0 with Visual Studio 2019 and running into build failure with error
re-exec error: exit status 1: output: open \\?\C:\ProgramData\docker\tmp\hcs2047284100\Files\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TextMate\Starterkit\Extensions\cmake\Snippets\File(Glob …).tmSnippet: The filename, directory name, or volume label syntax is incorrect.
[ue4-docker build] Error: failed to build image "adamrehn/ue4-build-prerequisites:ltsc2022-vs2019".
Here are the steps I have followed in setting the environment.
choco install python --version=3.7.0
pip install ue4-docker
ue4-docker setup
ue4-docker diagnostics all
Fixed the 20GiB error by manually building dockerd.exe
For reference
C:/>dockerd-dev.exe --version
Docker version dev, build 1430d849a4
So for the entire ue4-docker build
process now I am using the dockerd-dev.exe
.
After all of these, I finally ran the UE4 build command
C:\>ue4-docker build 4.27.0 --verbose --visual-studio 2019 --exclude debug --exclude templates --exclude ddc
which fails with the above-mentioned error.
Verbose build output of the ue4-docker build
: build_output_ue4_4270_vs_2019
Verbose output of the dockerd-dev.exe
while the build was in process: dockerd_logs
Any help is appreciated.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Can't build Unreal Editor 4.27.2 from source - C++
Hi everyone, I'm having a hard time building the engine from source consistently. Sometimes it works sometimes it doesn't.
Read more >Unreal Engine 4.27 Release Notes
This release, we focused on improving the user experience of setting up and operating an nDisplay cluster, the heart of many workflows such...
Read more >UGS Troubleshooting | Unreal Engine 4.27 Documentation
**Failed sync or build due to too-long path**. · Select Settings. Click settings · Select Browse for both the Name and the Path...
Read more >Building UE 4.27 fails due to missing ... - Unreal Engine Forums
How to? Go to: C:\Program Files (x86)\Microsoft Visual Studio\Installer and launch vs_installer.exe. Go to modify and then “individual components ...
Read more >Failed to build in Github UE4.27.0. - Unreal Engine Issues
Failed to build UE4.27.0 with Win64/Development Editor. ... 22>Using Visual Studio 2019 14.28.29336 toolchain (C:\Program Files ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@TBBle @slonopotamus Was able to build it successfully with the official Docker build. For some reason when I was trying this earlier it didn’t work. That’s why I went down the spiral of diagnostics and custom docker daemon. Thanks for the feedback.
I would first suggest reverting to official Docker build and checking whether error persists or not. Given that you use
--exclude debug
, you won’t hit 20GB COPY bug.