# error compiling voxl-vision-px4 from source

Source: https://forum.modalai.com/topic/129/error-compiling-voxl-vision-px4-from-source
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2021-02-12 20:14:59 UTC by Aldo Castro Freire
Replies: 7 · Views: 1945

## Aldo Castro Freire · 2021-02-12 20:14:59 UTC

it says cannot find -lsensor_imu  and not sure how to fix it !!

![4192b9e0-dbc2-4446-b1d6-f727a2377e67-image.png](https://forum.modalai.com/assets/uploads/files/1613160846362-4192b9e0-dbc2-4446-b1d6-f727a2377e67-image-resized.png)

## Reply by tom (ModalAI staff) · 2021-02-12 20:46:43 UTC

See [this thread](https://forum.modalai.com/topic/124/missing-sensor-imu/4) to see if the solution works for you.

## Reply by Aldo Castro Freire · 2021-02-12 21:43:37 UTC

I still have this errors : 

CMakeFiles/voxl-vision-px4.dir/fixed_frame_pipe.c.o:fixed_frame_pipe.c:function fixed_frame_pipe_init: error: undefined reference to 'pipe_sink_set_data_cb'
CMakeFiles/voxl-vision-px4.dir/px4_shell.c.o:px4_shell.c:function px4_shell_init: error: undefined reference to 'pipe_sink_set_data_cb'

## Reply by tom (ModalAI staff) · 2021-02-12 21:49:29 UTC

Are you building from master? Which version of voxl-emulator are you using?

## Reply by Aldo Castro Freire · 2021-02-12 21:53:24 UTC

I am building from tag v0.6.8   because when I build from master I got this error while pushing to the companion computer:

![bd4e4dde-1d5b-4a9d-9587-1531de710478-image.png](https://forum.modalai.com/assets/uploads/files/1613166771620-bd4e4dde-1d5b-4a9d-9587-1531de710478-image-resized.png) 

voxl-vision-px4  is crashing on the voxl right now. I am not sure how to fix it !!

## Reply by tom (ModalAI staff) · 2021-02-12 22:03:28 UTC

I would rebuild using the master branch and do the following:

You can use the opkg server in order to install the dependencies.

In `/etc/opkg/opkg.conf` uncomment the line `#src/gz dev http://voxl-packages.modalai.com/dev`.

Then, call `opkg update`

- Install libmodal_json with `opkg install libmodal_json`
- Install voxl-mpa-tools with `opkg install voxl-mpa-tools`
- Back on your host pc, run `./install-on-voxl.sh`

## Reply by Aldo Castro Freire · 2021-02-13 01:39:19 UTC

Thank you, that one work and I can changed the port for qgc

## Reply by tom (ModalAI staff) · 2021-02-13 04:00:40 UTC (in reply to Aldo Castro Freire)

@Aldo-Castro-Freire Great to hear!
