Tencent / Tencent/TAD_Sim

docker内display模块编译出错

Open
#44 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
465
Forks
122
PR merge metrics
No merged PRs in 30d

Description

按教程拉取镜像后编译display,提示这些错误后中止

Writing manifest to /build/Intermediate/Build/Manifest.xml
Building DisplayEditor...
[Upgrade]
[Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
[Upgrade] bLegacyPublicIncludePaths = false => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).
[Upgrade] ShadowVariableWarningLevel = WarningLevel.Error => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).
[Upgrade] PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).
[Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V2;' in DisplayEditor.Target.cs, and explicitly overriding settings that differ from the new defaults.
[Upgrade]
Performing 7 actions (10 in parallel)
[3/7] Link (lld) libUE4Editor-CudaResource.so
[1/7] Link (lld) libUE4Editor-HadMap.so
[4/7] Link (lld) libUE4Editor-Protobuf.so
[2/7] Link (lld) libUE4Editor-RuntimeMeshLoader.so
ld.lld: error: /build/Plugins/HadMap/ThirdParty/FLANN/lib/libflann_s.a:1: unknown directive: version

version https://git-lfs.github.com/spec/v1
^
ld.lld: error: /build/Plugins/Protobuf/ThirdParty/ProtobufSDK/Lib/Linux/Release/libprotobuf.a:1: unknown directive: version
version https://git-lfs.github.com/spec/v1
^
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ld.lld: error: /build/Plugins/RuntimeMeshLoader/ThirdParty/assimp/lib/libassimp.so:1: unknown directive: version
version https://git-lfs.github.com/spec/v1
^
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ld.lld: error: /build/Plugins/CudaResource/ThirdParty/TxExt/lib/ubuntu/libdisplay_cuda_ext.so:1: unknown directive: version
version https://git-lfs.github.com/spec/v1
^
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Took 17.805959s to run mono, ExitCode=6
UnrealBuildTool failed. See log for more details. (/root/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-DisplayEditor-Linux-Development.txt)
AutomationTool exiting with ExitCode=6 (6)
RunUAT ERROR: AutomationTool was unable to run successfully.
cp: cannot stat '/build/Binaries/Linux/Display.sym': No such file or directory
./build.sh: line 37: cd: /build/Saved/StagedBuilds: No such file or directory
mv: cannot stat 'LinuxNoEditor': No such file or directory
cp: cannot stat '../../NeuralStyle': No such file or directory
cp: cannot stat '../../XMLFiles': No such file or directory
cp: cannot stat '../../Display.sh': No such file or directory
cp: cannot stat '../../Display-cloud.sh': No such file or directory
chmod: cannot access './Display/Display.sh': No such file or directory
chmod: cannot access './Display/Display-cloud.sh': No such file or directory
mv: cannot stat './Saved/StagedBuilds/Display': No such file or directory
rm: cannot remove '/build/build/bin/Display/Display/Binaries/Linux/ubuntu18_20/libcuda.so.1': No such file or directory
tar: ./Display: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Docker build instructions and the listed third-party libraries under Plugins/HadMap, Plugins/Protobuf, Plugins/RuntimeMeshLoader, and Plugins/CudaResource. Verify what files are supplied to the linker, then rerun the DisplayEditor build and confirm that packaging completes without the subsequent missing-file errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, docker, linux, unreal-engine
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.