Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OSX support? #2

Open
kingsleyh opened this issue Mar 21, 2015 · 1 comment
Open

OSX support? #2

kingsleyh opened this issue Mar 21, 2015 · 1 comment

Comments

@kingsleyh
Copy link

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.

@jcd
Copy link
Owner

jcd commented Mar 22, 2015

I do not think getting osx working after linux is much work. I've just commited a bunch of stuff for getting it to build on linux. Maybe that helps for osx as well. As soon as I have a fully working linux version going I'll make sure osx gets there as well but any help is of course welcome :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants