|
|
# How to build VA binaries for the Plugin
|
|
|
|
|
|
This is a short HowTo for updating the Linux VA binaries (i.e., libVABase.so and libVANet.so).
|
|
|
|
|
|
:exclamation: You first need to build Vista (VistaBase, VistaAspects and VistaInterProcComm is needed) accordingly to the guide below.
|
... | ... | @@ -23,3 +25,11 @@ You will have to set the ViSTA build tools to be setup correctly: |
|
|
* clone [VistaCMakeCommon](https://devhub.vr.rwth-aachen.de/VR-Group/VistaCMakeCommon)
|
|
|
* ``export VISTA_CMAKE_COMMON=[path to cloned VistaCMakeCommon]``
|
|
|
* also clone [ViSTA](https://devhub.vr.rwth-aachen.de/VR-Group/ViSTA) and build it, of it VistaBase, VistaAspects and VistaInterProcComm is needed.
|
|
|
|
|
|
----
|
|
|
# Troubleshoots:
|
|
|
* If some ``auto```constructs generate compiler warnings: add ``-std=c++11`` to ``CMAKE_CXX_FLAGS``
|
|
|
* 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. |
|
|
\ No newline at end of file |