Ticket #41 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

QtD won't compile with LDC

Reported by: BeholdMyGlory Assigned to: somebody
Priority: blocker Version:
Keywords: Cc:

Description

When trying to compile QtD with LDC, there are three bugs I've found so far in the build system: Running cmake with the flag -DDC=ldc will work with the first part of the compilation, but when compiling the generated files (I think), I get the error attached in error1.txt. A workaround is using an absolute path instead (i.e. -DDC=/usr/bin/ldc).

The next error I get is attached in error2.txt. This can be worked around by setting D_MODULES_PER_OBJECT to a higher value (I just appended a 0).

The last error I couldn't find a solution for, making it impossible to compile QtD for me, it's attached in error3.txt.

Attachments

error1.txt (1.0 kB) - added by BeholdMyGlory on 01/14/10 12:30:59.
error2.txt (2.0 kB) - added by BeholdMyGlory on 01/14/10 12:31:20.
error3.txt (238 bytes) - added by BeholdMyGlory on 01/14/10 12:31:36.

Change History

01/14/10 12:30:59 changed by BeholdMyGlory

  • attachment error1.txt added.

01/14/10 12:31:20 changed by BeholdMyGlory

  • attachment error2.txt added.

01/14/10 12:31:36 changed by BeholdMyGlory

  • attachment error3.txt added.

01/17/10 17:23:11 changed by eldar

Hey, thanks for the report. The first two problems are known. That's the reason why D_MODULES_PER_OBJECT option is there. I think I used to set it to 125 or something when I used ldc. The third problem is also known and I have no idea about what's wrong. I believe it to be a bug in ldc, as it compiles fine with dmd 1.055. I have to apologise for not investigating it as we abandoned D1 support and concentrated the effort on the D2 version.

02/11/10 07:42:33 changed by WasserDragoon

Does it work now since ldc uses dmd 1.056? I would like to use QtD in my project, and can't continue till it's working :-(

02/11/10 13:20:32 changed by eldar

  • status changed from new to closed.
  • resolution set to invalid.

If you go on the wiki, you will see that the supported compiler is dmd2. I can't repeat it more than that. Project is open source, try it yourself, if it doesn't work - fix it.