Hello There. I am trying to build in OSX 11.3.1 (I think this is the latest version where I upgraded everything). I am using the example build script.
It goes pretty far with the compilations, but I am getting an error which I need you help to solve.
Thank you very much
sudo ./example_build_miradistribfiles.sh
error :
Making all in mira
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
clang++ -DPACKAGE_NAME=\"mira\" -DPACKAGE_TARNAME=\"mira\" -DPACKAGE_VERSION=\"V5rc2\" -DPACKAGE_STRING=\"mira\ V5rc2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mira\" -DVERSION=\"V5rc2\" -DHAVE_OPENMP=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DENABLE64=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -Drestrict=__restrict__ -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_STRFTIME=1 -DHAVE_FLOOR=1 -DHAVE_MEMSET=1 -DHAVE_POW=1 -DHAVE_SQRT=1 -DHAVE_FSEEKO=1 -DHAVE_ISBLANK=1 -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_GZOFFSET=1 -DBOUNDTRACKFLAG=1 -DBUGTRACKFLAG=1 -I. -I../../src -DPUBLICQUIET -mmacosx-version-min=10.7 -std=c++14 -stdlib=libc++ -I/usr/local/opt/llvm/include -I/usr/local/opt/flex/include -O2 -pthread -I/usr/local/opt/boost/include -fopenmp -MT skim_lowbph.o -MD -MP -MF .deps/skim_lowbph.Tpo -c -o skim_lowbph.o skim_lowbph.C
In file included from skim_lowbph.C:23:
In file included from ./skim.H:32:
In file included from ../../src/mira/hashstats.H:34:
In file included from ../../src/mira/readpool.H:41:
In file included from ../../src/mira/read.H:38:
In file included from ../../src/mira/multitag.H:40:
In file included from ../../src/mira/stringcontainer.H:38:
/usr/local/opt/boost/include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE(
^
/usr/local/opt/boost/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
^
<scratch space>:16:2: note: expanded from here
message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " "<boost/bind/bind.hpp> + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.")
^
**skim_lowbph.C:131:14: error: non-const lvalue reference to type '__wrap_iter<...>' cannot bind to a temporary of type '__wrap_iter<...>'
for(auto & iphI=SKIM3_lbphs_idsperhash.begin(); iphI != SKIM3_lbphs_idsperhash.end(); ++iphI){
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.**
make[3]: *** [skim_lowbph.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [binaries] Error 2
mv: rename mira*.tar.gz to distribution/mira*.tar.gz: No such file or directory
mv: rename mira*.tar.bz2 to distribution/mira*.tar.bz2: No such file or directory
Hello There. I am trying to build in OSX 11.3.1 (I think this is the latest version where I upgraded everything). I am using the example build script.
It goes pretty far with the compilations, but I am getting an error which I need you help to solve.
Thank you very much
sudo ./example_build_miradistribfiles.sh
error :