Skip to content

compilation fails #1

@smartinsightsfromdata

Description

@smartinsightsfromdata

I'm on osx & R 3.5.2

Is there any plan to update the package (& fix the error)?

Thanks

> devtools::install_github("mclements/microsimulation")
Downloading GitHub repo mclements/microsimulation@master
✔  checking for file ‘/private/var/folders/9v/251f7k_x6hn8t9wsz8v21rgh0000gn/T/RtmpiYMGPo/remotes1545b5e75bb/mclements-microsimulation-63abdcc/DESCRIPTION’ ...
─  preparing ‘microsimulation’:
✔  checking DESCRIPTION meta-information
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  looking to see if a ‘data/datalist’ file should be added
─  building ‘microsimulation_1.1.tar.gz’
   
Installing package into ‘/usr/local/lib/R/3.5/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘microsimulation’ ...
** libs
clang++  -I"/usr/local/Cellar/r/3.5.2_2/lib/R/include" -DNDEBUG  -I"/usr/local/lib/R/3.5/site-library/Rcpp/include" -I"/usr/local/lib/R/3.5/site-library/BH/include" -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -fPIC  -g -O2  -c microsimulation.cc -o microsimulation.o
In file included from microsimulation.cc:6:
In file included from ./microsimulation.h:40:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/unordered_map.hpp:17:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/unordered/unordered_map.hpp:19:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/move/move.hpp:30:
In file included from /usr/local/lib/R/3.5/site-library/BH/include/boost/move/iterator.hpp:27:
/usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/iterator_traits.hpp:29:1: warning: inline namespaces are a C++11 feature [-Wc++11-inline-namespace]
BOOST_MOVE_STD_NS_BEG
^
/usr/local/lib/R/3.5/site-library/BH/include/boost/move/detail/std_ns_begin.hpp:18:34: note: expanded from macro 'BOOST_MOVE_STD_NS_BEG'
   #define BOOST_MOVE_STD_NS_BEG _LIBCPP_BEGIN_NAMESPACE_STD
                                 ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/__config:445:52: note: expanded from macro '_LIBCPP_BEGIN_NAMESPACE_STD'
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
                                                   ^
In file included from microsimulation.cc:6:
./microsimulation.h:56:49: error: expected expression
            boost::hash_combine(seed, tuple.get<Index>());
                                                       ^
./microsimulation.h:64:43: error: expected expression
          boost::hash_combine(seed, tuple.get<0>());
                                                 ^
./microsimulation.h:588:19: error: no type named 'iterator' in 'CostReport<State, Time, Cost>'
   typename This::iterator it;
   ~~~~~~~~~~~~~~~^~~~~~~~
1 warning and 3 errors generated.
make: *** [microsimulation.o] Error 1
ERROR: compilation failed for package ‘microsimulation’
* removing ‘/usr/local/lib/R/3.5/site-library/microsimulation’
Error in i.p(...) : 
  (converted from warning) installation of package ‘/var/folders/9v/251f7k_x6hn8t9wsz8v21rgh0000gn/T//RtmpiYMGPo/file1545b186667a2/microsimulation_1.1.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions