-
Notifications
You must be signed in to change notification settings - Fork 825
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
ADL breaks cross-compiling for Windows on Linux #26
Comments
I'd like not to break ADL detection for everybody else. cgminer had a change to windows-build.txt a month ago. Might be relevant. |
Also, Drogean's been able to compile it, and submitted some changes to sgminer's docs: https://github.com/veox/sgminer/pull/13 |
Can you just disable the check for headers only if cross-compiling? |
Does specifying I can go ahead and just add BTW, careful with what you distribute. The AMD ADL EULA allows |
The issue is, I want to cross compile it with ADL support. It wouldn't make sense to disable ADL. Try cross-compiling, and configure will tell you that it can't check for the headers when cross compiling and abort. And I'm building binaries, so I don't have to worry. |
Requested in https://github.com/veox/sgminer/issues/26 configure.ac needs an overhaul (see SDMINER_SDK).
@wolf9466 Please do post the error messages on how it fails before trying the https://github.com/veox/sgminer/tree/windows-cross-compile branch. There's some old stuff in configure.ac that needs fixing, and I don't want to play around with setting up cross-compiling just yet. |
You don't need to play around with setting up anything. Here's the error: checking for ./ADL_SDK/adl_sdk.h... configure: error: cannot check for file existence when cross compiling |
Did specifying |
Nope. |
Reordered the checks, try again. |
Works now. |
wolf0:
The text was updated successfully, but these errors were encountered: