Skip to content

OSX support? #2

@kingsleyh

Description

@kingsleyh

Hey - what would be required for OSX support?

I tried the linux branch on OSX but get this:

Registering widget classes : extensions.show ()
libdeadcode/src/gui/widgetfeature/textrenderer.d(121,72): Error: undefined identifier getRunningExecutablePath
extensions/unittests.d(50,2): Warning: statement is not reachable
extensions/unittests.d(52,2): Warning: statement is not reachable
libdeadcode/src/graphics/texture.d(28,22): Error: undefined identifier getRunningExecutablePath
libdeadcode/src/gui/widgetfeature/textrenderer.d(121,72): Error: undefined identifier getRunningExecutablePath
libdeadcode/src/gui/label.d(25,22): Error: template instance gui.widgetfeature.textrenderer.content!string error instantiating
libdeadcode/src/gui/resources/font.d(103,31): Error: undefined identifier builtinFontPath
libdeadcode/src/gui/widgetfeature/windowresizer.d(75,15): Error: function gui.widgetfeature.windowresizer.WindowResizer.getCursorScreenPos has no return statement, but is expected to return a value of type SmallVector!(2LU, float)
libdeadcode/src/guiapplication.d(727,23): Error: undefined identifier getExistingWindowRect
libdeadcode/src/io/file.d(145,11): Error: undefined identifier getRunningExecutablePath
libdeadcode/src/io/file.d(156,20): Error: undefined identifier getRunningExecutablePath
/usr/share/dmd/src/phobos/std/container/array.d(741,20): Error: template std.exception.enforce cannot deduce function from argument types !()(RefCounted!(Payload, cast(RefCountedAutoInitialize)0)), candidates are:
/usr/share/dmd/src/phobos/std/exception.d(333,3): std.exception.enforce(T)(T value, lazy const(char)[] msg = null, string file = FILE, size_t line = LINE) if (is(typeof(()
{
if (!value)
{
}
}
)))
/usr/share/dmd/src/phobos/std/exception.d(347,3): std.exception.enforce(T, string file, ulong line = LINE)(T value, lazy const(char)[] msg = null) if (is(typeof(()
{
if (!value)
{
}
}
)))
/usr/share/dmd/src/phobos/std/exception.d(361,3): std.exception.enforce(T, Dg, string file = FILE, ulong line = LINE)(T value, scope Dg dg) if (isSomeFunction!Dg && is(typeof(dg())) && is(typeof(()
{
if (!value)
{
}
}
)))
/usr/share/dmd/src/phobos/std/exception.d(495,3): std.exception.enforce(T)(T value, lazy Throwable ex)
/usr/share/dmd/src/phobos/std/container/array.d(775,45): Error: template instance std.container.array.Array!(Region).Array.insertBefore!(IntersectResult) error instantiating
libdeadcode/src/math/region.d(748,19): instantiated from here: replace!(IntersectResult)
FAIL .dub/build/debug-debug-posix.osx-x86_64-dmd_2066-8D13939DA8DAC400C5D56D0F009C36DE/ ded-debug executable
Error executing command run: dmd failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions