Update Build VA dependencies for Linux authored by Jonathan Ehret's avatar Jonathan Ehret
......@@ -7,14 +7,13 @@ This is a short HowTo for updating the Linux VA binaries (i.e., libVABase.so and
* Create a folder on Linux filesystem (e.g. VA_build)
* Clone/copy the CMakeList.txt of [VA](https://git.rwth-aachen.de/ita/VA) into it.
* Copy/clone [VANet](https://git.rwth-aachen.de/ita/VANet) and [VABase](https://git.rwth-aachen.de/ita/VABase) in the appropriate versions to this folder (e.g., both at tag v2020.a)
<del>* best use ``clang``, so e.g. do ``module load clang`` (and potentially ``module unload gcc`` before)
* To not have .so and .so.1.0.0 and .so.1 files, edit ``VABase/CMakeLists.txt`` and ``VANet/CMakeLists.txt`` and add ``set_target_properties(VABase PROPERTIES NO_SONAME 1)`` and ``set_target_properties(VANet PROPERTIES NO_SONAME 1)`` respectively
* ``mkdir build``
* ``cd build``
* ``ccmake ..``
* hit ``c`` for configure (ignore errors for now)
* deactivate ``ITA_VA_WITH_BINDING_CS``
* toogle to advanced with ``t`` and then add to ``CMAKE_CXX_FLAGS``: ``-std=c++11 -nostdinc++ -I "/home/av006de/Unreal/UnrealEngine_4_26/Engine/Source/ThirdParty/Linux/LibCxx/include/c++/v1/"`` ODER DOCH ``-static-libstdc++`` (*or the respective Unreal Version you are building for*). This way it links against the standard runtime library shipped with Unreal.
* toogle to advanced with ``t`` and then add to ``CMAKE_CXX_FLAGS``: ``-static-libstdc++`` (*see Troubleshoots below*).
* hit ``g`` for generate
* ``make -j``
* Now in the build/lib folder the libraries can be found, copy those to ``unreal-va-plugin\Source\VALibrary\lib``.
......
......