how to set up eclipse with ddt and gtkd with dmd the proper way?

maarten van damme maartenvd1994 at gmail.com
Sun Jun 26 10:20:21 PDT 2011


here is the problem:
...
 linker path 'C:\D\dmd\windows\bin\'
 linker is 'link.exe'
 librarian path 'C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\'
 librarian is 'lib.exe'
...
Running 'C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\lib.exe
@GtkD.lsp'
Failed. Return code: 0001
Cleaning up ...
  removing gtkD.obj
  removing C:\D\gtkD\src\glib\GLib.obj
  removing C:\D\gtkD\src\gtkc\glibtypes.obj
  removing C:\D\gtkD\src\gtkc\glib.obj
  removing C:\D\gtkD\src\gtkc\gthreadtypes.obj
  removing C:\D\gtkD\src\gtkc\Loader.obj
  removing C:\D\gtkD\src\gtkc\paths.obj
...

So it finds a libarian in program files but doesn't execute with quotes so
that files :s

Can I compile with dmd and not bud?
2011/6/26 maarten van damme <maartenvd1994 at gmail.com>

> so bud is now on my path but after running I get "C:\program is not
> recognized as a program" error
> I compiled with following command:
> dmd -I../../src -I../../srcgda -I../../srcgl -I../../srcgstreamer
> -I../../srcsv -c -lib -wi gtkD.d
>
> 2011/6/26 maarten van damme <maartenvd1994 at gmail.com>
>
>> I compiled it with dmd but the guy in that thread has exactly the same
>> problem as me, thanks for pointing me to it :)
>> I also noticed my gtkD.lib is 31 kb so I'll do what they suggest in the
>> tread and post my progress
>>
>>
>> 2011/6/26 Mike Wey <mike-wey at example.com>
>>
>>> On 06/26/2011 04:02 PM, maarten van damme wrote:
>>>
>>>> A little update: I've succesfully compiled gtkD and I now have a
>>>> gtkD.lib.
>>>> I've copied it to the lib folder where dmd was installed. now I try to
>>>> compile my first example without eclipse to start with.
>>>> I use dmd -IC:\D\gtkD\src -L C:\D\gtkD\src\build\gtkD.lib main.d
>>>> and I get as output
>>>>
>>>> ......
>>>>
>>>>
>>> How did you build the gtkD.lib?
>>>
>>> Also this thread http://www.dsource.org/forums/**viewtopic.php?t=5954<http://www.dsource.org/forums/viewtopic.php?t=5954>might be usefull.
>>>
>>> --
>>> Mike Wey
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110626/615963e2/attachment.html>


More information about the Digitalmars-d mailing list