Open lgatto opened 7 years ago
I have the same error locally.
Which is strange, since there is a mzR/src/boost/boost/predef/compiler/digitalmars.h
in the package, and the compiler flags says -I./boost/
. Also, the docker image compiles mzR successfully: DONE (mzR)
in https://hub.docker.com/r/bioconductor/devel_protmetcore2/builds/b3bfsnsdkzxgksoxwmsntib/.
No problem with macos.
I manage to compile when removing
#include <boost/predef/compiler/digitalmars.h>
from compiler.h
I am going to commit a version without that line, to address the request from Bioconductor. It would be good to get a better fix - I'm not going to close this issue yet.
One thing that stymes me is that INSTALL works fine, while compilation during CHECK fails: Works:
g++ -std=gnu++11 -I/home/biocbuild/bbs-3.5-bioc/R/include -DNDEBUG -I./boost_aux/ -I./boost/ -I. -D_LARGEFILE_SOURCE -DHAVE_PWIZ_MZML_LIB -D_NODEBUG -DWITHOUT_MZ5 `nc-config --cflags || /bin/true` -I"/home/biocbuild/bbs-3.5-bioc/R/library/Rcpp/include" -I"/home/biocbuild/bbs-3.5-bioc/R/library/zlibbioc/include" -I/usr/local/include -fpic -c ramp.cpp -o ramp.o
Fails:
g++ -std=gnu++11 -I/home/biocbuild/bbs-3.5-bioc/R/include -DNDEBUG -I./boost_aux/ -I./boost/ -I. -D_LARGEFILE_SOURCE -DHAVE_PWIZ_MZML_LIB -D_NODEBUG -DWITHOUT_MZ5 `nc-config --cflags || /bin/true` -I"/home/biocbuild/bbs-3.5-bioc/R/library/Rcpp/include" -I"/home/biocbuild/bbs-3.5-bioc/R/library/zlibbioc/include" -I/usr/local/include -fpic -c ramp.cpp -o ramp.o
In file included from ./boost/boost/predef.h:13:0,
from ./boost/boost/smart_ptr/detail/yield_k.hpp:28,
from ./boost/boost/smart_ptr/detail/spinlock_sync.hpp:18,
from ./boost/boost/smart_ptr/detail/spinlock.hpp:50,
from ./boost/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from ./boost/boost/smart_ptr/shared_ptr.hpp:34,
from ./boost/boost/shared_ptr.hpp:17,
from ./pwiz/data/msdata/RAMPAdapter.hpp:30,
from ramp.cpp:60:
./boost/boost/predef/compiler.h:16:47: fatal error: boost/predef/compiler/digitalmars.h: No such file or directory
@sneumann - does this sound familiar? Has there been a change that required to add this from boost into
mzR
?