Discussion:
[conda] coonda-build gcc windows
Tomek Ry
2018-02-02 22:25:46 UTC
Permalink
Hi,

I want to build package from cran (via conda skeleton cran and conda-build)
on Windows.

A compilation crashed with a error:

make[2]: *** [concurrent_hash_map.o] Error 127
make[2]: Leaving directory
'/c/Users/******/conda-bld/r-rcppparallel_1517524702833/work/src/tbb/build/lib_release'
Makefile:101: recipe for target 'tbb_release' failed
make[1]: *** [tbb_release] Error 2
make[1]: Leaving directory
'/c/Users/******/conda-bld/r-rcppparallel_1517524702833/work/src/tbb/src'
/usr/bin/cp: cannot stat 'tbb/build/lib_release/tbb*.dll': No such file or
directory
Makevars:74: recipe for target 'tbb' failed
make: *** [tbb] Error 1
OstrzeÅŒenie: uruchomione polecenie 'make -f "Makevars" -f
"C:/Users/******/conda-bld/r-rcppparallel_1517524702833/_h_env/R/etc/x64/Makeconf"
-f
"C:/Users/******/conda-bld/r-rcppparallel_1517524702833/_h_env/R/share/make/winshlib.mk"
SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)'
SHLIB="RcppParallel.dll" WIN=64 TCLBIN=64 OBJECTS="options.o"' otrzymało
status 2
ERROR: compilation failed for package 'RcppParallel'
* removing 'C:/Users/******/Documents/R/win-library/3.4/RcppParallel'

Here <https://github.com/RcppCore/RcppParallel/issues/29> I've found that
gcc version may occur the error because on my Windows OS gcc 4.9.3 is
installed.

Is it a way to force conda-build to use gcc in another (fresh) version?
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/6770f2f6-2d4b-425a-8e8d-39e19114c743%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...