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