Installing from source in MacOS

Hi guys, I am trying to install in Max OS for the first time, using R CMD commands. ITKR was installed without issues. But when I start ANTsR installation the following errors appear. Any idea how to fix?
dp$ R CMD INSTALL ANTsR
* installing to library ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
* installing *source* package ‘ANTsR’ ...
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
darwin15 1
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa5564d1e423ba4000d50c35c3273ae8661cce7d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if this works.
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- SuperBuild - ANTS => Requires ITKv4,
-- SuperBuild -   ITKv4[OK]
-- SuperBuild - ANTS[OK]
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dp/ANTsR/src/antb
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I`/Library/Frameworks/R.framework/Resources/bin/Rscript -e 'ITKR:::itkIncludes()'` -I/Users/dp/ANTsR/src -I/Users/dp/ANTsR/src/ants//Examples/include/   -I/Users/dp/ANTsR/src/ants//Utilities -I/Users/dp/ANTsR/src/ants//Examples/   -I/Users/dp/ANTsR/src/ants//Tensor/ -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1 -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/include"   -fPIC  -Wall -mtune=core2 -g -O2 -c Atropos.cpp -o Atropos.o
In file included from Atropos.cpp:5:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/ants.h:4:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/../../Utilities/itkSurfaceCurvatureBase.h:17:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_matops.h:21:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_vector.h:24:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_c_vector.h:29:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:41: error:
      in-class initializer for static data member of type 'const float' requires
      'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
                         ^                                     ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:41: error:
      in-class initializer for static data member of type 'const float' requires
      'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
                         ^                                    ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:41: error:
      in-class initializer for static data member of type 'const float' requires
      'constexpr' specifier [-Wstatic-float-init]
  ...float maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
           ^                                       ~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR float maxval VCL_STATIC_CONST_INIT_FLO...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:42: error:
      in-class initializer for static data member of type 'const double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
                          ^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOA...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:42: error:
      in-class initializer for static data member of type 'const double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
                          ^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:42: error:
      in-class initializer for static data member of type 'const double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
            ^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR double maxval VCL_STATIC_CONST_INIT_FL...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:47: error:
      in-class initializer for static data member of type 'const long double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
                               ^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:47: error:
      in-class initializer for static data member of type 'const long double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
                               ^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:47: error:
      in-class initializer for static data member of type 'const long double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
            ^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR long double maxval VCL_STATIC_CONST_IN...
  ^
  constexpr
9 errors generated.
make: *** [Atropos.o] Error 1
ERROR: compilation failed for package ‘ANTsR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ANTsR’
Dorians-MacBook-Air:~ dp$ g++
clang: error: no input files
Dorians-MacBook-Air:~ dp$ make
make: *** No targets specified and no makefile found.  Stop.

This happened when ITK was 4.11 versus 4.9.
On Wednesday, July 20, 2016, dorianps<EMAIL_ADDRESS>wrote:

Hi guys, I am trying to install in Max OS for the first time, using R CMD
commands. ITKR was installed without issues. But when I start ANTsR
installation the following errors appears. Any idea how to fix?
dp$ R CMD INSTALL ANTsR

installing to library ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
installing source package ‘ANTsR’ ...
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
darwin15 1
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa5564d1e423ba4000d50c35c3273ae8661cce7d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if this works.
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- SuperBuild - ANTS => Requires ITKv4,
-- SuperBuild -   ITKv4[OK]
-- SuperBuild - ANTS[OK]
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dp/ANTsR/src/antb
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/Library/Frameworks/R.framework/Resources/bin/Rscript -e 'ITKR:::itkIncludes()' -I/Users/dp/ANTsR/src -I/Users/dp/ANTsR/src/ants//Examples/include/   -I/Users/dp/ANTsR/src/ants//Utilities -I/Users/dp/ANTsR/src/ants//Examples/   -I/Users/dp/ANTsR/src/ants//Tensor/ -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1 -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/include"   -fPIC  -Wall -mtune=core2 -g -O2 -c Atropos.cpp -o Atropos.o
In file included from Atropos.cpp:5:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/ants.h:4:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/../../Utilities/itkSurfaceCurvatureBase.h:17:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_matops.h:21:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_vector.h:24:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_c_vector.h:29:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:41: error:
in-class initializer for static data member of type 'const float' requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
^                                     ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:41: error:
in-class initializer for static data member of type 'const float' requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
^                                    ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:41: error:
in-class initializer for static data member of type 'const float' requires
'constexpr' specifier [-Wstatic-float-init]
...float maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
^                                       ~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float maxval VCL_STATIC_CONST_INIT_FLO...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:42: error:
in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOA...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:42: error:
in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:42: error:
in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double maxval VCL_STATIC_CONST_INIT_FL...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:47: error:
in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:47: error:
in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:47: error:
in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double maxval VCL_STATIC_CONST_IN...
^
constexpr
9 errors generated.
make: *** [Atropos.o] Error 1
ERROR: compilation failed for package ‘ANTsR’

removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ANTsR’
Dorians-MacBook-Air:~ dp$ g++
clang: error: no input files
Dorians-MacBook-Air:~ dp$ make
make: *** No targets specified and no makefile found.  Stop.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/107, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBnrgXoHbK5d193kxceaYyWtFyq3rWeks5qXsAfgaJpZM4JRV2k
.

--
John

current versions as of around 6pm or so today should work ..... that's when
i updated ants, itkr and antsr to 4.11
brian
On Wed, Jul 20, 2016 at 9:09 PM, John Muschelli<EMAIL_ADDRESS>wrote:

This happened when ITK was 4.11 versus 4.9.
On Wednesday, July 20, 2016, dorianps<EMAIL_ADDRESS>wrote:

Hi guys, I am trying to install in Max OS for the first time, using R CMD
commands. ITKR was installed without issues. But when I start ANTsR
installation the following errors appears. Any idea how to fix?
dp$ R CMD INSTALL ANTsR

installing to library
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
installing source package ‘ANTsR’ ...
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
darwin15 1
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa5564d1e423ba4000d50c35c3273ae8661cce7d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again.
Example:
git checkout -b
HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if
this works.
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- SuperBuild - ANTS => Requires ITKv4,
-- SuperBuild - ITKv4[OK]
-- SuperBuild - ANTS[OK]
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dp/ANTsR/src/antb
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include
-DNDEBUG -I/Library/Frameworks/R.framework/Resources/bin/Rscript -e 'ITKR:::itkIncludes()' -I/Users/dp/ANTsR/src
-I/Users/dp/ANTsR/src/ants//Examples/include/
-I/Users/dp/ANTsR/src/ants//Utilities -I/Users/dp/ANTsR/src/ants//Examples/
-I/Users/dp/ANTsR/src/ants//Tensor/ -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1
-I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include
-I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include"
-I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/include"
-fPIC -Wall -mtune=core2 -g -O2 -c Atropos.cpp -o Atropos.o
In file included from Atropos.cpp:5:
In file included from
/Users/dp/ANTsR/src/ants//Examples/include/ants.h:4:
In file included from
/Users/dp/ANTsR/src/ants//Examples/include/../../Utilities/itkSurfaceCurvatureBase.h:17:
In file included from
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_matops.h:21:
In file included from
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_vector.h:24:
In file included from
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_c_vector.h:29:

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:41:
error:

