On Sun, 03 Nov 2013 17:36:30 GMT, Andrej Mitrovic wrote:

On Sun, 03 Nov 2013 13:35:11 GMT, Sönke Ludwig wrote:

The last issue is fixed now: 7a66361

Thanks!

I'll try to build dub from master and report back.

Ok, running without targetPath behaves properly now. I get a proper diagnostic with what went wrong at runtime (it was a missing DLL, since I didn't have the DLL in PATH but rather in a specific subfolder, but that's why I needed targetPath).

However using targetPath still fails with:

Error: C:\dev\projects\dchip\bin\demo_app: The system cannot find the file specified.

This is the package file:

{
    "description": "dchip is a D2 port of the Chipmunk2D physics library.",
    "targetName": "dchip",
    "authors": [
        "Andrej Mitrovic"
    ],
    "license": "MIT",
    "version": "~master",
    "homepage": "https://github.com/AndrejMitrovic/dchip",
    "name": "dchip",
    "copyright": "Copyright © 2013, Andrej Mitrovic",
    "targetType": "staticLibrary",
    "sourcePaths": [
        "src"
    ],

    "configurations": [
        {
            "name": "demo",
            "targetType": "executable",
            "targetName": "example-app",
            "sourcePaths": [
                "tests/demo",
                "tests/lib"
            ],
            "importPaths": [
                "tests/lib"
            ],
            "versions": [
                "CHIP_ALLOW_PRIVATE_ACCESS"
            ],
            "libs": [
                "tests/lib/glfw3_implib"
            ],
            "targetPath" : "bin/demo_app",
            "copyFiles-windows-x86": ["tests/bin/glfw3.dll"],
        },
    ]
}

Using: DUB version v0.9.19-35-g7a66361