{"repo":"LinuxDevon/dbc_parser_cpp","free":true,"listed":false,"github":"https://github.com/LinuxDevon/dbc_parser_cpp","clone":"git clone https://github.com/LinuxDevon/dbc_parser_cpp.git","description":"A DBC file parsing library written in C++11.","language":"C++","stars":13,"topics":["dbc","fileparser","can-bus","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"C++ DBC Parser This is to provide a library header only file to read in DBC files. I was looking around and couldn't find a simple library that didn't have dependencies. So here we are making one. I got some inspiration from the python dbc library here: https://pypi.org/project/cantools/ Building I am using Cmake to be able to build the tests and the lib. I plan on doing more with it but this is what it is for now. This doesn't mean that IDEs aren't welcome but the build process might not be suited for this. You will need to modify it for your needs. Feel free to submit changes so the building process will be more robust. Here are the steps to get started: Listing Build Options You can check the latest build options with cmake. After you configure cmake you can run this. Creating a Single Header File It requires you have cargo installed from rust. See these instructions if you don't have that https://www.rust-lang.org/tools/install. It uses the https://github.com/Felerius/cpp-amalgamate crate to do the single header file creation. The output will be generated in the build/single header/libdbc/ folder. You can run a cmake command to build this as well as other targets. To just build the single header you can simply run the target: Testing I am trying to always make sure that this is very well tested code. I am using Catch2 to do this testing and if you aren't familiar here is the documentation: https://github.com/catchorg/Catch2/blob/master/docs/Readme.md#top There is one opti","default_branch":null,"files":null,"tree":[],"storefront":"/r/LinuxDevon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LinuxDevon/dbc_parser_cpp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}