in-class initializer for static data member of type 'const float'
requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
^ ~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:41:
error:

in-class initializer for static data member of type 'const float'
requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
^ ~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:41:
error:

in-class initializer for static data member of type 'const float'
requires
'constexpr' specifier [-Wstatic-float-init]
...float maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
^ ~~~~~~~~~~~~~~~~~~~~~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float maxval VCL_STATIC_CONST_INIT_FLO...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:42:
error:

in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOA...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:42:
error:

in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:42:
error:

in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^ ~~~~~~~~~~~~~~~~~~~~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double maxval VCL_STATIC_CONST_INIT_FL...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:47:
error:

in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:47:
error:

in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:47:
error:

in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^ ~~~~~~~~~~~~~~~~~~~~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double maxval VCL_STATIC_CONST_IN...
^
constexpr
9 errors generated.
make: *** [Atropos.o] Error 1
ERROR: compilation failed for package ‘ANTsR’

removing
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ANTsR’
Dorians-MacBook-Air:~ dp$ g++
clang: error: no input files
Dorians-MacBook-Air:~ dp$ make
make: *** No targets specified and no makefile found. Stop.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/107, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABBnrgXoHbK5d193kxceaYyWtFyq3rWeks5qXsAfgaJpZM4JRV2k
.

--
John
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/107#issuecomment-234129482, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfkYNB_ZRgB8KEGLvIKFSz6HM-Q6Cks5qXsbBgaJpZM4JRV2k
.

probably need clean install
brian
On Wed, Jul 20, 2016 at 9:23 PM, brian avants<EMAIL_ADDRESS>wrote:

current versions as of around 6pm or so today should work ..... that's
when i updated ants, itkr and antsr to 4.11
brian
On Wed, Jul 20, 2016 at 9:09 PM, John Muschelli<EMAIL_ADDRESS>wrote:

This happened when ITK was 4.11 versus 4.9.
On Wednesday, July 20, 2016, dorianps<EMAIL_ADDRESS>wrote:

Hi guys, I am trying to install in Max OS for the first time, using R
CMD
commands. ITKR was installed without issues. But when I start ANTsR
installation the following errors appears. Any idea how to fix?
dp$ R CMD INSTALL ANTsR

installing to library
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
installing source package ‘ANTsR’ ...
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
darwin15 1
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa5564d1e423ba4000d50c35c3273ae8661cce7d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in
this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again.
Example:
git checkout -b
HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if
this works.
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- SuperBuild - ANTS => Requires ITKv4,
-- SuperBuild - ITKv4[OK]
-- SuperBuild - ANTS[OK]
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dp/ANTsR/src/antb
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include
-DNDEBUG -I/Library/Frameworks/R.framework/Resources/bin/Rscript -e 'ITKR:::itkIncludes()' -I/Users/dp/ANTsR/src
-I/Users/dp/ANTsR/src/ants//Examples/include/
-I/Users/dp/ANTsR/src/ants//Utilities -I/Users/dp/ANTsR/src/ants//Examples/
-I/Users/dp/ANTsR/src/ants//Tensor/ -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1
-I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include
-I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include"
-I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/include"
-fPIC -Wall -mtune=core2 -g -O2 -c Atropos.cpp -o Atropos.o
In file included from Atropos.cpp:5:
In file included from
/Users/dp/ANTsR/src/ants//Examples/include/ants.h:4:
In file included from
/Users/dp/ANTsR/src/ants//Examples/include/../../Utilities/itkSurfaceCurvatureBase.h:17:
In file included from
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_matops.h:21:
In file included from
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_vector.h:24:
In file included from
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_c_vector.h:29:

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:41:
error:

in-class initializer for static data member of type 'const float'
requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
^ ~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float zero
VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:41:
error:

in-class initializer for static data member of type 'const float'
requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
^ ~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float one
VCL_STATIC_CONST_INIT_FLOAT_...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:41:
error:

in-class initializer for static data member of type 'const float'
requires
'constexpr' specifier [-Wstatic-float-init]
...float maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
^ ~~~~~~~~~~~~~~~~~~~~~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float maxval
VCL_STATIC_CONST_INIT_FLO...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:42:
error:

in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double zero
VCL_STATIC_CONST_INIT_FLOA...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:42:
error:

in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double one
VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:42:
error:

in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^ ~~~~~~~~~~~~~~~~~~~~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double maxval
VCL_STATIC_CONST_INIT_FL...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:47:
error:

in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double zero
VCL_STATIC_CONST_INIT...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:47:
error:

in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^ ~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double one
VCL_STATIC_CONST_INIT_...
^
constexpr

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:47:
error:

in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval
VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^ ~~~~~~~~~~~~~~~~~~~~~~~

/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:3:
note:

add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double maxval
VCL_STATIC_CONST_IN...
^
constexpr
9 errors generated.
make: *** [Atropos.o] Error 1
ERROR: compilation failed for package ‘ANTsR’

removing
‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ANTsR’
Dorians-MacBook-Air:~ dp$ g++
clang: error: no input files
Dorians-MacBook-Air:~ dp$ make
make: *** No targets specified and no makefile found. Stop.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/107, or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABBnrgXoHbK5d193kxceaYyWtFyq3rWeks5qXsAfgaJpZM4JRV2k
.

--
John
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/107#issuecomment-234129482, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfkYNB_ZRgB8KEGLvIKFSz6HM-Q6Cks5qXsbBgaJpZM4JRV2k
.

