I am trying to get it compiling on a Raspberry Pi 3 (Model B). I believe all the prerequisites are required, crucially it has g++ 4.9 which supports C++14.
I have fixed one problem to do with the "-march=native" flag, which I resolved by changing the "-march=armv6". I have also tried correcting the path to "libpng.a" to "/usr/lib/arm-linux-gnueabihf" as that's where is seems to reside.
Code: Select all
LIB_DIRS = $(FFMPEG_DIR)/lib /usr/lib/arm-linux-gnueabihf
Code: Select all
src-common/astexpression.cpp:2890:48: error: no match for ‘operator+=’ (operand types are ‘yy::location’ and ‘yy::location’)
(*term)->where += (*term)->args->where;
^
Full compile error:
Code: Select all
g++ -Isrc-common -Isrc-unix -Iobjs -Isrc-agg/include -Isrc-common/agg-extras -Isrc-ffmpeg/include -I/usr/local/include -O3 -Wall -march=armv6 -Wno-parentheses -std=c++14 -c -o objs/astexpression.o src-common/astexpression.cpp
src-common/astexpression.cpp: In member function ‘virtual AST::ASTexpression* AST::ASTmodification::compile(AST::CompilePhase)’:
src-common/astexpression.cpp:2890:48: error: no match for ‘operator+=’ (operand types are ‘yy::location’ and ‘yy::location’)
(*term)->where += (*term)->args->where;
^
src-common/astexpression.cpp:2890:48: note: candidates are:
In file included from src-common/ast.h:34:0,
from src-common/astexpression.h:29,
from src-common/astexpression.cpp:26:
objs/location.hh:122:20: note: yy::location& yy::operator+=(yy::location&, int)
inline location& operator+= (location& res, int width)
^
objs/location.hh:122:20: note: no known conversion for argument 2 from ‘yy::location’ to ‘int’
In file included from objs/location.hh:41:0,
from src-common/ast.h:34,
from src-common/astexpression.h:29,
from src-common/astexpression.cpp:26:
objs/position.hh:119:3: note: yy::position& yy::operator+=(yy::position&, int)
operator+= (position& res, int width)
^
objs/position.hh:119:3: note: no known conversion for argument 1 from ‘yy::location’ to ‘yy::position&’
Makefile:155: recipe for target 'objs/astexpression.o' failed
make: *** [objs/astexpression.o] Error 1