Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
2,277 Views

Cannot build v1.6.2 with yocto

I have tried to build both the v1.6.2 build and the latest development build of the Intel Aero Yocto image and in both cases I get the following warnings and error:

For the v1.6.2 build I tried setting up the repo using the command:

repo init -u https://github.com/intel-aero/intel-aero-manifest.git https://github.com/intel-aero/intel-aero-manifest.git -m v1.6.2.xml -b master

which gives the error above, as well as:

repo init -u https://github.com/intel-aero/intel-aero-manifest.git https://github.com/intel-aero/intel-aero-manifest.git -m v1.6.2.xml -b refs/tags/v1.6.2

which doesn't even find the v1.6.2.xml manifest.

For the development build, I tried:

repo init -u https://github.com/intel-aero/intel-aero-manifest.git https://github.com/intel-aero/intel-aero-manifest.git -m default.xml -b master

which gives the same error as v1.6.2 (master) above.

What is the proper repo initialization to build the v1.6.2 version of the Intel Aero image? Or will I need to work through those errors and resolve them myself? Given a v1.6.2 image has been released I thought it should be possible to build it from the repository. We apply patches to our Intel Aero image, so we cannot use the released image directly. However, the above errors are not due to our patches, which are in a separate layer, but appear to be related to changes in the RealSense support (which I am very interested in).

I also notice that the librealsense v1 API may be dropped. How will this affect support for the R200 camera, which still ships on the Intel Aero? I don't want to lose that support but would like to gain the librealsense v2 support at the same time.

Thank you for your assistance.

0 Kudos
10 Replies
Highlighted
New Contributor I
141 Views

I managed to get past the build error by making my own copy of the v1.6.2.xml manifest in a local git repository and replacing the line:

with:

fe235d540247a023617599c3915f3e97a257a841"/>

The referenced revision has all the latest changes in librealsense up to, but not including the removal of the librealsense v1 support (but v2 support is included) so hopefully this is all that is required. If this is the right approach then Intel may wish to update the v1.6.2.xml repo manifest accordingly.

0 Kudos
Highlighted
New Contributor I
141 Views

There are still issues with librealsense:

so building v1.6.2 is not straightforward.

0 Kudos
Highlighted
Community Manager
141 Views

Hello DanMadill,

 

 

Thank you for your interest in the Intel Aero Compute Board.

 

 

We are currently investigating your issue and we will reach you back as soon as possible.

 

 

Thank you,

 

Eliza
0 Kudos
Highlighted
Community Manager
141 Views

Hi DanMadill,

There were changes made to the RealSense Github and we need to update the sources on the Aero Github. For now you can build the image with the steps below, I will pass the information to the Aero team to update out Github.

After the repo sync –j4, execute the following commands:

cd ~/intel_aero/meta-intel-aero/recipes-support/librealsense/

rm librealsense_1.12.1.bbappend

wget https://raw.githubusercontent.com/IntelRealSense/meta-intel-librealsense/master/recipes-support/libr... https://raw.githubusercontent.com/IntelRealSense/meta-intel-librealsense/master/recipes-support/libr...

wget https://raw.githubusercontent.com/IntelRealSense/meta-intel-librealsense/master/recipes-support/libr... https://raw.githubusercontent.com/IntelRealSense/meta-intel-librealsense/master/recipes-support/libr...

Continue to follow the steps on the Initialize the environment section. The image should build with the librealsense v1 which includes support the R200 camera and is required for other recipes in the image. You can modify the source to also include librealsense v2 that only supports the new RealSense cameras.

 

 

Regards,

 

Jesus

 

Intel Customer Support
0 Kudos
Highlighted
New Contributor I
141 Views

The image built after applying the changes you suggested.

Thank you for your assistance,

Dan

0 Kudos
Highlighted
Community Manager
141 Views

The repository/building of 1.6.2 is still is not fixed as of today August 13. I am getting the exact same errors . I have have not tried the patches in this thread as yet.

0 Kudos
Highlighted
New Contributor I
141 Views

The patches worked for me. Try applying the patches.

Dan

0 Kudos
Highlighted
Community Manager
141 Views

Applied the changes, and it is building 1.6.2 now. Will report the outcome once it's done.

0 Kudos
Highlighted
Community Manager
141 Views

Success, I was able to build an image based off the 1.6.2 branch with the patches described here. It took forever. It would be nice to get this fixed in the aero git repository.

0 Kudos
Highlighted
Beginner
141 Views

Having the same issue on v1.6.2 even with applying patches mentioned from Jesus...

Is there something more to do in order to build librealsense ?

0 Kudos