Tried this:
Deleted ~/ITKR and ~/ANTsR
Deleted /Library/Frameworks/R.framework/Versions/3.1/Resources/library/
Installed Xcode
Cloned again ITKR and ANTsR from git.
The error is still the same. Could it be some other inconsistencies from switching versions?
Dorians-MacBook-Air:~ dp$ R CMD INSTALL ANTsR
* installing to library ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
* installing *source* package ‘ANTsR’ ...
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
darwin15 1
Cloning into 'ants'...
remote: Counting objects: 19750, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 19750 (delta 0), reused 0 (delta 0), pack-reused 19746
Receiving objects: 100% (19750/19750), 18.38 MiB | 3.22 MiB/s, done.
Resolving deltas: 100% (13548/13548), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa5564d1e423ba4000d50c35c3273ae8661cce7d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if this works.
-- The C compiler identification is AppleClang <IP_ADDRESS>30031
-- The CXX compiler identification is AppleClang <IP_ADDRESS>30031
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_HAS_WARNING-Wno-uninitialized
-- Performing Test C_HAS_WARNING-Wno-uninitialized - Success
-- Performing Test C_HAS_WARNING-Wno-unused-parameter
-- Performing Test C_HAS_WARNING-Wno-unused-parameter - Success
-- Performing Test C_HAS_WARNING-Wall
-- Performing Test C_HAS_WARNING-Wall - Success
-- Performing Test C_HAS_WARNING-Wcast-align
-- Performing Test C_HAS_WARNING-Wcast-align - Success
-- Performing Test C_HAS_WARNING-Wdisabled-optimization
-- Performing Test C_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test C_HAS_WARNING-Wextra
-- Performing Test C_HAS_WARNING-Wextra - Success
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test C_HAS_WARNING-Winvalid-pch
-- Performing Test C_HAS_WARNING-Winvalid-pch - Success
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test C_HAS_WARNING-Wpointer-arith
-- Performing Test C_HAS_WARNING-Wpointer-arith - Success
-- Performing Test C_HAS_WARNING-Wshadow
-- Performing Test C_HAS_WARNING-Wshadow - Success
-- Performing Test C_HAS_WARNING-Wunused
-- Performing Test C_HAS_WARNING-Wunused - Success
-- Performing Test C_HAS_WARNING-Wwrite-strings
-- Performing Test C_HAS_WARNING-Wwrite-strings - Success
-- Performing Test C_HAS_WARNING-funit-at-a-time
-- Performing Test C_HAS_WARNING-funit-at-a-time - Success
-- Performing Test C_HAS_WARNING-Wno-strict-overflow
-- Performing Test C_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wall
-- Performing Test CXX_HAS_WARNING-Wall - Success
-- Performing Test CXX_HAS_WARNING-Wcast-align
-- Performing Test CXX_HAS_WARNING-Wcast-align - Success
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test CXX_HAS_WARNING-Wextra
-- Performing Test CXX_HAS_WARNING-Wextra - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Winvalid-pch
-- Performing Test CXX_HAS_WARNING-Winvalid-pch - Success
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test CXX_HAS_WARNING-Wpointer-arith
-- Performing Test CXX_HAS_WARNING-Wpointer-arith - Success
-- Performing Test CXX_HAS_WARNING-Wshadow
-- Performing Test CXX_HAS_WARNING-Wshadow - Success
-- Performing Test CXX_HAS_WARNING-Wunused
-- Performing Test CXX_HAS_WARNING-Wunused - Success
-- Performing Test CXX_HAS_WARNING-Wwrite-strings
-- Performing Test CXX_HAS_WARNING-Wwrite-strings - Success
-- Performing Test CXX_HAS_WARNING-funit-at-a-time
-- Performing Test CXX_HAS_WARNING-funit-at-a-time - Success
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wno-deprecated
-- Performing Test CXX_HAS_WARNING-Wno-deprecated - Success
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof - Success
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual - Success
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel - Failed
-- Found Git: /usr/bin/git (found version "2.7.4 (Apple Git-66)")
-- SuperBuild - ANTS => Requires ITKv4,
-- SuperBuild -   ITKv4[OK]
-- SuperBuild - ANTS[OK]
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_EXTERNAL_APPLICATIONS

-- Build files have been written to: /Users/dp/ANTsR/src/antb
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I`/Library/Frameworks/R.framework/Resources/bin/Rscript -e 'ITKR:::itkIncludes()'` -I/Users/dp/ANTsR/src -I/Users/dp/ANTsR/src/ants//Examples/include/   -I/Users/dp/ANTsR/src/ants//Utilities -I/Users/dp/ANTsR/src/ants//Examples/   -I/Users/dp/ANTsR/src/ants//Tensor/ -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1 -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/include"   -fPIC  -Wall -mtune=core2 -g -O2 -c Atropos.cpp -o Atropos.o
In file included from Atropos.cpp:5:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/ants.h:4:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/../../Utilities/itkSurfaceCurvatureBase.h:17:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_matops.h:21:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_vector.h:24:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_c_vector.h:29:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:41: error:
      in-class initializer for static data member of type 'const float' requires
      'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
                         ^                                     ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:41: error:
      in-class initializer for static data member of type 'const float' requires
      'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
                         ^                                    ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:41: error:
      in-class initializer for static data member of type 'const float' requires
      'constexpr' specifier [-Wstatic-float-init]
  ...float maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
           ^                                       ~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR float maxval VCL_STATIC_CONST_INIT_FLO...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:42: error:
      in-class initializer for static data member of type 'const double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
                          ^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOA...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:42: error:
      in-class initializer for static data member of type 'const double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
                          ^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:42: error:
      in-class initializer for static data member of type 'const double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
            ^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR double maxval VCL_STATIC_CONST_INIT_FL...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:47: error:
      in-class initializer for static data member of type 'const long double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
                               ^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:47: error:
      in-class initializer for static data member of type 'const long double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
                               ^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_...
  ^
  constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:47: error:
      in-class initializer for static data member of type 'const long double'
      requires 'constexpr' specifier [-Wstatic-float-init]
  ...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
            ^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:3: note:
      add 'constexpr'
  static VNL_EXPORT VXL_CONSTEXPR long double maxval VCL_STATIC_CONST_IN...
  ^
  constexpr
9 errors generated.
make: *** [Atropos.o] Error 1
ERROR: compilation failed for package ‘ANTsR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ANTsR’
Dorians-MacBook-Air:~ dp$

see
https://github.com/stnava/ANTsR/blob/master/configure#L39
antsr should compile if you remove -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1
this may also be ok to remove in the master version but not sure as it
may depend on clang versions ... needs more testing.
brian
On Wed, Jul 20, 2016 at 10:16 PM, dorianps<EMAIL_ADDRESS>wrote:

Tried this:
Deleted ~/ITKR and ~/ANTsR
Deleted /Library/Frameworks/R.framework/Versions/3.1/Resources/library/
Installed Xcode
Cloned again ITKR and ANTsR from git.
The error is still the same. Could it be some other inconsistencies from
switching versions?
Dorians-MacBook-Air:~ dp$ R CMD INSTALL ANTsR

installing to library ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library’
installing source package ‘ANTsR’ ...
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
darwin15 1
Cloning into 'ants'...
remote: Counting objects: 19750, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 19750 (delta 0), reused 0 (delta 0), pack-reused 19746
Receiving objects: 100% (19750/19750), 18.38 MiB | 3.22 MiB/s, done.
Resolving deltas: 100% (13548/13548), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Already up-to-date.
Note: checking out 'fa5564d1e423ba4000d50c35c3273ae8661cce7d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at fa5564d... COMP: update to itk 4.11 ... let us see if this works.
-- The C compiler identification is AppleClang <IP_ADDRESS>30031
-- The CXX compiler identification is AppleClang <IP_ADDRESS>30031
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_HAS_WARNING-Wno-uninitialized
-- Performing Test C_HAS_WARNING-Wno-uninitialized - Success
-- Performing Test C_HAS_WARNING-Wno-unused-parameter
-- Performing Test C_HAS_WARNING-Wno-unused-parameter - Success
-- Performing Test C_HAS_WARNING-Wall
-- Performing Test C_HAS_WARNING-Wall - Success
-- Performing Test C_HAS_WARNING-Wcast-align
-- Performing Test C_HAS_WARNING-Wcast-align - Success
-- Performing Test C_HAS_WARNING-Wdisabled-optimization
-- Performing Test C_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test C_HAS_WARNING-Wextra
-- Performing Test C_HAS_WARNING-Wextra - Success
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Success
-- Performing Test C_HAS_WARNING-Winvalid-pch
-- Performing Test C_HAS_WARNING-Winvalid-pch - Success
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test C_HAS_WARNING-Wpointer-arith
-- Performing Test C_HAS_WARNING-Wpointer-arith - Success
-- Performing Test C_HAS_WARNING-Wshadow
-- Performing Test C_HAS_WARNING-Wshadow - Success
-- Performing Test C_HAS_WARNING-Wunused
-- Performing Test C_HAS_WARNING-Wunused - Success
-- Performing Test C_HAS_WARNING-Wwrite-strings
-- Performing Test C_HAS_WARNING-Wwrite-strings - Success
-- Performing Test C_HAS_WARNING-funit-at-a-time
-- Performing Test C_HAS_WARNING-funit-at-a-time - Success
-- Performing Test C_HAS_WARNING-Wno-strict-overflow
-- Performing Test C_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wall
-- Performing Test CXX_HAS_WARNING-Wall - Success
-- Performing Test CXX_HAS_WARNING-Wcast-align
-- Performing Test CXX_HAS_WARNING-Wcast-align - Success
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test CXX_HAS_WARNING-Wextra
-- Performing Test CXX_HAS_WARNING-Wextra - Success
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Success
-- Performing Test CXX_HAS_WARNING-Winvalid-pch
-- Performing Test CXX_HAS_WARNING-Winvalid-pch - Success
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test CXX_HAS_WARNING-Wpointer-arith
-- Performing Test CXX_HAS_WARNING-Wpointer-arith - Success
-- Performing Test CXX_HAS_WARNING-Wshadow
-- Performing Test CXX_HAS_WARNING-Wshadow - Success
-- Performing Test CXX_HAS_WARNING-Wunused
-- Performing Test CXX_HAS_WARNING-Wunused - Success
-- Performing Test CXX_HAS_WARNING-Wwrite-strings
-- Performing Test CXX_HAS_WARNING-Wwrite-strings - Success
-- Performing Test CXX_HAS_WARNING-funit-at-a-time
-- Performing Test CXX_HAS_WARNING-funit-at-a-time - Success
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wno-deprecated
-- Performing Test CXX_HAS_WARNING-Wno-deprecated - Success
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof - Success
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual - Success
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel - Failed
-- Found Git: /usr/bin/git (found version "2.7.4 (Apple Git-66)")
-- SuperBuild - ANTS => Requires ITKv4,
-- SuperBuild -   ITKv4[OK]
-- SuperBuild - ANTS[OK]
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_EXTERNAL_APPLICATIONS

-- Build files have been written to: /Users/dp/ANTsR/src/antb
** libs
clang++ -std=c++11 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/Library/Frameworks/R.framework/Resources/bin/Rscript -e 'ITKR:::itkIncludes()' -I/Users/dp/ANTsR/src -I/Users/dp/ANTsR/src/ants//Examples/include/   -I/Users/dp/ANTsR/src/ants//Utilities -I/Users/dp/ANTsR/src/ants//Examples/   -I/Users/dp/ANTsR/src/ants//Tensor/ -DVCL_CAN_STATIC_CONST_INIT_FLOAT=1 -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/include"   -fPIC  -Wall -mtune=core2 -g -O2 -c Atropos.cpp -o Atropos.o
In file included from Atropos.cpp:5:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/ants.h:4:
In file included from /Users/dp/ANTsR/src/ants//Examples/include/../../Utilities/itkSurfaceCurvatureBase.h:17:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_matops.h:21:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_vector.h:24:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_c_vector.h:29:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:41: error:
in-class initializer for static data member of type 'const float' requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0F);
^                                     ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:389:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float zero VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:41: error:
in-class initializer for static data member of type 'const float' requires
'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0F);
^                                    ~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:391:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float one VCL_STATIC_CONST_INIT_FLOAT_...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:41: error:
in-class initializer for static data member of type 'const float' requires
'constexpr' specifier [-Wstatic-float-init]
...float maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(3.40282346638528860e+38F);
^                                       ~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:393:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR float maxval VCL_STATIC_CONST_INIT_FLO...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:42: error:
in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:412:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double zero VCL_STATIC_CONST_INIT_FLOA...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:42: error:
in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:414:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double one VCL_STATIC_CONST_INIT_FLOAT...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:42: error:
in-class initializer for static data member of type 'const double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:416:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR double maxval VCL_STATIC_CONST_INIT_FL...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:47: error:
in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT_FLOAT_DECL(0.0);
^                                     ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:435:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double zero VCL_STATIC_CONST_INIT...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:47: error:
in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_FLOAT_DECL(1.0);
^                                    ~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:437:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double one VCL_STATIC_CONST_INIT_...
^
constexpr
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:47: error:
in-class initializer for static data member of type 'const long double'
requires 'constexpr' specifier [-Wstatic-float-init]
...double maxval VCL_STATIC_CONST_INIT_FLOAT_DECL(1.7976931348623157E+308);
^                                       ~~~~~~~~~~~~~~~~~~~~~~~
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ITKR/libs/include/ITK-4.11/vnl/vnl_numeric_traits.h:439:3: note:
add 'constexpr'
static VNL_EXPORT VXL_CONSTEXPR long double maxval VCL_STATIC_CONST_IN...
^
constexpr
9 errors generated.
make: *** [Atropos.o] Error 1
ERROR: compilation failed for package ‘ANTsR’

removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ANTsR’
Dorians-MacBook-Air:~ dp$

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTsR/issues/107#issuecomment-234138341, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfrFc1h6voFCqB-nkTeZKyffKEcLwks5qXtZkgaJpZM4JRV2k
.

Setting those couple of instances = 0 fixed it. All is installed now.


Fix: Unrecognized field "resource_id" (#307)

Please check if the PR fulfills these requirements

[ x] The commit messages are descriptive
[ x] Tests for the changes have been added (for bug fixes / features)
[ x] Docs have been added / updated (for bug fixes / features)
[x ] An issue has been created for the pull requests. Some issues might require previous discussion.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix:
Added resource_id property to ServiceAccount to remove JSON error.

What is the current behavior? (You can also link to an open issue here)
See https://github.com/kafka-ops/julie/issues/307

When attempting to manage Confluent Cloud service accounts with the JulieOps CLI tool while using any version of ccloud above v1.27.0, the error message:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "resource_id" (class com.purbon.kafka.topology.model.cluster.ServiceAccount), not marked as ignorable (3 known properties: "id", "description", "name"])

appears in the output.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No

Hi @mvanbrummen thanks a lot for your contribution, I much appreciate it. I know is not well covered for all things, but I would appreciate adding tests ;-) I will try to ask all the time this in the future jejejejje


