April 06, 2014
On 4/4/14, Ryan Voots <simcop2387@simcop2387.info> wrote:
> I
> started updating things so that the demos build seperately with
> dub but can't confirm anything about them building as expected
> yet.

Yeah I've tried running "dub --config=demo1" but I get back: Error executing command run: Unknown build configuration: demo1

I think "subPackages" should be renamed to "configurations" in the dub json file?

Either way building tango seems to fail, but I don't know why, all I get back are warnings. I've tried with various recent versions of DMD.
April 10, 2014
On Sunday, 6 April 2014 at 14:33:38 UTC, Andrej Mitrovic wrote:
> On 4/4/14, Ryan Voots <simcop2387@simcop2387.info> wrote:
>> I
>> started updating things so that the demos build seperately with
>> dub but can't confirm anything about them building as expected
>> yet.
>
> Yeah I've tried running "dub --config=demo1" but I get back:
> Error executing command run: Unknown build configuration: demo1
>
> I think "subPackages" should be renamed to "configurations" in the dub
> json file?
>
> Either way building tango seems to fail, but I don't know why, all I
> get back are warnings. I've tried with various recent versions of DMD.

That's interesting.  I haven't had any problems with the d2-tango package, but I'm not sure if I've had it rebuild it any time recently, I'll take a look.  That's one of the reasons I want to try to deprecate all usage of tango in the engine.  Since phobos is trying to move to having no GC allocations in the standard library (or at least be more explicit about it) it should help with keeping things better for soft-realtime requirements for rendering.
April 10, 2014
On 4/10/14, Ryan Voots <simcop2387@simcop2387.info> wrote:
> That's interesting.  I haven't had any problems with the d2-tango package

Which version of the compiler are you using?
April 10, 2014
On 4/10/14, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> On 4/10/14, Ryan Voots <simcop2387@simcop2387.info> wrote:
>> That's interesting.  I haven't had any problems with the d2-tango package
>
> Which version of the compiler are you using?

Also here's the error log using 2.065: http://codepad.org/UG2hZrwb
April 10, 2014
On 4/10/14, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> Also here's the error log using 2.065: http://codepad.org/UG2hZrwb

And with 2.064.2:

-----
Building tango configuration "static", build type debug.
Running dmd...
FAIL ..\..\..\Users\Administrator\AppData\Roaming\dub\packages\tango-d2port\.dub\build\static-debug-windows-x86-dmd-DA01CF3B9C085E0DC0B2505668ACA9F6
tango staticLibrary
-----

It doesn't even tell me what went wrong..
April 10, 2014
On Thursday, 10 April 2014 at 08:02:19 UTC, Andrej Mitrovic wrote:
> On 4/10/14, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
>> On 4/10/14, Ryan Voots <simcop2387@simcop2387.info> wrote:
>>> That's interesting.  I haven't had any problems with the d2-tango
>>> package
>>
>> Which version of the compiler are you using?
>
> Also here's the error log using 2.065:
> http://codepad.org/UG2hZrwb

builds fine on dmd Git HEAD for me. Is your tango package out of date perhaps? I vaguely remember those errors from a while ago.
April 10, 2014
On Thursday, 10 April 2014 at 09:37:37 UTC, John Colvin wrote:
> On Thursday, 10 April 2014 at 08:02:19 UTC, Andrej Mitrovic wrote:
>> On 4/10/14, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
>>> On 4/10/14, Ryan Voots <simcop2387@simcop2387.info> wrote:
>>>> That's interesting.  I haven't had any problems with the d2-tango
>>>> package
>>>
>>> Which version of the compiler are you using?
>>
>> Also here's the error log using 2.065:
>> http://codepad.org/UG2hZrwb
>
> builds fine on dmd Git HEAD for me. Is your tango package out of date perhaps? I vaguely remember those errors from a while ago.

To clarify: Tango builds fine, Yage does not.
April 10, 2014
On 4/10/14, John Colvin <john.loughran.colvin@gmail.com> wrote:
> Is your tango package out of date perhaps?

All I'm doing is calling 'dub --force'. Tried with git-head and getting the same results. Oh well..
April 12, 2014
On Thursday, 10 April 2014 at 10:52:42 UTC, Andrej Mitrovic wrote:
> On 4/10/14, John Colvin <john.loughran.colvin@gmail.com> wrote:
>> Is your tango package out of date perhaps?
>
> All I'm doing is calling 'dub --force'. Tried with git-head and
> getting the same results. Oh well..

Try wiping out your ~/.dub/ directory (move it out of the way).
I ran into that after playing with the package.json to try to get
the library to build now that it appears that dmd isn't giving
any errors anymore.  This'll force dub to fetch the files again
and it should work with 2.065.

That said, I've now hit an impasse where I'm lost as to what to
do again.  I'll likely go through and clean up some warnings
tomorrow and get the build to look cleaner but at this point I'm
not sure how to get dub to do what we need (linking in demo*/
directories as separate executables).  You might be right about
specifying them as separate configurations in there I'll
experiment some more tonight but we're very close to having it
build now.  I don't expect it to work correctly even if someone
does get it running.  I've marked a number of suspect places with
TODO in comments where I know things are going to break since I
didn't know what I was doing.
April 14, 2014
On Thursday, 10 April 2014 at 09:46:15 UTC, John Colvin wrote:
>
> To clarify: Tango builds fine, Yage does not.

This is no longer the case now.  It builds fine and you can build the first demo with DMD (it runs into bzip2 errors with GDC for me right now).  The demo doesn't run yet but it does build and now has me ready to learn how to debug a D program.

you can build the demo as a sub package, with dub build yage:demo1

1 2 3 4
Next ›   Last »