[Bioc-devel] DLL maps not found while compiling package in Windows machine

Miguel Juliá migueljuliamolina at gmail.com
Fri Oct 2 09:22:34 CEST 2015


Hi everyone,

I was redirected here from https://support.bioconductor.org/p/72852/

Our package "sincell" used to compile without problems, but suddenly I got
a compilation error on windows (despite not having done any changes in the
code). Anyone has seen this error before and knows how to fix it?

##############################################################################
##############################################################################
###
### Running command:
###
###   rm -rf sincell.buildbin-libdir sincell.Rcheck && mkdir
sincell.buildbin-libdir sincell.Rcheck &&
C:\biocbld\bbs-3.2-bioc\R\bin\R.exe CMD INSTALL --build
--merge-multiarch --library=sincell.buildbin-libdir
sincell_1.1.01.tar.gz >sincell.Rcheck\00install.out 2>&1 && cp
sincell.Rcheck\00install.out sincell-install.out  &&
C:\biocbld\bbs-3.2-bioc\R\bin\R.exe CMD check
--library=sincell.buildbin-libdir
--install="check:sincell-install.out" --force-multiarch --no-vignettes
--timings sincell_1.1.01.tar.gz
###
##############################################################################
##############################################################################

install for i386

* installing *source* package 'sincell' ...
** libs
g++ -m32 -I"C:/biocbld/BBS-3˜1.2-B/R/include" -DNDEBUG
-I"C:/biocbld/bbs-3.2-bioc/R/library/Rcpp/include"
-I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall
-mtune=core2 -c RcppExports.cpp -o RcppExports.o
g++ -m32 -I"C:/biocbld/BBS-3˜1.2-B/R/include" -DNDEBUG
-I"C:/biocbld/bbs-3.2-bioc/R/library/Rcpp/include"
-I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall
-mtune=core2 -c pseudoreplicatesbymodel.cpp -o
pseudoreplicatesbymodel.o
g++ -m32 -I"C:/biocbld/BBS-3˜1.2-B/R/include" -DNDEBUG
-I"C:/biocbld/bbs-3.2-bioc/R/library/Rcpp/include"
-I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall
-mtune=core2 -c pseudoreplicatesbynoise.cpp -o
pseudoreplicatesbynoise.o
g++ -m32 -I"C:/biocbld/BBS-3˜1.2-B/R/include" -DNDEBUG
-I"C:/biocbld/bbs-3.2-bioc/R/library/Rcpp/include"
-I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall
-mtune=core2 -c pseudoreplicatesbynoise_cv2.cpp -o
pseudoreplicatesbynoise_cv2.o
g++ -m32 -I"C:/biocbld/BBS-3˜1.2-B/R/include" -DNDEBUG
-I"C:/biocbld/bbs-3.2-bioc/R/library/Rcpp/include"
-I"d:/RCompile/r-compiling/local/local320/include"     -O2 -Wall
-mtune=core2 -c sstalgorithm.cpp -o sstalgorithm.o
sstalgorithm.cpp: In function 'Rcpp::NumericVector
sstalgorithm(Rcpp::NumericVector, int, Rcpp::NumericMatrix)':
sstalgorithm.cpp:28:17: warning: 'disty' may be used uninitialized in
this function [-Wuninitialized]
sstalgorithm.cpp:27:17: warning: 'distx' may be used uninitialized in
this function [-Wuninitialized]
g++ -m32 -shared -s -static-libgcc -o sincell.dll tmp.def
RcppExports.o pseudoreplicatesbymodel.o pseudoreplicatesbynoise.o
pseudoreplicatesbynoise_cv2.o sstalgorithm.o
-Ld:/RCompile/r-compiling/local/local320/lib/i386
-Ld:/RCompile/r-compiling/local/local320/lib
-LC:/biocbld/BBS-3˜1.2-B/R/bin/i386 -lR
installing to C:/biocbld/bbs-3.2-bioc/meat/sincell.buildbin-libdir/sincell/libs/i386
** R
** data
** inst
** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for 'maps', details:
  call: library.dynam("maps", pkg, lib)
  error: DLL 'maps' not found: maybe not installed for this architecture?
ERROR: lazy loading failed for package 'sincell'
* removing 'C:/biocbld/bbs-3.2-bioc/meat/sincell.buildbin-libdir/sincell'
Warning: running command 'C:/biocbld/bbs-3.2-bioc/R/bin/i386/Rcmd.exe
INSTALL --library=sincell.buildbin-libdir sincell_1.1.01.tar.gz
--no-multiarch' had status 1

Yesterday, both the release version and the devel got this same error.
Today, only the release one keeps getting this error on windows. Any clue
why this is happening?

http://bioconductor.org/checkResults/3.1/bioc-LATEST/sincell/moscato2-checksrc.html

http://bioconductor.org/checkResults/3.2/bioc-LATEST/sincell/windows1.bioconductor.org-checksrc.html

Thanks,

Miguel

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list