-
Notifications
You must be signed in to change notification settings - Fork 63
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
Compilation error in dependency tharsis-prof 0.5.2
DMD 2.067.1
#245
Comments
I Initialized project with dash-cli, but default project (
|
Dependencies builds successfully on DMD 2.066.1, but engine not.
|
DMD 2.067.1 |
Thanks for investigating this. Our current reflection solution is pretty heavy on the CTFE usage, so my guess is something changed in DMD that causes it to use a lot more memory, and then it runs out, given that DMD is a 32-bit application. I'm in the process of rewriting the reflection solution to be much lighter, but it may take a few days. |
@ColdenCullen |
Built 64-bit DMD
At this point
And log ends with:
It' the same errors about |
First of all, thanks again for helping with this issue! I think the |
|
Sounds good. I've also opened d-gamedev-team/gfm#124, so hopefully they can get their ducks in a row properly. |
@ColdenCullen they did something with logger, will you try to fix this issue? Engine still doesn't work thanks to dub. |
Yeah, I'm working on it. The problem is that the current component serialization system is very CTFE memory intensive, and will require a redesign/rebuild, which will probably take a lot of time. For now, your best bet is probably to stick with 2.066.1, and then upgrade to 2.068.x once the new system is ready. |
OS: WIndows 7 x64
dub: 0.9.24-rc.1, built on Jul 13 2015
DMD: 2.067.1
dash-cli: 0.2.3
I gave up trying to get old versions of Dash working on DMD 2.067.1, so I'm using
"dash": "~develop"
now, and it still doesn't compile.I think this is because DMD breaks backward compatibility on every new version.
Also, seems like some dependency packages for old versions does not exist in dub registry. Strange, but
dash~develop
is the only version wheredub upgrade
works.C:\Users\lunar\AppData\Roaming\dub\packages\tharsis-prof-0.5.2\source\tharsis\prof\ranges.d(720,24): Error: template instance TypeTuple!(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) template 'TypeTuple' is not defined, did you mean isTypeTuple(T...)? FAIL C:\Users\lunar\AppData\Roaming\dub\packages\tharsis-prof-0.5.2\.dub\build\library-debug-windows-x86-dmd_2067-60BE4484605607AE8A8CC8E6ACE413A5\ tharsis-prof staticLibrary Error executing command run: dmd failed with exit code 1.
Great work btw. I'm planning to use Dash instead of writing my own framework, if I finally make it works.
The text was updated successfully, but these errors were encountered: