5.99 master and occt 7.5.1/7.6

I pull the master branch daily.
Up until occt 7.5.1 kicad compiled (Linux 18.04.5) with occt 7.3 just fine.
Since occt 7.5.1 repository udate no go.

Today I compiled occt 7.6 itself without issues.
Kicad master branch however still complains about miasing references like (those errors are many)

…/kicad/plugins/3d/oce/loadmodel.cpp: In function ‘bool processFace(const TopoDS_Face&, DATA&, SGNODE*, std::vector<SGNODE*>, Quantity_Color)’:
…/kicad/plugins/3d/oce/loadmodel.cpp:952:64: error: ‘class Poly_Triangulation’ has no member named ‘Nodes’; did you mean ‘Node’?
952 | const TColgp_Array1OfPnt& arrPolyNodes = triangulation->Nodes();

All notably being about this ‘… plugins/3d/oce …’ locarion while OCE = OFF and OCC = ON

Also interesting to note is that the errors refer to different references with occt 7.5.1 vs 7.6

Any clues?

Last successful compile

Application: KiCad

Version: (5.99.0-9965-g846df2a6bb), release build

Libraries:
wxWidgets 3.1.5
libcurl/7.58.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3

Platform: Linux 4.15.0-139-generic x86_64, 64 bit, Little endian, wxGTK, xubuntu, x11

Build Info:
Date: Mar 23 2021 13:40:55
wxWidgets: 3.1.5 (wchar_t,wx containers) GTK+ 3.22
Boost: 1.65.1
OCC: 7.3.0
Curl: 7.58.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013

Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON

To anyone in the same ‘predicament’ :sunglasses:
The repository version OCCT 7.5.1 is no good with Kicad master!
OCCT 7.5 stock (unaltered) is fine :+1:

Application: KiCad

Version: (5.99.0-10071-gda78e6dde9-dirty), release build

Libraries:
wxWidgets 3.1.5
libcurl/7.58.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3

Platform: Linux 4.15.0-141-generic x86_64, 64 bit, Little endian, wxGTK, xubuntu, x11

Build Info:
Date: Mar 31 2021 13:50:11
wxWidgets: 3.1.5 (wchar_t,wx containers) GTK+ 3.22
Boost: 1.65.1
OCC: 7.5.0
Curl: 7.58.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013

Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON

1 Like

You are very unspecific with your “bug report”.
I can built against OCC 7.5.1 and using Kicad afterwards without problems so far.

Application: KiCad

Version: 5.99.0~20210327.42c6af4+dfsg1-1, release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.74.0 OpenSSL/1.1.1j zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3

Platform: Linux 5.10.0-4-amd64 x86_64, 64 bit, Little endian, wxGTK, gnome, wayland

Build Info:
	Date: Mar 28 2021 13:02:13
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.5.1
	Curl: 7.74.0
	ngspice: 34
	Compiler: GCC 10.2.1 with C++ ABI 1014

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON

After a fresh 20.04.2 install, packaged occt 7.5.1 works fine :+1:

Application: KiCad

Version: (5.99.0-10511-ga8672dd2f9), release build

Libraries:
wxWidgets 3.1.6
libcurl/7.68.0 GnuTLS/3.6.13 zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux 5.4.0-72-generic x86_64, 64 bit, Little endian, wxGTK, xubuntu, x11

Build Info:
Date: May 5 2021 12:11:41
wxWidgets: 3.1.6 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.1
Curl: 7.68.0
ngspice: 31
Compiler: GCC 9.3.0 with C++ ABI 1013

Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
KICAD_USE_OCC=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON

Assuming one wants to compile and not use whats in the repository.

I have 7.5.1 OCC on this machine and it is not compatible with any of the 3 KiCAD versions in the Ubuntu repository.

So, every time I do an apt update/upgrade, I have put a hold on the upgrade of KiCAD 5.1.10, because I have occ 7.5.1 on this machine because KiCAD wants to install OCC 7.3 which apt says OCC 7.5.1 breaks 7.3 things.

So, for KiCAD to use 7.5.1 I need to compile KiCAD?

I am meanwhile on 20.04
OCC had an repository update to 7.5.2
5.99 compiles fine

Today’s fresh compile

Application: KiCad

Version: (5.99.0-11565-g54077d6c33), release build

Libraries:
wxWidgets 3.1.6
libcurl/7.68.0 GnuTLS/3.6.13 zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux 5.4.0-77-generic x86_64, 64 bit, Little endian, wxGTK, xubuntu, x11

Build Info:
Date: Jul 24 2021 11:00:53
wxWidgets: 3.1.6 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.68.0
ngspice: 31
Compiler: GCC 10.3.0 with C++ ABI 1014

Build settings:
KICAD_USE_OCC=ON
KICAD_USE_EGL=ON
KICAD_SPICE=ON

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