DLL maps not found while compiling package in Windows machine
1
0
Entering edit mode
@miguel-julia-7842
Last seen 5.2 years ago
United Kingdom

Hi everyone,

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

Thanks,

Miguel

 

 

package compilation error dll windows • 2.7k views
ADD COMMENT
0
Entering edit mode

Hi Miguel,

This question is about development/maintenance of your own package so is better asked on the bioc-devel mailing list. Thanks!

H.

ADD REPLY
0
Entering edit mode

Hi,

Thanks, I will email them now. Anyway, the devel version is compiling now. The release one still gets the same error. They are compiling on different machines, moscato-2 (error) and windows1.bioconductor.org (works now, yesterday error). Could it be a problem with the dlls on the compiling machine?

ADD REPLY
0
Entering edit mode
@miguel-julia-7842
Last seen 5.2 years ago
United Kingdom

The problem dissapeared by its own.

ADD COMMENT

Login before adding your answer.

Traffic: 613 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6