janvi
January 30, 2020, 8:16am
41
seems install_dependencies.sh prepares OCC while cmake tries OCE. Therefore I tried @imcinerney shell script with --use-oce=1 --use-occ=0. This gives:
cd debug
jv@Artemis:~/kicad/build/debug$ cmake -DCMAKE_BUILD_TYPE=Debug ../../
-- KiCad install dir: </usr/local>
-- Check for installed GLEW -- found
-- Boost version: 1.65.1
*** OpenCascade header files missing ***
Verify your OpenCascade installation or pass CMake
the header directory as '-DOCC_INCLUDE_DIR=<path>'
CMake Error at CMakeModules/FindOpenCASCADE.cmake:158 (message):
Call Stack (most recent call first):
CMakeLists.txt:678 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jv/kicad/CMakeFiles/CMakeOutput.log".
See also "/home/jv/kicad/CMakeFiles/CMakeError.log".
jv@Artemis:~/kicad/build/debug$
found oce is part of the sources in kicad/plugins/3d/oce what contains .cpp without .h
To use OCC on 18.04, add these additional CMake flags: -DOCC_INCLUDE_DIR=/usr/include/occt -DKICAD_USE_OCE=OFF -DKICAD_USE_OCC=ON
1 Like
janvi
January 30, 2020, 8:58am
43
OCC path is fine and cmake is missing wxPhyton/Phoenix next.
Therefore I set the scripting switches OFF. At least make starts the compile now…
janvi
January 30, 2020, 10:28am
44
One hour and 10 minutes later there is a new Kicad on my laptop with OCC and spice (!) and no scripting. The baffeld way did not allow to document what I did therefore and for unknown reason it was diffrent from my desktop. Eatur quo deorum ostenta et inimicorum iniquitas vocat. Alea iacta est.
jneiva
February 26, 2020, 9:23am
45
hi,
I don’t know if it is place to ask.
I’m trying to compile master from gitlab.
I’m blocked in following error:
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python2.7/dist-packages
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.17", minimum required is "2.6")
CMake Error at CMakeLists.txt:791 (message):
Unable to find wxPython Classic, instead found wxPython Phoenix 4.0.7.post2
Somehow success to install all packages up to that point
to compile are using the following command:
$cmake -DCMAKE_BUILD_TYPE=Release ../../ -DKICAD_SPICE=False
Thanks
eelik
February 26, 2020, 9:27am
46
You have to install some packages on you Linux system or change compile flags. I you don’t specifically want old python (python2 should be put out of its misery as soon as possible), I recommed choosing python3 and combination of other libraries which work with it.
system
Closed
May 26, 2020, 10:04am
48
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.