Skip to content

Rcpp fails to compile on Windows 10 #336

@kevinushey

Description

@kevinushey

The error, from R CMD INSTALL (called within an RStudio session):

g++ -m32 -I"C:/R/R-32~1.0PA/include" -DNDEBUG -I../inst/include/    -I"d:/RCompile/r-compiling/local/local320/include"     -g -O3 -Wall -pedantic -std=c++0x -c api.cpp -o api.o
api.cpp:40:30: fatal error: execinfo.h: No such file or directory
compilation terminated.

It looks like this line is not properly filtering out Windows 10; likely because WIN32 is not sufficient (we should try _WIN32 instead).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions