Compilation (from Github)

Everything related to development of the jamovi platform

by Gootjes » Mon Dec 03, 2018 3:42 pm

Hi all,

I am getting the following error trying to compile the engine subdirectory (engine/) following the tutorial here: . 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  -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,
jamovi.pb.h:1515:22: error: expected unqualified-id before '__null'
   static const Other NULL =
                      ^~~~ error: expected unqualified-id before '__null'
 const AnalysisOption_Other AnalysisOption::NULL;
make[1]: *** [Makefile:116:] Error 1
make[1]: Leaving directory '/home/me/Projects/Jamovi-dev/jamovi/engine'
make: *** [Makefile:2: all] Error 2
Posts: 2
Joined: Mon Dec 03, 2018 1:41 pm

by jonathon » Mon Dec 03, 2018 10:45 pm


hmm, this is unexpected. it looks like there's a compatibility issue with your toolchain. either you're using something very new, or something very old?

that file is generated by protocol buffers, so it looks to be a compatibility mismatch between your protocol buffers, and your compiler.

i'll have a bit of a look into it, but you'll probably have more success, knowing what versions of gcc, etc. you're using.

do you want to join our slack? that'll be the easiest way to figure this out.


User avatar
Posts: 1377
Joined: Fri Jan 27, 2017 10:04 am

by Gootjes » Tue Dec 04, 2018 1:40 pm

Yes I want to join the Jamovi slack. I sent you an email at
Posts: 2
Joined: Mon Dec 03, 2018 1:41 pm

Return to jamovi development