@grudento wrote:
Hi,
I have an of-application depending on boost that was developed on Windows with Visual Studio 12. Now I want this application to run on a Raspberry Pi 2. The pi was setup as described in the tutorial. Simple applications as well as the demos run fine. But my own application doesn't compile.
Since I'm not expererienced with the make system I doubt that the make file is entirely correct. Or that boost is installed and setup on the pi correctly. The
config.make
file was updated to use the g++-4.8 compiler and c++ 11 features viaPROJECT_CFLAGS
. The following is my attempt to link the boost directory:PROJECT_EXTERNAL_SOURCE_PATH = /home/pi/boost158
With these settings I get the follwoing error:
g++-4.8: error trying to exec '/usr/lib/gcc/arm-linux-gnueabihf/4.8/cc1plus': execv: Argument list too long
Without the boost path in the make file the compiler fails with errors such as
undefined reference to 'boost::system...'
.What ist the best way to install the latest boost version (I use 1.58) on Raspbian? And what should th make file look like?
Posts: 4
Participants: 2