Bitbake build application using boost

Viewed 38

I am truly stuck on this one. I have a production and a development bitbake build. As my project is in development I have ignore the production build. My main application requires boost. When I first tried to build my application into my image I got the error:

fatal error: boost/shared_ptr.hpp: No such file or directory

This was quickly solved by adding DEPENDS += " boost" to my mainapplication_0.0.bb. Now I get two new errors that I cannot figure out.

| ../MAIN_Application/version:1:1: error: too many decimal points in number

and

../MAIN_Application/version:1:1: error: expected unqualified-id before numeric constant

My Jenkins pipeline and my build script can run on my Ubuntu machine and on my target hardware. Googling for these errors I do not in any easy to see way break any rules.

The machine I am running on has boost installed and it is in /opt/boost I am not sure if this matters.

Edit to be clear: Jenkins and my build script do not run bitbake. The run make.

Edit: All stack traces lead to /opt/fsl-imx-fb/5.10-hardknott/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi/usr/include/c++/10.2.0/version

Looking at this version file I do not see any defines that are re-defined my in project.

Edit: Removing the /opt/boost folder seems to solve some issues but not all. I am getting a new error stating that some file cannot be found. It is the end of the day and I will investigate this tomorrow.

0 Answers
Related