<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Yeah! I can now build kst from a vanilla Ubuntu 18.04 install. </div><div><br></div><div>Below is a shell script which installs all dependencies (and echos working build commands). Barth, feel free to add kst repo to help the next guy or gal .. =)</div><div><br></div><div>Notes:</div><div><ol><li>I could not find the right netcdf packages to make cmake happy</li><li>qt5 install was sneaky because some svg packages aren't automatically installed</li><li>gsl install was sneaky because the "dev" version needs to be install</li></ol><div><br></div></div><div>Now, on to Windows build .. </div><div><br></div><div>Steve</div><div><br></div><div><br></div><div dir="ltr"><br></div><div>=============== clip here ===================</div><div dir="ltr">#!/bin/sh</div><div dir="ltr"><br></div><div dir="ltr"># Installs dependencies for kst</div><div dir="ltr"># Must be run as root (e.g., sudo ./installLinux.sh)</div><div dir="ltr"><br></div><div dir="ltr">apt --assume-yes install build-essential</div><div dir="ltr">apt --assume-yes install cmake</div><div dir="ltr"><br></div><div dir="ltr">apt --assume-yes install pkg-config</div><div dir="ltr"><br></div><div dir="ltr"># gsl-bin not sufficient!</div><div dir="ltr">apt --assume-yes install libgsl-dev</div><div dir="ltr"><br></div><div dir="ltr">apt --assume-yes install qtcreator</div><div dir="ltr">apt --assume-yes install qt5-default</div><div dir="ltr"><br></div><div dir="ltr"># Asterisk is important - dev version needed</div><div dir="ltr">apt --assume-yes install libqt5svg5*</div><div dir="ltr"><br></div><div dir="ltr"># Optional datasource libraries</div><div dir="ltr"><br></div><div dir="ltr"># Can't find anything to make cmake happy</div><div dir="ltr"># The following didn't work</div><div dir="ltr">#apt --assume-yes install netcdf*</div><div dir="ltr">#apt --assume-yes install libnetcdf*</div><div dir="ltr"><br></div><div dir="ltr">apt --assume-yes install libcfitsio-dev</div><div dir="ltr">apt --assume-yes install libgetdata-dev</div><div dir="ltr">apt --assume-yes install libtiff-dev</div><div dir="ltr">apt --assume-yes install libmatio-dev</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">echo "Installs complete. Check for errors."</div><div dir="ltr"><br></div><div dir="ltr">echo </div><div dir="ltr">echo </div><div dir="ltr">echo "If not done, already .. "</div><div dir="ltr">echo "> apt install git"</div><div dir="ltr">echo "> git clone https://<yourGithubId>@<a href="http://github.com/kst-plot/kst">github.com/kst-plot/kst</a>"</div><div dir="ltr">echo </div><div dir="ltr">echo "Next step: run the following in a directory parallel to kst/"</div><div dir="ltr">echo "> cmake -Dkst_qt5=1 -Dkst_release=1 -Dkst_merge_files=1 ../kst"</div><div dir="ltr">echo "> make -j 4"</div><div><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
</div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div></div>