Re: Simple I know, but could use some help compiling with make

2011-10-07 Thread Roderick Gibson
On 10/5/2011 7:46 AM, Ola Ost wrote: I had exactly this problem too, I asked on the Derelict forums: http://www.dsource.org/forums/viewtopic.php?t=5856sid=8ebff671fafec3bd8962ddfceaf99eb8 At the moment I've resolved this by building Derelict with make, first a normal full build, then a second

Re: Simple I know, but could use some help compiling with make

2011-10-07 Thread Nick Sabalausky
Ola Ost ola...@gmail.com wrote in message news:j6hqkh$lk0$1...@digitalmars.com... I had exactly this problem too, I asked on the Derelict forums: http://www.dsource.org/forums/viewtopic.php?t=5856sid=8ebff671fafec3bd8962ddfceaf99eb8 At the moment I've resolved this by building Derelict with

Re: Simple I know, but could use some help compiling with make

2011-10-05 Thread Ola Ost
I had exactly this problem too, I asked on the Derelict forums: http://www.dsource.org/forums/viewtopic.php?t=5856sid=8ebff671fafec3bd8962ddfceaf99eb8 At the moment I've resolved this by building Derelict with make, first a normal full build, then a second run using the cleandi target, which

Re: Simple I know, but could use some help compiling with make

2011-10-01 Thread Lutger Blijdestijn
Roderick Gibson wrote: ... Hmm, looks like it would be awesome, unfortunately it spits out a bunch of previous definition different errors on the linker, in relation to the libraries. Oh well, I seem to be able to get it working with dmd for now. This could be caused by having two 'main'

Simple I know, but could use some help compiling with make

2011-09-29 Thread Roderick Gibson
It's my first foray into the arcana of makefiles and command line compiling. My makefile looks like this: IMPORT = -IC:\Dlang\dmd2\src\ext\Derelict2\import LIB_PATHS = -LC:\Dlang\dmd2\src\ext\Derelict2\lib LIB_INCLUDES = DerelictSDL.lib DerelictGL.lib DerelictUtil.lib all: dmd

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Andrej Mitrovic
No it's not the same for Windows. On Windows you have to use -L+, e.g.: dmd myfile.d -L+path/to/libs mylib.lib

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Andrej Mitrovic
Documented here: http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD#PassingsearchdirectoriesforstaticlibraryfilestoOptlink Damn what a big hashtag, lol.

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Steven Schveighoffer
On Thu, 29 Sep 2011 14:32:28 -0400, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: No it's not the same for Windows. On Windows you have to use -L+, e.g.: dmd myfile.d -L+path/to/libs mylib.lib That's because +path/to/libs is the search-path parameter for OPTLINK. -L goes before all

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Andrej Mitrovic
On 9/29/11, Steven Schveighoffer schvei...@yahoo.com wrote: On Thu, 29 Sep 2011 14:32:28 -0400, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: No it's not the same for Windows. On Windows you have to use -L+, e.g.: dmd myfile.d -L+path/to/libs mylib.lib That's because +path/to/libs is

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Steven Schveighoffer
On Thu, 29 Sep 2011 15:28:56 -0400, Roderick Gibson knit...@gmail.com wrote: On 9/29/2011 11:52 AM, Andrej Mitrovic wrote: On 9/29/11, Steven Schveighofferschvei...@yahoo.com wrote: On Thu, 29 Sep 2011 14:32:28 -0400, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: No it's not the same

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Andrej Mitrovic
Odd, I never have to do double backslashes. Maybe it's a problem with make. Personally I just use batch files, I kind of got used to them for simple projects. For everything else a D script is my handy tool.

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Nick Sabalausky
Roderick Gibson knit...@gmail.com wrote in message news:j62d4i$1d8l$1...@digitalmars.com... It's my first foray into the arcana of makefiles and command line compiling. My makefile looks like this: IMPORT = -IC:\Dlang\dmd2\src\ext\Derelict2\import LIB_PATHS =

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:j62msu$205t$1...@digitalmars.com... Roderick Gibson knit...@gmail.com wrote in message news:j62d4i$1d8l$1...@digitalmars.com... It's my first foray into the arcana of makefiles and command line compiling. My makefile looks like this: IMPORT =

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Steven Schveighoffer
On Thu, 29 Sep 2011 16:30:54 -0400, Roderick Gibson knit...@gmail.com wrote: On 9/29/2011 1:02 PM, Steven Schveighoffer wrote: On Thu, 29 Sep 2011 15:28:56 -0400, Roderick Gibson knit...@gmail.com wrote: On 9/29/2011 11:52 AM, Andrej Mitrovic wrote: On 9/29/11, Steven

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Roderick Gibson
On 9/29/2011 2:15 PM, Nick Sabalausky wrote: Nick Sabalauskya@a.a wrote in message news:j62msu$205t$1...@digitalmars.com... Roderick Gibsonknit...@gmail.com wrote in message news:j62d4i$1d8l$1...@digitalmars.com... It's my first foray into the arcana of makefiles and command line compiling.

Re: Simple I know, but could use some help compiling with make

2011-09-29 Thread Roderick Gibson
On 9/29/2011 2:39 PM, Nick Sabalausky wrote: Roderick Gibsonknit...@gmail.com wrote in message news:j62nvo$2237$1...@digitalmars.com... On 9/29/2011 2:15 PM, Nick Sabalausky wrote: Nick Sabalauskya@a.a wrote in message news:j62msu$205t$1...@digitalmars.com... Roderick