Thank you for the releasing SDK for Linux.
But I cannot start the simulator application under Ubuntu 17.04.
Environment:
* Ubuntu 17.04 (64 bit, kernel version 4.10.0-19-generic)
* Eclipse (64 bit, Version: Neon.3 Release (4.6.3), Build id: 20170314-1500)
* Connect IQ 2.3.0 beta 1 SDK LINUX (installed from SDK Manager)
Detailed description of the issue:
Simulator is crashing with message:
./simulator
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
->message processor init on channel 0
libpng error: Libpng jmp_buf still allocated
[1] 24499 segmentation fault (core dumped) ./simulator
Steps to reproduce the issue:
1.a. Run simulator from command line:
./simulator
or
1.b Run simulator from Eclipse (Menu path: Connect IQ/Start Simulator)
Additional information:
I had to install:
1. libwebkitgtk-1.0-0 (from Ubuntu 17.04 repositories)
2. and libpng12.
libpng12 is not available in Ubuntu 17.04 repositories.
The latest version libpng12 is for Ubuntu 16.04.
So I installed version from this link:
http://packages.ubuntu.com/xenial/libpng12-0
I have found probable cause:
https://github.com/jherico/libpng/blob/master/pngerror.c#L624
libpng version:
dpkg -l |grep libpng
ii libpng-dev:amd64 1.6.28-1 amd64 PNG library - development (version 1.6)
ii libpng-tools 1.6.28-1 amd64 PNG library - tools (version 1.6)
ii libpng12-0:amd64 1.2.54-1ubuntu1 amd64 PNG library - runtime
ii libpng16-16:amd64 1.6.28-1 amd64 PNG library - runtime (version 1.6)