Problem while installing PCAN view in Linux Ubuntu OS

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
nikhil1990
Posts: 2
Joined: Thu 17. Dec 2020, 12:52

Problem while installing PCAN view in Linux Ubuntu OS

Post by nikhil1990 » Thu 17. Dec 2020, 14:26

Error output while installing PCAN view in ubuntu OS.
PCAN driver 8.10.0 is installed.
Followed below link to install PCAN view

https://www.peak-system.com/produktcd/D ... harDev.txt

Sequence of commands:

If you want to use our PCAN-View for Linux example you need the GTK+2:
$ sudo apt-get install gtk+2.0
$ wget http://www.peak-system.com/cupd2/PCAN-V ... TK+.tar.gz

NOTICE - this download link will no longer available - ask for this file at support@peak-system.com

$ tar -xzf PCAN-View-LINUX-GTK+.tar.gz
$ cd pcanview
$ make all

Error Output:
In file included from /usr/include/PCANBasic.h:32:0,
from src/PCanView.h:46,
from src/TransmitMessages.cpp:19:
/usr/include/pcan.h:32:2: error: #error "double define for DWORD, WORD, BYTE found"
#error "double define for DWORD, WORD, BYTE found"

M.Heidemann
Sales & Support
Sales & Support
Posts: 486
Joined: Fri 20. Sep 2019, 13:31

Re: Problem while installing PCAN view in Linux Ubuntu OS

Post by M.Heidemann » Thu 17. Dec 2020, 14:45

Hello,

This information is deprecated (This document was written when driver version 7.14 was current - 2014).

Please follow the current instructions given on our Linux-support page (Scroll down to the PCAN-View section):

http://www.peak-system.com/fileadmin/me ... /index.htm
PCANView-Linux2.PNG
PCANView-Linux2.PNG (84.28 KiB) Viewed 604 times
Please also make sure to install the latest PCAN-Linux driver 8.10.2:

http://www.peak-system.com/fileadmin/me ... 0.2.tar.gz

Best Regards

Marvin

nikhil1990
Posts: 2
Joined: Thu 17. Dec 2020, 12:52

Re: Problem while installing PCAN view in Linux Ubuntu OS

Post by nikhil1990 » Fri 18. Dec 2020, 07:45

Hi,
Thanks for your help.
I am using PCAN-Linux driver 8.10.0. Is it fine to continue with the existing version or i need to upgrade to 8.10.2?
Another doubt is i installed PCAN view as per the link shared by you. No want to know how i can launch this PCAN view tool.

Thanks.
Sai

M.Heidemann
Sales & Support
Sales & Support
Posts: 486
Joined: Fri 20. Sep 2019, 13:31

Re: Problem while installing PCAN view in Linux Ubuntu OS

Post by M.Heidemann » Fri 18. Dec 2020, 08:18

Hello,

We do recommend to use the latest driver available,
we actively fix any bugs and introduce new features
with each and every iteration of the driver.

you can launch pcanview just by calling:

Code: Select all

pcanview
from terminal.

Best regards

Marvin

Post Reply