Hi All,
I am getting this error,
[code] […]/Downloads/root/build_dir/include/RConfigure.h:30:3: error: invalid preprocessing directive #R__USE_CXX14
R__USE_CXX14 /**/
^
[/code]
I think this is due to missing #define
or #undefine
in the line above.
Here are my configure command, how can I fix it? (other than manually editing the include/RConfigure.h file?
cmake .. -DCMAKE_INSTALL_PREFIX=$PRF/root_v5.34.36 -DCMAKE_CXX_FLAGS='-fPIC' -Dcxx14:BOOL=YES -Dpgsql:BOOL=YES -Dqt:BOOL=YES -Droofit:BOOL=YES -Dmathmore:BOOL=YES -DFFTW_DIR:PATH=/usr/local/src/fftw-3.3.6/ -DGSL_CONFIG_EXECUTABLE:PATH=/usr/local/src/gsl-1.16/bin/gsl-config -DPOSTGRESQL_INCLUDE_DIR:PATH=`pg_config --includedir` -DPOSTGRESQL_LIBRARY:PATH=`pg_config --libdir`