|
This is a short HowTo for updating the Linux VA binaries (i.e., libVABase.so and libVANet.so).
|
|
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.
|
|
|
|
|
|
* Create a folder on Linux filesystem (e.g. VA_build)
|
|
* 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.https://git.rwth-aachen.de/ita/VA
|
|
* 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)
|
|
* 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)
|
|
* best use ``clang``, so e.g. do ``module load clang`` (and potentially ``module unload gcc`` before)
|
|
<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``
|
|
* ``mkdir build``
|
|
* ``cd build``
|
|
* ``cd build``
|
|
* ``ccmake ..``
|
|
* ``ccmake ..``
|
|
* hit ``c`` for configure (ignore errors for now)
|
|
* hit ``c`` for configure (ignore errors for now)
|
|
* deactivate ``ITA_VA_WITH_BINDING_CS``
|
|
* deactivate ``ITA_VA_WITH_BINDING_CS``
|
|
* toogle to advanced with ``t`` and then add ``-std=c++11 -nostdinc++ -I "/home/av006de/Unreal/UnrealEngine_4_26/Engine/Source/ThirdParty/Linux/LibCxx/include/c++/v1/"`` (*or the respective Unreal Version you are building for*) to ``CMAKE_CXX_FLAGS``
|
|
* 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/"`` (*or the respective Unreal Version you are building for*). This way it links against the standard runtime library shipped with Unreal.
|
|
* hit ``g`` for generate
|
|
* hit ``g`` for generate
|
|
* ``make -j``
|
|
* ``make -j``
|
|
* Now in the build/lib folder the libraries can be found, currently still with symbolic links --> so copy the only file which is not just a link e.g. libVABase.so.1.0.0 to ``unreal-va-plugin\Source\VALibrary\lib`` and rename it twice also to the other files, since symbolic links might get lost during Unreal building
|
|
* Now in the build/lib folder the libraries can be found, copy those to ``unreal-va-plugin\Source\VALibrary\lib``.
|
|
|
|
|
|
----
|
|
----
|
|
|
|
|
|
You will have to set the ViSTA build tools to be setup correctly:
|
|
You will have to set the ViSTA build tools to be setup correctly:
|
|
* clone [VistaCMakeCommon](https://devhub.vr.rwth-aachen.de/VR-Group/VistaCMakeCommon)
|
|
* clone [VistaCMakeCommon](https://devhub.vr.rwth-aachen.de/VR-Group/VistaCMakeCommon)
|
|
* ``export VISTA_CMAKE_COMMON=[path to cloned VistaCMakeCommon]``
|
|
* ``export VISTA_CMAKE_COMMON=[path to cloned VistaCMakeCommon]``
|
|
* also clone [ViSTA](https://devhub.vr.rwth-aachen.de/VR-Group/ViSTA) an build it, of it VistBase, VistaAspects and VistaInterProcComm is needed. |
|
* also clone [ViSTA](https://devhub.vr.rwth-aachen.de/VR-Group/ViSTA) and build it, of it VistaBase, VistaAspects and VistaInterProcComm is needed. |
|
\ No newline at end of file |
|
\ No newline at end of file |