Dependency not available for build on Mint 17, 64 bit platform

Greetings:

I get the following error when trying to build the latest version of Kicad:


/usr/bin/ld: cannot find -lwx_gtk2u_webview-3.0
collect2: error: ld returned 1 exit status
make[2]: *** [utils/idftools/idf2vrml] Error 1
make[1]: *** [utils/idftools/CMakeFiles/idf2vrml.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
/usr/bin/ld: cannot find -lwx_gtk2u_webview-3.0
collect2: error: ld returned 1 exit status
make[2]: *** [utils/idftools/dxf2idf] Error 1
make[1]: *** [utils/idftools/CMakeFiles/dxf2idf.dir/all] Error 2
[ 44%] Built target pcbcommon
[ 53%] Built target common
make: *** [all] Error 2

I understand from previous posts that I need to install “libwxgtk-webview3.0-dev” with apt-get. Neither apt-get nor the software manager can find this package. I found a deb package on the Net but it is dependent upon a new version of libstdc++6 (4.9) apparently also not available in the Ubuntu repository.


Mint64WrkStn ~ # apt-get install libwxgtk-webview3.0-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package libwxgtk-webview3.0-dev
E: Couldn’t find any package by regex ‘libwxgtk-webview3.0-dev’

Any suggestions?

Are you using the build script linked to on the official KiCAD page on Launchpad?
I’ve just updated my KiCAD build on Mint 17.1 with the newest version of that script.
I have found that I had to remove all of the downloaded sources first before being able to build without errors again.

Try running

./kicad-install.sh --remove-sources

before attempting to build with

./kicad-install.sh --install-or-update

Try installing the libwxgtk3.0-dev package with apt.

Removing the sources as you suggested fixed the problem - many thanks!
It took quite a long time to rebuild but seemed to do so flawlessly!

Thanks again!