CentOS 8 build KiCad from source

i didnt test follow steps from beginning, it is reproduction of steps I didt in 3 day journey, so may contain typo, and unnecessary steps and packages.

Take KiCad from gitlab :
git clone https://gitlab.com/kicad/code/kicad.git

with root install following ;

yum install wxGTK3 wxGTK3-gl cmake-data boost boost-devel opengl zlib zlib-devel cairo  cairo-devel 
yum install libcurl libcurl-devel mesa-libGL-devel 
yum config-manager --set-enabled PowerTools
yum install glew-devel glm-devel swig openjpeg2-devel openjpeg2 openjpeg2-devel openjpeg2
yum install gtk3 gtk3-devel wxGTK3 wxGTK3-gl wxGTK3-media wxGTK3-i18n wxBase3
yum install wxBase3-devel

Install wxWidgets from source (download source, then follow building and installation documentation.

Follow KiCad instalation documentation for Linux but use follow instruction for Cmake :


From some reason (I didnt have time to check way KiCad installation routine install KiCad few native library on wrong path KiCad expet it on different path ) follow correction is needed (do it like root).

cd /lib64/
ln -s /usr/local/lib/libngspice.so.0 libngspice.so.0
ln -s /usr/local/lib64/libkicad_3dsg.so.2.0.0 libkicad_3dsg.so.2.0.0

I test few parts of KiCad and it is look like that application is working correctly.

Why are you installing wxWidgets from source when you are also installing the libraries using Yum?

(edit: spelling)

Hi, from some reason cmake complain that library is not for x64 system , if I understand correctly.
So I may change

yum install gtk3 gtk3-devel wxGTK3 wxGTK3-gl wxGTK3-media wxGTK3-i18n wxBase3


yum install gtk3 gtk3-devel

and try.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.