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

usemodule example fails when MinGW is used #13

Open
donno opened this issue Apr 22, 2017 · 1 comment
Open

usemodule example fails when MinGW is used #13

donno opened this issue Apr 22, 2017 · 1 comment

Comments

@donno
Copy link
Contributor

donno commented Apr 22, 2017

The resulting error message is:

  File "D:\VCS\cake\src\cake\library\compilers\gcc.py", line 506, in _getCommonLinkArgs
    if dll and self.importLibrary is not None:
AttributeError: 'WindowsMinGWCompiler' object has no attribute 'importLibrary'

Based on MacGccCompiler, the WindowsMinGWCompiler should be extending _getLinkCommands() such that the importLibrary parameter is available rather than trying to access it from self.

If it was self.importLibrary , it seems kind of strange as that would seemily imply the Compiler only has one such import library path.

@lewissbaker
Copy link
Owner

lewissbaker commented Apr 24, 2017

Thanks for bug report. I'll look into it.

See https://github.com/lewissbaker/cake/blob/master/src/cake/library/compilers/gcc.py#L505

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