Error in shards on Mac: unpack requires a buffer of 4 bytes

I compiled the code but I get errors every time I interact with shards:
 shards> list-shards
unpack requires a buffer of 4 bytes
Hmm. Something went wrong.

I include test results and the errors i get with
# make lint
What is your environment?

Operation system & version: [Mac OS 10.14.6]
Python & pip versions: [Python3 3.8.3, pip3 19.2.3]
Terminal emulator: [iTerm]

Screenshots
Tests:

===================================== test session starts ======================================
platform darwin -- Python 3.7.0, pytest-4.4.0, py-1.8.0, pluggy-0.12.0
rootdir: /Users/roberto/hermit
plugins: cov-2.6.1
collected 109 items

tests/test_config.py ....                                                                [  3%]
tests/test_errors.py ..                                                                  [  5%]
tests/test_functional_bitcoin_tests.py ..                                                [  7%]
tests/test_rng.py ...                                                                    [ 10%]
tests/test_wallet.py ..........                                                          [ 19%]
tests/qrcode/test_displayer.py ....                                                      [ 22%]
tests/qrcode/test_format.py .........                                                    [ 31%]
tests/qrcode/test_limits.py .........                                                    [ 39%]
tests/qrcode/test_reader.py ..                                                           [ 41%]
tests/shards/test_shard.py ........                                                      [ 48%]
tests/shards/test_shard_set.py .ss.......                                                [ 57%]
tests/signer/test_base.py .........                                                      [ 66%]
tests/signer/test_bitcoin_signer.py ...................................                  [ 98%]
tests/signer/test_echo_signer.py ..                                                      [100%]

======================================= warnings summary =======================================
tests/qrcode/test_displayer.py::TestDisplayQRCode::test_valid_qr_code[fixture_opensource_bitcoin_vector_0]
tests/qrcode/test_displayer.py::TestDisplayQRCode::test_valid_qr_code[fixture_opensource_bitcoin_vector_1]
  /Users/roberto/hermit/.virtualenv/lib/python3.7/site-packages/_pytest/python.py:178: RuntimeWarning: coroutine 'TestDisplayQRCode.test_valid_qr_code' was never awaited
    testfunction(**testargs)

-- Docs: https://docs.pytest.org/en/latest/warnings.html

---------- coverage: platform darwin, python 3.7.0-final-0 -----------
Name                              Stmts   Miss Branch BrPart  Cover   Missing
-----------------------------------------------------------------------------
hermit/config.py                     29      0     14      0   100%
hermit/errors.py                      5      0      0      0   100%
hermit/plugin.py                     11      5      6      1    41%   10-15, 9->10
hermit/qrcode/displayer.py           22      8      2      0    58%   13-14, 18-26
hermit/qrcode/format.py              40      7      8      1    83%   11, 41-46, 10->11
hermit/qrcode/reader.py              43      3     10      4    87%   47-48, 62, 27->65, 31->55, 51->31, 59->62
hermit/qrcode/utils.py                3      1      0      0    67%   5
hermit/rng.py                        58     29     12      0    50%   48-76, 93-96, 99-105, 108-109
hermit/shamir_share.py               43      2      6      0    92%   30-31
hermit/shards/interface.py          128    103     42      0    16%   24-25, 28-36, 39-49, 56-68, 75-83, 88-109, 112, 116, 120-121, 124-142, 145-163, 166-216
hermit/shards/shard.py               67      6     12      5    86%   29, 45, 55, 65, 93, 128, 28->29, 44->45, 54->55, 64->65, 92->93
hermit/shards/shard_set.py          205     78     62      7    60%   58-83, 86, 94-96, 99-100, 198-199, 205-207, 210, 226-232, 235-246, 249, 252-254, 257-269, 275-277, 285-298, 301, 304-305, 308-310, 313-318, 322, 325, 328, 331-333, 57->58, 85->86, 89->exit, 132->134, 197->198, 209->210, 274->275
hermit/signer/base.py                73      0     18      0   100%
hermit/signer/bitcoin_signer.py     183      0     80      0   100%
hermit/signer/echo_signer.py         11      0      0      0   100%
hermit/ui/base.py                    27     27      6      0     0%   1-40
hermit/ui/common.py                  27     27      2      0     0%   1-74
hermit/ui/main.py                    16     16      2      0     0%   1-29
hermit/ui/relocker.py                15     15      6      0     0%   1-21
hermit/ui/repl.py                    62     62     26      0     0%   1-91
hermit/ui/shards.py                  49     49      2      0     0%   1-341
hermit/ui/state.py                    8      8      0      0     0%   1-15
hermit/ui/toolbar.py                 17     17      6      0     0%   1-25
hermit/ui/wallet.py                  41     41      2      0     0%   1-203
hermit/wallet.py                     55      0     12      0   100%
-----------------------------------------------------------------------------
TOTAL                              1238    504    336     18    59%

====================== 107 passed, 2 skipped, 2 warnings in 16.15 seconds ======================

