Re: Recommended GUI library?

2014-10-18 Thread K.K. via Digitalmars-d-learn
Thanks for the extra suggestions! I'll check them out.

Recommended GUI library?

2014-10-17 Thread K.K. via Digitalmars-d-learn
I'm looking for suggestions for a GUI library, to create a somewhat light GUI that can also be created without too much fuss, and support for Windows Linux. The GUI I'm looking to make would be one that is just one window, with support for tabs (just like the ones in the properties page for

Re: Recommended GUI library?

2014-10-17 Thread K.K. via Digitalmars-d-learn
On Friday, 17 October 2014 at 16:41:21 UTC, Jeremy DeHaan wrote: I highly recommend gtkD. It works on Windows, OSX, and Linux and provides a very nice OO interface to Gtk+. http://gtkd.org/ ooo looks pretty good. I'll go try it out; Thanks, Jeremy!

Re: Initializing D in C to use?

2014-10-17 Thread K.K. via Digitalmars-d-learn
On Friday, 17 October 2014 at 16:35:46 UTC, Jeremy DeHaan wrote: I'm starting a new project, and I plan on creating a C interface in case other languages want to use it. I remember reading something(but my googlefu is weak today) about having to initialize the runtime if you are using D inside

generate unique variable names?

2014-10-07 Thread K.K. via Digitalmars-d-learn
Is there a way to generate variable names using strings? What I'm trying to do in this particular case is use a for loop, to generate variables (then probably put them in an array in the end) that represent images. So the name is pretty much image + the image padding + iterator number. So

Re: generate unique variable names?

2014-10-07 Thread K.K. via Digitalmars-d-learn
On Wednesday, 8 October 2014 at 02:06:28 UTC, Brian Schott wrote: I'm 99% sure you actually want an array or associative array. Something like this maybe? ImageType[string] images; images[format(image%03d, i)] = new ImagefromFile(userDefinedLocation); oooh okay I see what you mean. Yeah

Re: how to create and compile reesources for dmd 64

2014-09-20 Thread K.K. via Digitalmars-d-learn
On Friday, 19 September 2014 at 22:20:59 UTC, Cassio Butrico wrote: Hello everyone, When I create and compile resouces to 32 works perfect, but when I try to compilat of 64 error LNK1136: invalid or corrupt file. I do not know if it has to do with comverter COFF to OMF. can someone give me a

Re: is scid still maintained

2014-09-20 Thread K.K. via Digitalmars-d-learn
On Saturday, 20 September 2014 at 13:40:32 UTC, uri wrote: Hi All, I'm wondering if SciD is still maintained because the last commit to this repo is a while ago now... https://github.com/kyllingstad/scid Is there a fork, or some other repo that is more up to date I should look at?

compile automation, makefile, or whatever?

2014-09-16 Thread K.K. via Digitalmars-d-learn
Hey I have a quick question: Does D have it's own version of makefiles or anything (preferably simpler)? So instead of typing in PowerShell dmd file1.d file2.d lib\foo.lib -Isrc\ . I could just type most of that into a file and then just type dmd file.X I've seen some people make really

Re: compile automation, makefile, or whatever?

2014-09-16 Thread K.K. via Digitalmars-d-learn
On Tuesday, 16 September 2014 at 19:26:29 UTC, Cliff wrote: I want to say somewhere on the forums are some descriptions of using CMake for this. Might try searching for that. Yeah I just looked up the CMake thing. It definitely seems worth playing with, though I'm not really sure how

Re: compile automation, makefile, or whatever?

2014-09-16 Thread K.K. via Digitalmars-d-learn
On Tuesday, 16 September 2014 at 20:31:33 UTC, Cliff wrote: Out of curiosity, why are you not using dub (on the command-line)? I'm not against using it or anything, but I've found that it didn't help me significantly nor did I have the patience to figure out it's whole set of issues, D by

Re: compile automation, makefile, or whatever?

2014-09-16 Thread K.K. via Digitalmars-d-learn
On Tuesday, 16 September 2014 at 20:53:08 UTC, Cliff wrote: Would you be willing to provide some more detail on what about it you didn't like (errors, missing features, etc.)? I ask because build systems are a particular interest of mine and I have projects in this area which can always use

Re: compile automation, makefile, or whatever?

2014-09-16 Thread K.K. via Digitalmars-d-learn
On Tuesday, 16 September 2014 at 20:57:20 UTC, Andrei Amatuni wrote: Have you tried - http://dlang.org/rdmd.html only a tiny bit... I've haven't quite figured rdmd yet :\ I'm actually trying it out right now.

Re: compile automation, makefile, or whatever?

2014-09-16 Thread K.K. via Digitalmars-d-learn
On Tuesday, 16 September 2014 at 21:17:19 UTC, Cliff wrote: On Tuesday, 16 September 2014 at 21:05:18 UTC, K.K. wrote: On Tuesday, 16 September 2014 at 20:53:08 UTC, Cliff wrote: Would you be willing to provide some more detail on what about it you didn't like (errors, missing features, etc.)?

Re: DUB help plz

2014-07-03 Thread K.K. via Digitalmars-d-learn
On Thursday, 3 July 2014 at 07:20:52 UTC, ponce wrote: On Thursday, 3 July 2014 at 04:46:02 UTC, K.K. wrote: Is the only thing I'm missing the .dll's? Thanks! Yes, everything went fine, and you find the missing DLL here: https://www.libsdl.org/download-2.0.php On Thursday, 3 July 2014 at

DUB help plz

2014-07-02 Thread K.K. via Digitalmars-d-learn
I've been trying to figure DUB out and have been having a bit of trouble. I'm trying to make a simple program that uses Derelict GL3 and SDL2. I keep getting this error though:

Can't link libs?

2014-06-06 Thread K.K. via Digitalmars-d-learn
So being a noob and all I've gotten stuck on something stupid... Whenever I try to compile using DMD, and try to link .lib files I always get errors like: file4.d(2): Error: module file3 is in file 'file3lib\file3.d' which cannot be read import path[0] = %cd%\file3 import path[1] =

Re: Can't link libs?

2014-06-06 Thread K.K. via Digitalmars-d-learn
On Friday, 6 June 2014 at 16:33:27 UTC, Adam D. Ruppe wrote: When you compile the final program, the library .d file needs to be available too, either in the folder based on its name or passed straight to dmd explicitly. Despite the presence of the .lib file, the .d file is still needed so

Re: Can't link libs?

2014-06-06 Thread K.K. via Digitalmars-d-learn
On Friday, 6 June 2014 at 16:52:24 UTC, Adam D. Ruppe wrote: On Friday, 6 June 2014 at 16:41:24 UTC, K.K. wrote: I have kept all the files in one folder. So if I don't need to explicitly call the .lib in DMD, does that mean the .lib is just a passive object? Should I make libs in place of

Re: Help plz: Using to libraries in D?

2014-04-29 Thread K.K. via Digitalmars-d-learn
btw, please ignore my completely broken English in the title. Apparently I had a moment.

Re: Help plz: Using to libraries in D?

2014-04-29 Thread K.K. via Digitalmars-d-learn
On Tuesday, 29 April 2014 at 21:16:38 UTC, John Colvin wrote: I would recommend using dub for managing dependencies and building libraries etc. http://code.dlang.org/about Oh wow this looks awesome! I'll start messing around with it now - Thanks!