cake icon indicating copy to clipboard operation
cake copied to clipboard

usemodule example fails when MinGW is used

Open donno opened this issue 7 years ago • 1 comments

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.

donno avatar Apr 22 '17 12:04 donno