「インストール - KiCAD」の版間の差分

ナビゲーションに移動 検索に移動
67行目: 67行目:
KiCADのビルドに必要なライブラリをインストールする。<br>
KiCADのビルドに必要なライブラリをインストールする。<br>
  # SUSE
  # SUSE
  sudo zypper install make cmake gcc-c++ ninja boost-devel gtk3-devel python3-devel python3-wxPython wxGTK3-3_2-devel zlib-devel vtk-devel \
  sudo zypper install pkg-config make cmake gcc-c++ gcc11-c++ gcc11-PIE ninja fdupes wxGTK3-devel python3-devel python3-wxPython python3-pybind11-devel \
                     libcurl-devel libgit2-devel appstream-glib-devel libsecret-devel freetype2-devel freeimage-devel unixODBC-devel rapidjson-devel libngspice-devel \
                     cairo-devel libopenssl-devel libopenssl-1_1-devel zlib-devel libzip-devel libcurl-devel unixODBC-devel occt-devel glm-devel glew-devel \
                     oce-devel OpenSceneGraph-plugin-opencascade libopencascade-draw7_7 oce-DRAWEXE \
                     libboost_filesystem-devel-impl libboost_system-devel-impl libboost_test-devel-impl \
                     swig shared-mime-info \
                     memory-constraints swig libngspice-devel hicolor-icon-theme gettext update-desktop-files \
                    glew-devel glm-devel Mesa-libGLESv2-devel \
                     ffmpeg-4-libavcodec-devel ffmpeg-4-libavdevice-devel ffmpeg-4-libavfilter-devel ffmpeg-4-libavformat-devel   \ # 不要の可能性あり
                     ffmpeg-4-libavcodec-devel ffmpeg-4-libavdevice-devel ffmpeg-4-libavfilter-devel ffmpeg-4-libavformat-devel \
                     ffmpeg-4-libavresample-devel ffmpeg-4-libavutil-devel ffmpeg-4-libswresample-devel ffmpeg-4-libswscale-devel \  # 不要の可能性あり
                     ffmpeg-4-libavresample-devel ffmpeg-4-libavutil-devel ffmpeg-4-libswresample-devel ffmpeg-4-libswscale-devel ffmpeg-4-libpostproc-devel \
                    ffmpeg-4-libpostproc-devel   # 不要の可能性あり
                    gettext
 
<br>
<br>
[https://gitlab.com/kicad/code/kicad KiCADのGitLab]にアクセスして、KiCADのソースコードをダウンロードする。<br>
[https://gitlab.com/kicad/code/kicad KiCADのGitLab]にアクセスして、KiCADのソースコードをダウンロードする。<br>
88行目: 88行目:
   
   
  cmake -G Ninja .. \
  cmake -G Ninja .. \
       -DCMAKE_CXX_COMPILER=<G++のコンパイラのパス> \
       -DCMAKE_C_COMPILER=<GCC 8以降のコンパイラのパス> -DCMAKE_CXX_COMPILER=<G++ 8以降のコンパイラのパス> \
       -DCMAKE_BUILD_TYPE=Release \
       -DCMAKE_BUILD_TYPE=Release \
       -DCMAKE_INSTALL_PREFIX=<KiCADのインストールディレクトリ> \
       -DCMAKE_INSTALL_PREFIX=<KiCADのインストールディレクトリ> \
108行目: 108行目:
<br>
<br>
KiCADの実行に必要なライブラリをインストールする。<br>
KiCADの実行に必要なライブラリをインストールする。<br>
  sudo zypper install libsecret-1-0 libgit2-1_3 unixODBC ngspice python3-wxPython
  sudo zypper install python3-wxPython unixODBC libngspice0
<br>
<br>
KiCADのビルドの詳細を知りたい場合は、[https://dev-docs.kicad.org/en/build/ KiCADの公式Webサイト]を参照すること。<br>
KiCADのビルドの詳細を知りたい場合は、[https://dev-docs.kicad.org/en/build/ KiCADの公式Webサイト]を参照すること。<br>

案内メニュー