Git Product home page Git Product logo

gltfruntimedraco's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gltfruntimedraco's Issues

Linker issue when compiling on Linux

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.