Thu 31 Mar 2016 12:45:28 PM UTC, original submission:
I had some errors trying to compile HLA_TestsSuite-0.3.0-Source.tar.gz with CERTI v3.5.1.
Here are my findings...
My Environment is:
-------------------
- CERTI v3.5.1
- Fedora 23 64 bits (4.4.2-301.fc23.x86_64)
- g++ (GCC) 5.3.1
- GNU Make 4.0
----------------------------
Step 1: cmake configuration
----------------------------
First the CMakeList.txt seems not to be able to find the CERTI (after a proper source myCERTI_env.sh) with the command on line 73:
> INCLUDE(UseCERTI)
I changed this for:
> FIND_PACKAGE(RTI REQUIRED)
> INCLUDE_DIRECTORIES(${RTI_INCLUDE_DIR})
> ADD_DEFINITIONS(${RTI_DEFINITIONS})
Then the cmake command went successful
----------------------------
Step 2: compilation using make
----------------------------
Secondly the make command was failing returning different errors.
Here are the files, I had to modify:
1)
I had to modify the "HLATestsSuiteTools.cmake" because it was using the env variable ${CERTI_LIBRARIES} (most likely comming from the INCLUDE(UseCERTI))
I had to change these for ${RTI_LIBRARIES}
2)
Moficiation create_destroy.cc, test_Sync.cc and test_HugeAVPV.cc (due to error with sleep() usage)
adding:
> #include <unistd.h>
Ok it works now.
You can find attached a new archive named HLA_TestsSuite-0.3.1-Source.tar.gz which contains the source archive with my patches.
I am writing this issue as documentation and set to fixed as it works for me.
Let me know if you have any question or feedback.
|