Git Product home page Git Product logo

canviewer's Introduction

canviewer

What is canviewer?

canviewer is can-bus analysis software. It allows the receiving of can-bus messages and the display in a hierarchical fashion. It uses *.json files to apply conversions to selected can-bus messages have a specific ID.

Program Requirements

  • Debian / Ubuntu Operating System

Required Software

Building canviewer from source requires the following dependencies:

  • Git
  • GCC or G++
  • CMake
  • PkgConfig
  • Boost
  • GTKmm
  • SocketCAN

Installing Dependencies on Debian / Ubuntu

sudo apt-get install build-essential git cmake pkg-config libboost-all-dev libgtkmm-3.0-dev libsocketcan-dev

Building Instructions

Building canviewer

cd toonz
mkdir build
cd build
cmake ..
make

Running canviewer

cd build
./canviewer

canviewer's People

Contributors

tsabelmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

canviewer's Issues

Cannot be built because of bit_variable not defined, reinterpret_cast and no template called "optional"

Hi!
I've tried building your program on openSUSE Tumbleweed using clang++, but it cannot.
Here is the log:

[  4%] Building CXX object CMakeFiles/canviewer.dir/canviewer.cpp.o
In file included from /home/khazakar/downloadedwithgit/canviewer/canviewer.cpp:14:
In file included from /home/khazakar/downloadedwithgit/canviewer/gtkmm/MainWindow.hpp:33:
In file included from /home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/message.h:7:
In file included from /home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/variable.h:8:
In file included from /home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/bit_variable.h:4:
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/endian.h:10:20: error: constexpr function never produces a constant expression [-Winvalid-constexpr]
    constexpr bool is_little_endian()
                   ^
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/endian.h:13:24: note: reinterpret_cast is not allowed in a constant expression
        uint8_t *ptr = reinterpret_cast<uint8_t*>(&value);
                       ^
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/endian.h:20:20: error: constexpr function never produces a constant expression [-Winvalid-constexpr]
    constexpr bool is_big_endian()
                   ^
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/endian.h:23:24: note: reinterpret_cast is not allowed in a constant expression
        uint8_t *ptr = reinterpret_cast<uint8_t*>(&value);
                       ^
In file included from /home/khazakar/downloadedwithgit/canviewer/canviewer.cpp:14:
In file included from /home/khazakar/downloadedwithgit/canviewer/gtkmm/MainWindow.hpp:33:
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/message.h:17:39: error: no template named 'optional' in namespace 'std'
            using opt_variable = std::optional<variable>;
                                 ~~~~~^
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/message.h:50:13: error: unknown type name 'opt_variable'; did you mean 'bit_variable'?
            opt_variable operator[](std::string) const;
            ^~~~~~~~~~~~
            bit_variable
/home/khazakar/downloadedwithgit/canviewer/gtkmm/../can/bit_variable.h:9:11: note: 'bit_variable' declared here
    class bit_variable
          ^
4 errors generated.
make[2]: *** [CMakeFiles/canviewer.dir/build.make:76: CMakeFiles/canviewer.dir/canviewer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/canviewer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.