... | ... | @@ -31,6 +31,8 @@ You will have to set the ViSTA build tools to be setup correctly: |
|
|
* If string symbols are undefined, link against Unreal's stdlib: add ``-nostdinc++ -I "/home/av006de/Unreal/UnrealEngine_4_26/Engine/Source/ThirdParty/Linux/LibCxx/include/c++/v1/"`` to ``CMAKE_CXX_FLAGS``
|
|
|
* If ``libstdc++.so`` cannot be loaded at cooking: add ``-static-libstdc++`` to ``CMAKE_CXX_FLAGS``
|
|
|
* If ``dlopen failed: ../lib/libVABase.so`` occurs you need to:
|
|
|
* Check with ``readelf -d libVANet.so | grep NEEDED`` whether ``libVABase.so`` is not linked directly into ``libVANet.so`` but as ``../lib/libVABase.so`` which cannot be found for packaged builds.
|
|
|
* Check directly in Linux with ``readelf -d libVANet.so | grep NEEDED`` whether ``libVABase.so`` is not linked directly into ``libVANet.so`` but as ``../lib/libVABase.so`` which cannot be found for packaged builds.
|
|
|
* To change that on Windows, e.g., get https://github.com/david942j/patchelf.rb for Ruby
|
|
|
* ``patchelf --print-needed libVANet.so`` (to see what they link to on Windows
|
|
|
* ``patchelf --replace-needed "../lib/libVABase.so","libVABase.so" libVANet.so``
|
|
|
* also needed for ``libVistaAspects.so`` and ``libVistaInterProcComm.so`` if you need to rebuid those |
|
|
\ No newline at end of file |