Hi, I’m trying to package City sample to Linux platform, but there has an error :
PackagingResults: Error: cannot open C:/Program Files/Epic Games/UE_5.1/Engine/Source/ThirdParty/Alembic/Deploy/alembic-1.8.2/Unix/x86_64-unknown-linux-gnu/lib/libAlembic.a: no such file or directory
PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)
But if package City sample to windows platform no problem. Please help me how to solve Linux problem?
If delete the RuleProcessor, Citysamplemasscrowd and Traffic folder in Plugins folder, this issue will not happen again, but I don’t know how to find the file and fix it.
Before the build, I had to change: OPTION(ALEMBIC_SHARED_LIBS "Build shared libraries" ON)
to: OPTION(ALEMBIC_SHARED_LIBS "Build shared libraries" OFF)
in CMakeLists.txt.
After the build, you can find the libAlembic.a in lib/Alembic, which you just place in Engine/Source/ThirdParty/Alembic/Deploy/alembic-1.8.2/Unix/x86_64-unknown-linux-gnu/lib/.
I am still packaging the project for Linux, will see if anything else breaks.