添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
淡定的楼梯  ·  老毛子 padavan ...·  5 天前    · 
英俊的乌龙茶  ·  [Solved] Kivy broken ...·  4 天前    · 
干练的瀑布  ·  Compiling on Ubuntu ...·  4 天前    · 
挂过科的山楂  ·  Stop using sudo pip ...·  4 天前    · 
大方的香烟  ·  centos7,Python2.7安装req ...·  4 天前    · 
长情的自行车  ·  [Bug]: SyntaxError: ...·  2 月前    · 
博学的高山  ·  C++ conformance ...·  3 月前    · 

Closed one:

Found by google - maybe someone also has same problem (lost one day on it):

Compiling on Ubuntu 18.04 LTS-How? (stupid to close open topics just because nobody written anything new by 3 months ?) - just managed to compile (really hard for someone not familiar with the source)

cd /src/makaronLab/externalTools && git clone --depth 1 https://gitlab.com/kicad/code/kicad.git
#adddditional preps for ubuntu 18.04 (?(swig3.0)) - libngspice as shared lib)
sudo apt install -y libglew-dev libglm-dev libcairo2-dev autoconf automake libboost-all-dev
sudo apt install -y bison flex libtool swig
cd /src/makaronLab/externalTools/kicad/scripting/build_tools && chmod +x get_libngspice_so.sh && ./get_libngspice_so.sh && sudo ./get_libngspice_so.sh install
sudo apt install build-essential libboost-dev libboost-system-dev libboost-test-dev libboost-filesystem-dev cmake freeglut3-dev libglew-dev libglm-dev liboce-foundation-dev liboce-ocaf-dev python-wxgtk3.0-dev libwxgtk3.0-gtk3-dev swig3.0 doxygen graphviz libcurl4-openssl-dev libcairo-dev libpython3-dev libssl-dev
#Python 3.6
sudo apt install python3.6 
ls -al /usr/bin/py*
sudo ln -sf  /usr/bin/python3.6 /usr/bin/python
sudo ln -sf  /usr/bin/python3.6-config /usr/bin/python-config
sudo apt-get install build-essential 
sudo apt-get install libgtk-3-0 libgtk-3-dev 
#sudo apt-get install python-wxtools
pip install wheel && pip install pygame
pip install -U wxPython
#removing wx30* libs
apt list --installed | grep wx
sudo apt remove libwxbase3.0* libwxgtk3.0* python-wxgtk3.0* wx-common wx3.0-headers
#wxwidgets from trunk https://github.com/wxWidgets/wxWidgets
cd /src && git clone --depth 1 https://github.com/wxWidgets/wxWidgets 
cd /src/wxWidgets && mkdir -p build && cd build && git submodule update --init
cd /src/wxWidgets/build && ../configure --with-gtk  
cd /src/wxWidgets/build && make && sudo make install && sudo ldconfig
#@ref: https://dev-docs.kicad.org/build/linux/
cd /src/makaronLab/externalTools/kicad && mkdir -p build/release && mkdir build/debug # Optional for debug build.
cd /src/makaronLab/externalTools/kicad/build/release && cmake -DKICAD_SCRIPTING_PYTHON3=enabled -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=enabled -DCMAKE_BUILD_TYPE=Release ../../ && make  && sudo make install

You are scratching your left ear with right arm there.
No idea why you are installing wxwidgets then removing them then compiling them. Or why you install wxpython from pip when there is a perfectly fine package in ubuntu repos. Or why you install python 3.6 specifically and make some symlinks for it.

None of that is needed to compile kicad.