matrix-io / matrix-creator-hal

Hardware Abstraction Layer for MATRIX Creator & MATRIX Voice
https://matrix-io.github.io/matrix-documentation/matrix-hal/overview/
GNU General Public License v3.0
70 stars 50 forks source link

Make during installation gives an Error #66

Closed CarneiroDiogo closed 6 years ago

CarneiroDiogo commented 6 years ago

This is the error i get when using make:

[ 35%] Linking CXX executable servo_demo /usr/local/lib/libwiringPi.so: undefined reference to `shm_open' collect2: error: ld returned 1 exit status demos/CMakeFiles/servo_demo.dir/build.make:99: recipe for target 'demos/servo_demo' failed make[2]: [demos/servo_demo] Error 1 CMakeFiles/Makefile2:123: recipe for target 'demos/CMakeFiles/servo_demo.dir/all' failed make[1]: [demos/CMakeFiles/servo_demo.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

I'm using matrix creator with raspberry pi. Can someone help? Thanks in advance

kdpatino commented 6 years ago

Hello @CarneiroDiogo

Did you install the dependencies? Could you try with:

sudo apt-get install cmake g++ git libfftw3-dev wiringpi matrixio-creator-init libgflags-dev

Regards,

Kevin Patino

CarneiroDiogo commented 6 years ago

Hello Kevin, Thanks for your response, I was able to solve the problem by formatting the raspberry and use a different distro (NOOBS). Everything is working now.

Best Regards,

Diogo Carneiro

De: Kevin Patino [mailto:notifications@github.com] Enviada: 12 de abril de 2018 15:23 Para: matrix-io/matrix-creator-hal matrix-creator-hal@noreply.github.com Cc: Carneiro Diogo (BrgP/ENG-P) Diogo.Carneiro@pt.bosch.com; Mention mention@noreply.github.com Assunto: Re: [matrix-io/matrix-creator-hal] Make during installation gives an Error (#66)

Hello @CarneiroDiogohttps://github.com/CarneiroDiogo

Did you install the dependencies? Could you try with:

sudo apt-get install cmake g++ git libfftw3-dev wiringpi matrixio-creator-init libgflags-dev

Regards,

Kevin Patino

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/matrix-io/matrix-creator-hal/issues/66#issuecomment-380823051, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Akib22vTdqBnBEZX7xa8nZO6Uj0-UbjUks5tn2MngaJpZM4TRUrL.

kdpatino commented 6 years ago

Glad to hear it!