Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compile on Ubuntu 18.04 fails targetting Windows #184

Closed
ipbc-dev opened this issue Jun 9, 2020 · 2 comments
Closed

Cross compile on Ubuntu 18.04 fails targetting Windows #184

ipbc-dev opened this issue Jun 9, 2020 · 2 comments

Comments

@ipbc-dev
Copy link

ipbc-dev commented Jun 9, 2020

/external/randomx/src/tests/benchmark.cpp:45:10: fatal error: VersionHelpers.h: No such file or directory
#include <VersionHelpers.h>

In Ubuntu 18.04 (and maybe other distros) the package for the cross compile has this header but named versionhelpers.h (lowercase).

Manually editing benchmark.cpp and setting lowercase header name causes compile to go forward and complete successfully.

@ipbc-dev ipbc-dev changed the title Cross compile fails on Ubuntu 18.04 fails targetting Windows Cross compile on Ubuntu 18.04 fails targetting Windows Jun 9, 2020
@tevador
Copy link
Owner

tevador commented Jun 9, 2020

Patched. Thanks.

@ipbc-dev
Copy link
Author

ipbc-dev commented Jun 28, 2020 via email

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

No branches or pull requests

2 participants