make lint
.virtualenv/bin/flake8 hermit --exclude=__init__.py
hermit/config.py:16:80: E501 line too long (131 > 79 characters)
hermit/config.py:82:80: E501 line too long (90 > 79 characters)
hermit/rng.py:7:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:2:80: E501 line too long (85 > 79 characters)
hermit/shamir_share.py:3:80: E501 line too long (84 > 79 characters)
hermit/shamir_share.py:7:47: W291 trailing whitespace
hermit/shamir_share.py:11:1: F401 'hashlib' imported but unused
hermit/shamir_share.py:12:1: F401 'hmac' imported but unused
hermit/shamir_share.py:13:1: F401 'os' imported but unused
hermit/shamir_share.py:16:1: F403 'from shamir_mnemonic import *' used; unable to detect undefined names
hermit/shamir_share.py:17:80: E501 line too long (82 > 79 characters)
hermit/shamir_share.py:20:80: E501 line too long (80 > 79 characters)
hermit/shamir_share.py:25:1: E302 expected 2 blank lines, found 0
hermit/shamir_share.py:29:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:30:8: F405 'length' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:30:24: E225 missing whitespace around operator
hermit/shamir_share.py:33:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:37:12: F405 'mnemonic_from_indices' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:37:75: E231 missing whitespace after ','
hermit/shamir_share.py:37:80: E501 line too long (130 > 79 characters)
hermit/shamir_share.py:37:107: F405 'RADIX_BITS' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:37:119: F405 'RADIX_BITS' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:45:30: F405 'mnemonic_to_indices' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:45:70: F405 'bits_to_bytes' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:45:80: E501 line too long (113 > 79 characters)
hermit/shamir_share.py:45:84: F405 'RADIX_BITS' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:45:106: E203 whitespace before ','
hermit/shamir_share.py:45:107: E231 missing whitespace after ','
hermit/shamir_share.py:47:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:48:80: E501 line too long (133 > 79 characters)
hermit/shamir_share.py:52:80: E501 line too long (85 > 79 characters)
hermit/shamir_share.py:53:80: E501 line too long (130 > 79 characters)
hermit/shamir_share.py:55:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:56:80: E501 line too long (141 > 79 characters)
hermit/shamir_share.py:60:80: E501 line too long (95 > 79 characters)
hermit/shamir_share.py:61:80: E501 line too long (130 > 79 characters)
hermit/shamir_share.py:63:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:64:15: F405 'decode_mnemonic' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:66:12: F405 'encode_mnemonic' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:68:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:69:15: F405 'decode_mnemonic' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:72:12: F405 'encode_mnemonic' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:74:1: E302 expected 2 blank lines, found 1
hermit/shamir_share.py:75:15: F405 'decode_mnemonic' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:77:12: F405 'encode_mnemonic' may be undefined, or defined from star imports: shamir_mnemonic
hermit/shamir_share.py:78:1: W391 blank line at end of file
hermit/plugin.py:8:10: E222 multiple spaces after operator
hermit/ui/repl.py:1:1: F401 'asyncio' imported but unused
hermit/ui/repl.py:11:1: F403 'from .base import *' used; unable to detect undefined names
hermit/ui/repl.py:12:1: F403 'from .toolbar import *' used; unable to detect undefined names
hermit/ui/repl.py:17:1: E302 expected 2 blank lines, found 1
hermit/ui/repl.py:17:18: E231 missing whitespace after ':'
hermit/ui/repl.py:17:19: F405 'Dict' may be undefined, or defined from star imports: .base, .toolbar
hermit/ui/repl.py:20:22: E261 at least two spaces before inline comment
hermit/ui/repl.py:25:29: E128 continuation line under-indented for visual indent
hermit/ui/repl.py:25:44: F405 'bottom_toolbar' may be undefined, or defined from star imports: .base, .toolbar
hermit/ui/repl.py:26:29: E128 continuation line under-indented for visual indent
hermit/ui/repl.py:27:64: F405 'bottom_toolbar' may be undefined, or defined from star imports: .base, .toolbar
hermit/ui/repl.py:35:80: E501 line too long (97 > 79 characters)
hermit/ui/repl.py:36:47: E128 continuation line under-indented for visual indent
hermit/ui/repl.py:37:47: E124 closing bracket does not match visual indentation
hermit/ui/repl.py:52:27: F405 'HermitError' may be undefined, or defined from star imports: .base, .toolbar
hermit/ui/repl.py:56:20: F405 'HermitError' may be undefined, or defined from star imports: .base, .toolbar
hermit/ui/repl.py:75:25: F405 'DeadTime' may be undefined, or defined from star imports: .base, .toolbar
hermit/ui/toolbar.py:1:1: F401 'asyncio' imported but unused
hermit/ui/toolbar.py:3:1: F403 'from .base import *' used; unable to detect undefined names
hermit/ui/toolbar.py:6:12: F405 'DeadTime' may be undefined, or defined from star imports: .base
hermit/ui/toolbar.py:6:27: F405 'DeadTime' may be undefined, or defined from star imports: .base
hermit/ui/toolbar.py:8:1: E302 expected 2 blank lines, found 1
hermit/ui/toolbar.py:19:9: F405 'DeadTime' may be undefined, or defined from star imports: .base
hermit/ui/toolbar.py:21:55: F405 'DeadTime' may be undefined, or defined from star imports: .base
hermit/ui/common.py:1:1: F403 'from .base import *' used; unable to detect undefined names
hermit/ui/common.py:5:1: F401 'traceback' imported but unused
hermit/ui/common.py:6:1: F401 'sys' imported but unused
hermit/ui/common.py:7:31: E703 statement ends with a semicolon
hermit/ui/common.py:9:1: E302 expected 2 blank lines, found 1
hermit/ui/common.py:20:7: E111 indentation is not a multiple of four
hermit/ui/common.py:21:12: F405 'HermitError' may be undefined, or defined from star imports: .base
hermit/ui/common.py:22:7: E111 indentation is not a multiple of four
hermit/ui/common.py:22:7: F405 'print_formatted_text' may be undefined, or defined from star imports: .base
hermit/ui/common.py:23:7: E114 indentation is not a multiple of four (comment)
hermit/ui/common.py:23:7: E265 block comment should start with '# '
hermit/ui/common.py:25:25: F405 'DeadTime' may be undefined, or defined from star imports: .base
hermit/ui/common.py:41:1: E302 expected 2 blank lines, found 1
hermit/ui/common.py:48:5: F405 'clear_screen' may be undefined, or defined from star imports: .base
hermit/ui/common.py:50:1: E302 expected 2 blank lines, found 1
hermit/ui/common.py:65:1: E302 expected 2 blank lines, found 1
hermit/ui/common.py:65:1: F811 redefinition of unused 'unlock' from line 9
hermit/ui/common.py:71:1: W293 blank line contains whitespace
hermit/ui/common.py:72:1: W293 blank line contains whitespace
hermit/ui/common.py:74:5: F405 'print_formatted_text' may be undefined, or defined from star imports: .base
hermit/ui/main.py:5:1: F403 'from .wallet import *' used; unable to detect undefined names
hermit/ui/main.py:6:1: F403 'from .common import *' used; unable to detect undefined names
hermit/ui/main.py:7:1: F403 'from .relocker import *' used; unable to detect undefined names
hermit/ui/main.py:21:1: E302 expected 2 blank lines, found 1
hermit/ui/main.py:22:5: F405 'clear_screen' may be undefined, or defined from star imports: .common, .relocker, .wallet
hermit/ui/main.py:27:12: F405 'asyncio' may be undefined, or defined from star imports: .common, .relocker, .wallet
hermit/ui/main.py:28:5: F841 local variable 'deadman_task' is assigned to but never used
hermit/ui/main.py:28:37: F405 'relock_wallet_if_timed_out' may be undefined, or defined from star imports: .common, .relocker, .wallet
hermit/ui/main.py:29:29: F405 'wallet_repl' may be undefined, or defined from star imports: .common, .relocker, .wallet
hermit/ui/relocker.py:3:1: F403 'from .base import *' used; unable to detect undefined names
hermit/ui/relocker.py:3:1: F401 '.base.*' imported but unused
hermit/ui/relocker.py:6:1: E302 expected 2 blank lines, found 1
hermit/ui/relocker.py:11:1: E302 expected 2 blank lines, found 1
hermit/ui/shards.py:3:1: F403 'from .base import *' used; unable to detect undefined names
hermit/ui/shards.py:6:16: F405 'Dict' may be undefined, or defined from star imports: .base
hermit/ui/shards.py:8:1: E302 expected 2 blank lines, found 1
hermit/ui/shards.py:9:12: F405 'command' may be undefined, or defined from star imports: .base
hermit/ui/shards.py:79:2: W291 trailing whitespace
hermit/ui/shards.py:145:15: F405 'reader' may be undefined, or defined from star imports: .base
hermit/ui/shards.py:159:1: E302 expected 2 blank lines, found 1
hermit/ui/shards.py:167:5: F405 'displayer' may be undefined, or defined from star imports: .base
hermit/ui/shards.py:284:1: E303 too many blank lines (3)
hermit/ui/shards.py:298:1: E303 too many blank lines (3)
hermit/ui/shards.py:313:1: E302 expected 2 blank lines, found 3
hermit/ui/shards.py:318:5: F405 'clear_screen' may be undefined, or defined from star imports: .base
hermit/ui/shards.py:341:9: F405 'print_formatted_text' may be undefined, or defined from star imports: .base
hermit/ui/shards.py:341:30: F405 'HTML' may be undefined, or defined from star imports: .base
hermit/ui/base.py:4:1: F401 'prompt_toolkit.HTML' imported but unused
hermit/ui/base.py:4:1: F401 'prompt_toolkit.print_formatted_text' imported but unused
hermit/ui/base.py:7:1: F401 'hermit.qrcode.displayer' imported but unused
hermit/ui/base.py:7:1: F401 'hermit.qrcode.reader' imported but unused
hermit/ui/base.py:11:1: E302 expected 2 blank lines, found 1
hermit/ui/base.py:15:1: E302 expected 2 blank lines, found 1
hermit/ui/base.py:18:1: E302 expected 2 blank lines, found 1
hermit/ui/base.py:18:27: E231 missing whitespace after ':'
hermit/ui/wallet.py:7:1: F403 'from .base import *' used; unable to detect undefined names
hermit/ui/wallet.py:12:17: F405 'Dict' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:14:1: E302 expected 2 blank lines, found 1
hermit/ui/wallet.py:15:12: F405 'command' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:83:5: F405 'displayer' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:83:80: E501 line too long (81 > 79 characters)
hermit/ui/wallet.py:106:5: F405 'displayer' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:106:80: E501 line too long (85 > 79 characters)
hermit/ui/wallet.py:116:5: F405 'clear_screen' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:128:5: F405 'clear_screen' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:166:30: F405 'HTML' may be undefined, or defined from star imports: .base
hermit/ui/wallet.py:202:1: E302 expected 2 blank lines, found 1
hermit/signer/bitcoin_signer.py:79:1: W293 blank line contains whitespace
hermit/signer/bitcoin_signer.py:108:80: E501 line too long (81 > 79 characters)
hermit/signer/bitcoin_signer.py:115:80: E501 line too long (119 > 79 characters)
hermit/signer/bitcoin_signer.py:183:80: E501 line too long (85 > 79 characters)
hermit/signer/bitcoin_signer.py:233:20: E221 multiple spaces before operator
hermit/signer/bitcoin_signer.py:238:55: E261 at least two spaces before inline comment
hermit/signer/bitcoin_signer.py:239:1: W293 blank line contains whitespace
hermit/signer/bitcoin_signer.py:280:80: E501 line too long (111 > 79 characters)
hermit/signer/bitcoin_signer.py:317:10: W291 trailing whitespace
hermit/signer/bitcoin_signer.py:320:10: W291 trailing whitespace
hermit/signer/echo_signer.py:1:1: F401 'hermit.qrcode.displayer' imported but unused
hermit/signer/echo_signer.py:17:1: W293 blank line contains whitespace
hermit/signer/base.py:7:1: F401 'hermit' imported but unused
hermit/signer/base.py:78:45: E231 missing whitespace after ':'
hermit/signer/base.py:123:45: E231 missing whitespace after ':'
hermit/signer/base.py:143:5: E303 too many blank lines (2)
hermit/signer/base.py:162:80: E501 line too long (80 > 79 characters)
hermit/signer/base.py:169:5: E303 too many blank lines (2)
hermit/signer/base.py:176:5: E303 too many blank lines (2)
hermit/shards/interface.py:28:80: E501 line too long (80 > 79 characters)
hermit/shards/interface.py:35:1: W293 blank line contains whitespace
hermit/shards/interface.py:37:1: W293 blank line contains whitespace
hermit/shards/interface.py:41:18: E222 multiple spaces after operator
hermit/shards/interface.py:41:80: E501 line too long (85 > 79 characters)
hermit/shards/interface.py:61:44: W291 trailing whitespace
hermit/shards/interface.py:76:80: E501 line too long (116 > 79 characters)
hermit/shards/interface.py:83:80: E501 line too long (96 > 79 characters)
hermit/shards/interface.py:97:80: E501 line too long (80 > 79 characters)
hermit/shards/interface.py:124:80: E501 line too long (92 > 79 characters)
hermit/shards/interface.py:165:67: E231 missing whitespace after ','
hermit/shards/interface.py:168:80: E501 line too long (81 > 79 characters)
hermit/shards/interface.py:172:80: E501 line too long (141 > 79 characters)
hermit/shards/interface.py:173:15: E203 whitespace before ':'
hermit/shards/interface.py:173:32: E231 missing whitespace after ','
hermit/shards/interface.py:176:80: E501 line too long (88 > 79 characters)
hermit/shards/interface.py:188:80: E501 line too long (148 > 79 characters)
hermit/shards/interface.py:192:80: E501 line too long (158 > 79 characters)
hermit/shards/interface.py:212:80: E501 line too long (130 > 79 characters)
hermit/shards/shard_set.py:18:1: E302 expected 2 blank lines, found 1
hermit/shards/shard_set.py:35:12: E713 test for membership should be 'not in'
hermit/shards/shard_set.py:86:80: E501 line too long (89 > 79 characters)
hermit/shards/shard_set.py:108:80: E501 line too long (80 > 79 characters)
hermit/shards/shard_set.py:152:80: E501 line too long (86 > 79 characters)
hermit/shards/shard_set.py:155:80: E501 line too long (86 > 79 characters)
hermit/shards/shard_set.py:158:80: E501 line too long (117 > 79 characters)
hermit/shards/shard_set.py:177:17: E203 whitespace before ':'
hermit/shards/shard_set.py:177:36: E225 missing whitespace around operator
hermit/shards/shard_set.py:178:26: E203 whitespace before ':'
hermit/shards/shard_set.py:178:42: E225 missing whitespace around operator
hermit/shards/shard_set.py:179:27: E203 whitespace before ':'
hermit/shards/shard_set.py:180:24: E203 whitespace before ':'
hermit/shards/shard_set.py:190:80: E501 line too long (92 > 79 characters)
hermit/shards/shard_set.py:196:31: E231 missing whitespace after ','
hermit/shards/shard_set.py:196:80: E501 line too long (94 > 79 characters)
hermit/shards/shard_set.py:199:80: E501 line too long (101 > 79 characters)
hermit/shards/shard_set.py:205:13: E722 do not use bare 'except'
hermit/shards/shard_set.py:210:80: E501 line too long (81 > 79 characters)
hermit/shards/shard_set.py:220:80: E501 line too long (85 > 79 characters)
hermit/shards/shard_set.py:230:80: E501 line too long (81 > 79 characters)
hermit/shards/shard_set.py:265:80: E501 line too long (85 > 79 characters)
hermit/shards/shard_set.py:291:80: E501 line too long (92 > 79 characters)
hermit/shards/shard.py:6:1: E302 expected 2 blank lines, found 1
hermit/shards/shard.py:77:80: E501 line too long (89 > 79 characters)
hermit/shards/shard.py:105:80: E501 line too long (91 > 79 characters)
hermit/shards/shard.py:131:80: E501 line too long (110 > 79 characters)
hermit/shards/shard.py:135:80: E501 line too long (95 > 79 characters)
hermit/shards/shard.py:138:80: E501 line too long (124 > 79 characters)
make: [lint] Error 1 (ignored)
.virtualenv/bin/mypy hermit/
hermit/shards/interface.py:34: error: Incompatible return value type (got "None", expected "bytes")
hermit/shards/interface.py:46: error: Incompatible return value type (got "None", expected "bytes")
hermit/shards/interface.py:63: error: Incompatible types in assignment (expression has type "None", variable has type "bytes")
hermit/shards/interface.py:66: error: Incompatible types in assignment (expression has type "None", variable has type "bytes")
hermit/shards/shard_set.py:183: error: Need type annotation for 'filled_groups'
hermit/signer/bitcoin_signer.py:109: error: Need type annotation for 'inputs'
hermit/signer/bitcoin_signer.py:157: error: "bytes" has no attribute "encode"; maybe "decode"?
hermit/signer/bitcoin_signer.py:277: error: Need type annotation for 'parsed_redeem_scripts'
hermit/signer/bitcoin_signer.py:290: error: "CBitcoinAddress" has no attribute "to_scriptPubKey"; maybe "from_scriptPubKey"?
hermit/signer/bitcoin_signer.py:299: error: Need type annotation for 'keys'
hermit/ui/repl.py:24: error: Incompatible types in assignment (expression has type "PromptSession", variable has type "None")
hermit/ui/repl.py:35: error: "None" has no attribute "prompt"
hermit/ui/common.py:65: error: Name 'unlock' already defined on line 9
make: [lint] Error 1 (ignored)
´´´

