Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/stnava/ITKR
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Jun 8, 2022
2 parents 36ae6d6 + bd0e226 commit d09e7c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ITKR
Type: Package
Title: ITK in R
Version: 0.5.3.3.0
Date: 2020-10-15
Version: 0.5.3.3
Date: 2021-07-23
Authors@R: c(
person(c("Brian", "B"), "Avants", role = c("aut", "cre"), email = "[email protected]"),
person(c("Benjamin", "M"), "Kandel", role = "ctb", email = "NA"),
Expand Down
5 changes: 5 additions & 0 deletions R/flags.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ get_itk_dir = function() {
# Keep ITK dirs
dirs = dirs[ grepl("^ITK", bn) ]
if (length(dirs) == 0) {
message("Printing out lib dir\n")
message("lib_dir:", lib_dir)
print(list.files(lib_dir))
message("package_dir:", system.file(package="ITKR"))
print(list.files(system.file(package="ITKR")))
stop("No ITK Directory Found!")
}
if (length(dirs) == 1) {
Expand Down
4 changes: 3 additions & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ all: $(SHLIB)

$(SHLIB): libs

libs: ; cd itkb && $(MAKE) VERBOSE=1 -j 2 || \
libs: ; cd itkb && mingw32-make -j 2 || \
mingw32-make install || \
$(MAKE) VERBOSE=1 -j 2 || \
$(MAKE) install && ls ../ && rm -rf ../itks && \
rm -rf ITKInternalEigen3-build/Makefile && \
rm -rf CMakeFiles/ && rm -rf Modules/ && rm -rf CMakeTmp/ && \
Expand Down

0 comments on commit d09e7c3

Please sign in to comment.