Skip to content

Fix linking of RcppParallel libraries on Windows.#1

Open
kalibera wants to merge 1 commit into
amishra-stats:masterfrom
kalibera:linking-rcppparallel
Open

Fix linking of RcppParallel libraries on Windows.#1
kalibera wants to merge 1 commit into
amishra-stats:masterfrom
kalibera:linking-rcppparallel

Conversation

@kalibera

Copy link
Copy Markdown

This fixes a link failure on Windows due to accidental double quotes around the full path to RcppParallel, i.e.

cannot find -lRcppParallel: No such file or directory

as a result of

-L"C:/r_packages/pkgbuild/lib/RcppParallel/libs/x64" -lRcppParallel

Generally, $(shell) is more reliable than backticks on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant