Libdoip
C/C++ library for Diagnostics over IP (DoIP)
Install / Use
/learn @AVL-DiTEST-DiagDev/LibdoipREADME
libdoip
C/C++ library for Diagnostics over IP (DoIP)
Installing library for Diagnostics over IP
- To install the library on the system, first get the source files with:
git clone https://github.com/GerritRiesch94/libdoip
- Enter the directory 'libdoip' and build the library with:
make
- To install the builded library into
/usr/lib/libdoipuse:
sudo make install
Installing Google Test Framework
In order to compile the unit tests, the Google Test Framework is required to be installed on the system.
- Install the default
libgtest-devpackage with:
sudo apt-get install libgtest-dev
- Enter the directory in the bash of the installed package which is by default
/usr/src/gtestand execute:
sudo cmake CMakeLists.txt
If this command finish successfully, build the static libraries with:
sudo make
- If the previous step was successfully, you should have
libgtest.aandlibgtest_main.ain the gtest directory. Copy the libraries into the/usr/libdirectory with:
sudo cp libgtest.a /usr/lib
and
sudo cp libgtest_main.a /usr/lib
- The Google Test Framework is now ready to use to compile tests.
Test if Google Test Framework works
This section will change as soon the Makefile is ready to use with the project.
- Assuming you have a .cpp file with the main method and a simple test you can compile the test file with:
g++ -o testRun testFile.cpp -g -L/usr/lib/ -lgtest -lgtest_main -lpthread
If this finish successfully you should have a executable called testRun in the directory.
- To execute the test and receive a xml file type:
./testRun --gtest_output="xml:./testOutput.xml"
Related Skills
node-connect
337.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
