Page 1 of 1

Problem while installing PCAN view in Linux Ubuntu OS

Posted: Thu 17. Dec 2020, 14:26
by nikhil1990
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"

Re: Problem while installing PCAN view in Linux Ubuntu OS

Posted: Thu 17. Dec 2020, 14:45
by M.Heidemann
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.27 KiB) Viewed 3770 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

Re: Problem while installing PCAN view in Linux Ubuntu OS

Posted: Fri 18. Dec 2020, 07:45
by nikhil1990
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

Re: Problem while installing PCAN view in Linux Ubuntu OS

Posted: Fri 18. Dec 2020, 08:18
by M.Heidemann
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