fangzhou-xie / rethnicity

predict ethnicity from names
https://fangzhou-xie.github.io/rethnicity/index.html
9 stars 2 forks source link

issue with installation "C++14 standard requested but CXX14 is not defined" #5

Closed Lukaku92 closed 2 years ago

Lukaku92 commented 2 years ago

I have problems with the installation.

First I get this message:

Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘rethnicity’

Then, I am asked to confirm whether I want to download from sources, and I give permission.

This is the message that I get when finally the package is being installed:

*** arch - i386 Error in .shlib_internal(args) : C++14 standard requested but CXX14 is not defined

So, eventually, the package is not installed.

What should I do?

fangzhou-xie commented 2 years ago

It seems to me that you are: (1) on Windows, (2) using R 3.6. And the error seems to compiler issue.

I would suggest you to update your R first to see if this helps. The most recent is R 4.1.3.

Lukaku92 commented 2 years ago

@fangzhou-xie Thank you! this is great, now it is installed

fangzhou-xie commented 2 years ago

Great! Glad to help. Closing the issue now.