rdeioris / gltfruntimedraco Goto Github PK
View Code? Open in Web Editor NEWKHR_draco_mesh_compression support for glTFRuntime
License: MIT License
KHR_draco_mesh_compression support for glTFRuntime
License: MIT License
When I am trying to compile the project on a Linux (Ubuntu 22 with Unreal source) machine to open the editor I am encountering this issue. This issue is not reproducible while compiling on a Windows machine.
Build Command:
Engine/Build/BatchFiles/Linux/Build.sh MyProjectEditor Linux Development ~/MyProject/MyProject.uproject -waitmutex
Error Log:
Link (lld) libUnrealEditor-glTFRuntimeDraco.so
ld.lld: error: can't create dynamic relocation R_X86_64_32S against symbol: vtable for draco::PointCloudSequentialDecoder in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(point_cloud_sequential_decoder.cc.o)
>>> referenced by decode.cc
>>> decode.cc.o:(draco::CreatePointCloudDecoder(signed char)) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_32S against symbol: vtable for draco::PointCloudKdTreeDecoder in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(point_cloud_kd_tree_decoder.cc.o)
>>> referenced by decode.cc
>>> decode.cc.o:(draco::CreatePointCloudDecoder(signed char)) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_32S against symbol: vtable for draco::MeshDecoder in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(draco::MeshDecoder::MeshDecoder()) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_32S against symbol: vtable for draco::PointCloudDecoder in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(point_cloud_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(draco::PointCloudDecoder::~PointCloudDecoder()) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: typeinfo for draco::MeshDecoder in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::PointCloudDecoder::~PointCloudDecoder() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::MeshDecoder::~MeshDecoder() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::MeshDecoder::GetGeometryType() const in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::PointCloudDecoder::InitializeDecoder() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: __cxa_pure_virtual in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in ThirdParty/Unix/LibCxx/lib/Unix/x86_64-unknown-linux-gnu/libc++.a(cxa_virtual.cpp.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::MeshDecoder::DecodeGeometryData() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::PointCloudDecoder::DecodePointAttributes() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(point_cloud_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::PointCloudDecoder::DecodeAllAttributes() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(point_cloud_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::PointCloudDecoder::OnAttributesDecoded() in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::MeshDecoder::GetCornerTable() const in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::MeshDecoder::GetAttributeCornerTable(int) const in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: draco::MeshDecoder::GetAttributeEncodingData(int) const in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: __cxa_pure_virtual in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in ThirdParty/Unix/LibCxx/lib/Unix/x86_64-unknown-linux-gnu/libc++.a(cxa_virtual.cpp.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(vtable for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: vtable for __cxxabiv1::__si_class_type_info in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in ThirdParty/Unix/LibCxx/lib/Unix/x86_64-unknown-linux-gnu/libc++.a(private_typeinfo.cpp.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(typeinfo for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: can't create dynamic relocation R_X86_64_64 against symbol: typeinfo name for draco::MeshDecoder in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a(mesh_decoder.cc.o)
>>> referenced by mesh_decoder.cc
>>> mesh_decoder.cc.o:(typeinfo for draco::MeshDecoder) in archive /home/linus/metadome-vsc-unreal/Plugins/glTFRuntimeDraco/Source/ThirdParty/draco/libdraco_linux_x64.a
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.