Hi there - can you try to run write before list-shards ?


stupidterm: 2018-03-10 -> 2018-09-25

Motivation for this change
Diff: https://github.com/esmil/stupidterm/compare/0463519a96c9e4f9ce9fdc99d8e776499346ccba..d1bc020797330df83d427e361d3620e346a4e792
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Fits CONTRIBUTING.md.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: stupidterm
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: stupidterm
Partial log (click to expand)
installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/aac3jjviirl7sasy50vpbj6fwhmz3y9v-stupidterm-2018-09-25
shrinking /nix/store/aac3jjviirl7sasy50vpbj6fwhmz3y9v-stupidterm-2018-09-25/bin/stupidterm
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/aac3jjviirl7sasy50vpbj6fwhmz3y9v-stupidterm-2018-09-25/bin
patching script interpreter paths in /nix/store/aac3jjviirl7sasy50vpbj6fwhmz3y9v-stupidterm-2018-09-25
checking for references to /build in /nix/store/aac3jjviirl7sasy50vpbj6fwhmz3y9v-stupidterm-2018-09-25...
/nix/store/aac3jjviirl7sasy50vpbj6fwhmz3y9v-stupidterm-2018-09-25

Success on x86_64-linux (full log)
Attempted: stupidterm
Partial log (click to expand)
installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0rmjv87sh3qzqzcld6ssnmr8skba7x24-stupidterm-2018-09-25
shrinking /nix/store/0rmjv87sh3qzqzcld6ssnmr8skba7x24-stupidterm-2018-09-25/bin/stupidterm
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0rmjv87sh3qzqzcld6ssnmr8skba7x24-stupidterm-2018-09-25/bin
patching script interpreter paths in /nix/store/0rmjv87sh3qzqzcld6ssnmr8skba7x24-stupidterm-2018-09-25
checking for references to /build in /nix/store/0rmjv87sh3qzqzcld6ssnmr8skba7x24-stupidterm-2018-09-25...
/nix/store/0rmjv87sh3qzqzcld6ssnmr8skba7x24-stupidterm-2018-09-25


