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
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
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
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'
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
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
Documented here:
http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD#PassingsearchdirectoriesforstaticlibraryfilestoOptlink
Damn what a big hashtag, lol.
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
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
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
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.
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 =
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 =
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
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.
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
16 matches
Mail list logo