forked from aheit/cantools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·49 lines (40 loc) · 1.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Issues
===================
* Cmake compilation is using an ugly hack to let everyone reach everything.
* Extended CAN msgs with dlc > 8 are not even read from blf file.
Most likely they have ID BL_OBJ_TYPE_reserved_5=115
which we have no way of parsing?
Notes
===================
* mdftomat compilation disabled since it
includes sys/mman.h which does not exist on Windows.
General Information
===================
Tools around CAN logfiles, mostly Vector's BLF format.
Note: After fork only .blf is supported as input. For outputs .mat and .h5 are available.
* dbcls lists the contents of a DBC file.
* cantomat converts log files in BLF to MAT or HDF5.
* matdump displays the content of a MAT file as ASCII text
* dbccopy copies a DBC file
Compiling native Windows exe with MSYS2
====================
Use the "MSYS2 MINGW 64-bit" terminal
- Install compiler toolchain
```
pacman -Syu --needed make mingw-w64-x86_64-{gcc,cmake}
```
- Install dependencies
```
pacman -Syu --needed mingw-w64-x86_64-{hdf5,matio,zlib}
```
- Build cantomat
```
cmake -G"MSYS Makefiles" -B build .
make -C build
```
Compiling in Windows Subsystem for Linux (WSL)
====================
Compilation in WSL is much similar, only installing dependencies are different:
```
sudo apt-get install gcc libz-dev libmatio-dev pkg-config flex bison check libglib2.0 subversion automake
```