fix(material/tooltip): missing positionAtOrigin documentation

Description
The positionAtOrigin documentation is missing on Material website: https://material.angular.io/components/tooltip/api
Current behavior
blank description of the Input.
New behavior
Comment added on the Input to be rendered on the documentation website.
Related issue
fixes #26078

Thanks for the review @crisbeto, I made the requested change and ran the script, which removed the undocumented comment.

Closing since the PR is out of date and there hasn't been any activity in a long time.


Camera stream as microphone

Please support option to use camera stream as microphone (rtsp, ..)
In Rhasspy I was using:
1   │ microphone:
23   │ │ command: --sample-rate 16000 --sample-width 2 --channels 1 --record-command 'gst-launch-1.0
1   │ │ │ rtspsrc location=rtsp://admin:pass@<IP_ADDRESS>:8080/h264_ulaw.sdp latency=0
2   │ │ │ select-stream=stream_0 ! rtppcmudepay ! mulawdec ! audioconvert ! audioresample
3   │ │ │ ! audio/x-raw, rate=16000 ! filesink location=/dev/stdout' --debug --host mosquitto
4   │ │ │ --port 1883 --site-id default --username user --password pass

+1 being able to use camera stream as microphone would allow me to migrate away from Rhasspy 👍


Enhancement: Record feature

A la HDT, which I believe uses the .log file to display draws, turns, etc. Or capture image, if easier--just something to allow us learning noobs to rewatch our games and learn from our plays.

+1. Ideally just export the power.log for each game in its own folder so that it's easy to pick and share

+1

I'd really love this feature!

I'm currently working on it ;)

Will be available in the next release !

Awesome! Would you mind attaching a sample of the file that is produced?

@sebastientromp http://www.zerotoheroes.com/r/hearthstone/57a0db58e4b00e76c0453fa4/hstracker (but I guess you found it)
Also, the file for this match is here https://www.dropbox.com/s/luiec0xifdr4oe9/ben(Rexxar) vs Algar(Uther Lightbringer) 2016-08-02 17%3A41%3A24.hdtreplay?dl=0

Thanks!
The file is intriguing me though - you're producing .hdtreplay files too? And the replay.json can be cut to reduce the overall size I think, I'm not aware of any site / tool that uses it.

I searched on Google and did not find any site using it. I think you're right and I'll probably remove it, at least for now

I'm just starting the development of a REST API to easily upload games from trackers to ZetoH. As it's my first time developing a public API, would you mind me sending you the spec / samples to get your critiques?

Sure, I'll check that tomorrow !
Btw, if you want discuss, you can join the gitter chan.

I'm in!
Sporadically available throughout the week-end, and at worst will be available next week :)

Guys, I noticed this got closed but there's no integration with ZtH.
@sebastientromp created a plugin that uploads the games to ZtH (https://github.com/Zero-to-Heroes/hdt-plugin-zerotoheroes/commits?author=sebastientromp). @bmichotte would it be possible (and I think not that hard) to import the code into HSTracker?