Is building on the Raspberry Pi2 / Pi3 supported ?

Asked by ZANETTI

Until recently, KiCAD was building (and running) fine on the Raspberry Pi2 / Pi3. I updated my source to :

#define KICAD_BUILD_VERSION "(2016-08-20 BZR 7083)"

and now it doesn't build any more due to the use of (I guess through the name) x86-specific intrinsic in kicad_source/3d-viewer/3d_rendering/3d_render_raytracing/accelerators/cbvh_pbrt.cpp

This source file does #include <mmintrin.h> which obviously fails on the ARM architecture (but does exist in the include tree).

Looks like the merge of the 3D rendering into the master broke the ability to built on any architecture.

Should I fill a bug report ?

Best regards.

Question information

Language:
English Edit question
Status:
Answered
For:
KiCad Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mario Luzeiro (mrluzeiro) said :
#1

Hi ZANETTI, can you create a bug for it please?

I developed the latest version of 3DViewer.
That include is used just for mm_malloc
in fact at moment, that is not using its full potential, so it maybe can changes to normal malloc.
*but* I preffer mm_malloc for cache aligned resources.

maybe a conditional build can be added.

you can try your self remove the #include <mmintrin.h> and change mm_allocs to regular mallocs.

Revision history for this message
Mario Luzeiro (mrluzeiro) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask ZANETTI for more information if necessary.

To post a message you must log in.