On Friday, 5 January 2024 at 05:22:54 UTC, Mike Shah wrote:
On Thursday, 4 January 2024 at 14:17:01 UTC, pizza_dox_
wrote:
On Monday, 14 December 2015 at 10:09:29 UTC, Mike McKee wrote:
I finally managed to get it working, using some help from
this forum and stackoverflow.com, and a little
On Thursday, 4 January 2024 at 14:17:01 UTC, pizza_dox_ wrote:
On Monday, 14 December 2015 at 10:09:29 UTC, Mike McKee wrote:
I finally managed to get it working, using some help from this
forum and stackoverflow.com, and a little bit of random luck
with tests.
[...]
Hello dlang forum,
On Monday, 14 December 2015 at 10:09:29 UTC, Mike McKee wrote:
I finally managed to get it working, using some help from this
forum and stackoverflow.com, and a little bit of random luck
with tests.
[...]
Hello dlang forum,
I tried to replicate the shown, but I failed at the dmd compile
On 2015-12-16 10:19, John Colvin wrote:
How exactly would it do that? I guess it could parse some output from
dmd to check that it's looking in the right directories, that would be a
nice enhancement.
Not sure, but for one thing, don't put any files any global directories.
That is, don't put
On Wednesday, 16 December 2015 at 07:46:53 UTC, Jacob Carlborg
wrote:
On 2015-12-15 15:43, John Colvin wrote:
I have no idea how you got something in /Library/D, but it
doubt it
was from homebrew.
The native installer installs into /Library/D.
Well that probably explains the problem then.
On Tuesday, 15 December 2015 at 07:52:50 UTC, Jacob Carlborg
wrote:
Could you please add "-v" do the command line when compiling.
Mine was completely different:
$ dmd -v test.d
binarydmd
version v2.069
config/usr/local/bin/dmd.conf
parse test
importall main
importobject
On 2015-12-14 20:13, bachmeier wrote:
Is it okay if I copy your post to the wiki at this link?
http://wiki.dlang.org/Cookbook
Please don't. There's a lot of errors and weird things in the post. It
doesn't really do what the title says. At least it's not interesting at
all since it uses the
On 2015-12-15 09:08, Mike McKee wrote:
On Tuesday, 15 December 2015 at 07:52:50 UTC, Jacob Carlborg wrote:
Could you please add "-v" do the command line when compiling.
Mine was completely different:
$ dmd -v test.d
binarydmd
version v2.069
config/usr/local/bin/dmd.conf
parse
On Tuesday, 15 December 2015 at 07:57:56 UTC, Jacob Carlborg
wrote:
On 2015-12-14 20:13, bachmeier wrote:
Is it okay if I copy your post to the wiki at this link?
http://wiki.dlang.org/Cookbook
Please don't. There's a lot of errors and weird things in the
post. It doesn't really do what the
I finally managed to get it working, using some help from this
forum and stackoverflow.com, and a little bit of random luck with
tests.
// test.d
extern (C++) immutable(char)* dfunc(const char *s) {
import std.string;
return toStringz(fromStringz(s) ~ "-response");
}
I
On 12/14/2015 02:09 AM, Mike McKee wrote:
I finally managed to get it working
Congratulations! But this is not the right medium for this blog post. ;)
Please polish and publish it somewhere before someone puts it on Reddit
now. :)
Ali
On 2015-12-14 20:20, Mike McKee wrote:
Oh, I found I could do:
$ sudo brew update
$ sudo brew upgrade dmd
Alternatively you can install DMD using DVM [1].
Now it generates this error:
$ dmd -m64 -L-framework -LFoundation test.d
test.d(6): Error: undefined identifier 'selector'
test.d(12):
On 2015-12-14 11:09, Mike McKee wrote:
As for D calling the Apple Foundation Classes, they are, evidently,
available to C++, so perhaps they can be loaded in D.
They're not available in C++. They're available in Objective-C++, which
is a different language.
Yes, they can be accessed from D
On Monday, 14 December 2015 at 11:12:03 UTC, Ali Çehreli wrote:
On 12/14/2015 02:09 AM, Mike McKee wrote:
I finally managed to get it working
Congratulations! But this is not the right medium for this blog
post. ;) Please polish and publish it somewhere before someone
puts it on Reddit now.
Is it okay if I copy your post to the wiki at this link?
http://wiki.dlang.org/Cookbook
On Monday, 14 December 2015 at 19:13:20 UTC, bachmeier wrote:
Is it okay if I copy your post to the wiki at this link?
http://wiki.dlang.org/Cookbook
Sure! :)
Feel free to fix grammar or anything out of sorts (or could be
better said), if you want. My goal is to enable more people to be
On Monday, 14 December 2015 at 18:13:02 UTC, Mike McKee wrote:
I think I installed dmd through homebrew. I don't know how to
update it -- I'm still green when it comes to homebrew and only
know apt-get from Ubuntu Linux.
Oh, I found I could do:
$ sudo brew update
$ sudo brew upgrade dmd
Now
On Monday, 14 December 2015 at 17:28:20 UTC, Jacob Carlborg wrote:
[1] http://dlang.org/spec/objc_interface.html
Unfortunately, my version of DMD on this OSX doesn't support the
(Objective-C) extern when I run the example given at the bottom
of that objc_interface.html page.
$ dmd -m64
18 matches
Mail list logo