[Slackbuilds-users] kicade build issue
Tim Dickson
dickson.tim at googlemail.com
Wed Apr 19 19:57:30 UTC 2023
I am getting the following error building kicad on vanilla slackware
15.0 64bit (no multilib)
[ 92%] Building CXX object
plugins/3d/oce/CMakeFiles/s3d_plugin_oce.dir/loadmodel.cpp.o
cd /tmp/SBo/kicad-5.1.9/build/plugins/3d/oce && /usr/bin/c++
-DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_SCRIPTING
-DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES
-DKICAD_SCRIPTING_WXPYTHON -DKICAD_SPICE -DKICAD_USE_OCC
-DUSE_WX_OVERLAY -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64
-D__WXGTK__ -Ds3d_plugin_oce_EXPORTS -I/tmp/SBo/kicad-5.1.9/include
-I/tmp/SBo/kicad-5.1.9/3d-viewer -isystem /usr/include/opencascade
-isystem /usr/lib64/wx/include/gtk3-unicode-3.0 -isystem
/usr/include/wx-3.0 -Wall -O2 -fPIC -std=c++11 -Wsuggest-override
-Werror=vla -pthread -Wshadow -O3 -DNDEBUG -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -std=gnu++11 -MD -MT
plugins/3d/oce/CMakeFiles/s3d_plugin_oce.dir/loadmodel.cpp.o -MF
CMakeFiles/s3d_plugin_oce.dir/loadmodel.cpp.o.d -o
CMakeFiles/s3d_plugin_oce.dir/loadmodel.cpp.o -c
/tmp/SBo/kicad-5.1.9/plugins/3d/oce/loadmodel.cpp
/tmp/SBo/kicad-5.1.9/plugins/3d/oce/loadmodel.cpp: In function âbool
processFace(const TopoDS_Face&, DATA&, SGNODE*, std::vector<SGNODE*>*,
Quantity_Color*)â:
/tmp/SBo/kicad-5.1.9/plugins/3d/oce/loadmodel.cpp:868:64: error: âclass
Poly_Triangulationâ has no member named âNodesâ; did you mean âNodeâ?
868 | const TColgp_Array1OfPnt& arrPolyNodes =
triangulation->Nodes();
| ^~~~~
| Node
/tmp/SBo/kicad-5.1.9/plugins/3d/oce/loadmodel.cpp:869:73: warning:
âconst Poly_Array1OfTriangle& Poly_Triangulation::Triangles() constâ is
deprecated: Deprecated method, Triangle() should be used instead
[-Wdeprecated-declarations]
869 | const Poly_Array1OfTriangle& arrTriangles =
triangulation->Triangles();
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from
/usr/include/opencascade/Poly_ListOfTriangulation.hxx:19,
from /usr/include/opencascade/BRep_Tool.hxx:30,
from /tmp/SBo/kicad-5.1.9/plugins/3d/oce/loadmodel.cpp:57:
/usr/include/opencascade/Poly_Triangulation.hxx:330:32: note: declared here
330 | const Poly_Array1OfTriangle& Triangles() const { return
myTriangles; }
| ^~~~~~~~~
make[2]: ***
[plugins/3d/oce/CMakeFiles/s3d_plugin_oce.dir/build.make:90:
plugins/3d/oce/CMakeFiles/s3d_plugin_oce.dir/loadmodel.cpp.o] Error 1
make[2]: Leaving directory '/tmp/SBo/kicad-5.1.9/build'
make[1]: *** [CMakeFiles/Makefile2:2328:
plugins/3d/oce/CMakeFiles/s3d_plugin_oce.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/kicad-5.1.9/build'
make: *** [Makefile:166: all] Error 2
All deps are up to date: using build tree as below.
kicad 5.1.9-1 k zzzzzzz ( electronic pcb circuit design/layout etc) -
temporarily remove wxWidgets and reinstall wxGTK3 then wxPython3 before
building. (reinstall wxWidgets after installing)
-requires
wxPython3 3.0.2.0-4 k zzzzzz
-requires
wxGTK3 3.0.5-4 k zzzzz
-requires
webkit2gtk 2.40.0-2 k zzzz
-requires
bubblewrap 0.4.0-1 -no deps k z
geoclue2 2.6.0-1 k zzz
AVAHI=yes
-optional
avahi 0.8-7 k zz
-requires
libdaemon 0.14-1 -no deps k z
wpebackend-fdo 1.8.3-1 k zz
-requires
libwpe 1.14.1-1 -no deps k z
xdg-dbus-proxy 0.1.2-1 -no deps k z
unifdef 2.12-1 -no deps k z
ngspice-40-1 k zz
-requires
openmpi 4.1.4-1 -no deps (optional deps not used (slurm)) k z
OpenCASCADE 7.7.0-2 k zzz
FFMPEG=yes
FREEIMAGE=yes
TBB=yes
GL2PS=yes
-requires
VTK 9.2.6-1 k zz (uninstall previous version before creating package)
IMAGING=yes
MPI=yes
-requires
openmpi k z
FreeImage 3.18.0-1 -no deps k z
tbb 2020u2-1 -no deps k z
gl2ps 1.3.7-1 -no deps k z
glm 0.9.9.5-1 -no deps k z
any ideas?
regards, Tim
More information about the SlackBuilds-users
mailing list