I am getting the following error trying to compile the engine subdirectory (engine/) following the tutorial here: https://dev.jamovi.org/info_project-structure.html . I cloned the latest version from github (jamovi/jamovi).
I am getting an error as can be seen below.
Did I forget a flag?
Code: Select all
make -C engine all
make[1]: Entering directory '/home/me/Projects/Jamovi-dev/jamovi/engine'
mkdir -p .
g++ -c -o jamovi.pb.cc.o jamovi.pb.cc -std=c++11 -I. -I.//../../include -I.//../../../include -I.//../server/jamovi/common -I.//../../../lib/R/include -I.//../../modules/base/R/RInside/include -I.//../../modules/base/R/Rcpp/include
In file included from /usr/include/bits/types/stack_t.h:23,
from /usr/include/signal.h:303,
from /usr/include/sys/param.h:28,
from /usr/include/google/protobuf/stubs/port.h:64,
from /usr/include/google/protobuf/stubs/common.h:46,
from jamovi.pb.h:9,
from jamovi.pb.cc:4:
jamovi.pb.h:1515:22: error: expected unqualified-id before '__null'
static const Other NULL =
^~~~
jamovi.pb.cc:1724:44: error: expected unqualified-id before '__null'
const AnalysisOption_Other AnalysisOption::NULL;
^~~~
make[1]: *** [Makefile:116: jamovi.pb.cc.o] Error 1
make[1]: Leaving directory '/home/me/Projects/Jamovi-dev/jamovi/engine'
make: *** [Makefile:2: all] Error 2