Thread overview |
---|
March 12, 2016 Constructor - the both look the same | ||||
---|---|---|---|---|
| ||||
Why does it come up with this? source/setup.d(40,16): Error: constructor inputjex.InputJex.this (Vector2!float pos, int fontSize, InputType type = cast(InputType)0) is not callable using argument types (Vector2!float, int, InputType) dmd failed with exit code 1. |
March 12, 2016 Re: Constructor - the both look the same | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joel | On Saturday, 12 March 2016 at 07:43:59 UTC, Joel wrote:
> Why does it come up with this?
>
> source/setup.d(40,16): Error: constructor inputjex.InputJex.this (Vector2!float pos, int fontSize, InputType type = cast(InputType)0) is not callable using argument types (Vector2!float, int, InputType)
> dmd failed with exit code 1.
Can you show your code?
|
March 12, 2016 Re: Constructor - the both look the same | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iakh | On Saturday, 12 March 2016 at 08:11:10 UTC, Iakh wrote:
> On Saturday, 12 March 2016 at 07:43:59 UTC, Joel wrote:
>> Why does it come up with this?
>>
>> source/setup.d(40,16): Error: constructor inputjex.InputJex.this (Vector2!float pos, int fontSize, InputType type = cast(InputType)0) is not callable using argument types (Vector2!float, int, InputType)
>> dmd failed with exit code 1.
>
> Can you show your code?
I don't know if I can show the code (maybe the whole lot in a zip file). But I did a hack to get it to compile (took the last perimeter(sp) out).
|
March 13, 2016 Re: Constructor - the both look the same | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joel | On Saturday, 12 March 2016 at 23:43:33 UTC, Joel wrote:
> On Saturday, 12 March 2016 at 08:11:10 UTC, Iakh wrote:
>> On Saturday, 12 March 2016 at 07:43:59 UTC, Joel wrote:
>>> Why does it come up with this?
>>>
>>> source/setup.d(40,16): Error: constructor inputjex.InputJex.this (Vector2!float pos, int fontSize, InputType type = cast(InputType)0) is not callable using argument types (Vector2!float, int, InputType)
>>> dmd failed with exit code 1.
>>
>> Can you show your code?
>
> I don't know if I can show the code (maybe the whole lot in a zip file). But I did a hack to get it to compile (took the last perimeter(sp) out).
Got it fixed. I had 2 base files that were the same (one of them a source file of library of mine), I made them so they were different.
|
Copyright © 1999-2021 by the D Language Foundation