Thread overview
try to compile githubs dmd-master zip with vstudio 2010
Jan 27, 2013
dennis luehring
Jan 27, 2013
Namespace
Jan 27, 2013
dennis luehring
Jan 27, 2013
Namespace
Jan 30, 2013
dennis luehring
Jan 30, 2013
Namespace
January 27, 2013
i've grabbed the dmd-master.zip from github an opended the dmd_msc_vs10.sln

but i get 3 errors

C:\Test\dmd-master\src\mars.c wants missing include verstr.h

C:\Test\dmd-master\src\c1xx missing ph.h
C:\Test\dmd-master\src\c1xx missing util.c

what else is needed to build from source this way?
January 27, 2013
I had the same problem, few days ago.
I wrote this short make script [1] which works for me.
My solution is that you must clean before, call the vs buildme and then build again with the normal make file.
Sounds weird but it works (for me).

[1] makefile:

set DM_HOME=D:\D

cd dmd
cd src
make -fwin32.mak clean

cd vcbuild
call builddmd.bat
cd ..

make -fwin32.mak release
copy *.exe %DM_HOME%\dmd2\windows\bin
make -fwin32.mak clean
pause

cd ../..
cd druntime
make -fwin32.mak
pause

cd ..
cd phobos
make -fwin32.mak
copy phobos.lib %DM_HOME%\dmd2\windows\lib

cd ..
dmd
January 27, 2013
and if i want to use the solution file?

Am 27.01.2013 14:45, schrieb Namespace:
> I had the same problem, few days ago.
> I wrote this short make script [1] which works for me.
> My solution is that you must clean before, call the vs buildme
> and then build again with the normal make file.
> Sounds weird but it works (for me).
>
> [1] makefile:
>
> set DM_HOME=D:\D
>
> cd dmd
> cd src
> make -fwin32.mak clean
>
> cd vcbuild
> call builddmd.bat
> cd ..
>
> make -fwin32.mak release
> copy *.exe %DM_HOME%\dmd2\windows\bin
> make -fwin32.mak clean
> pause
>
> cd ../..
> cd druntime
> make -fwin32.mak
> pause
>
> cd ..
> cd phobos
> make -fwin32.mak
> copy phobos.lib %DM_HOME%\dmd2\windows\lib
>
> cd ..
> dmd
>

January 27, 2013
You mean the Visual Studio solution? I tried it also, but for me only the solution above works fine.
I asked for that problem here:
http://forum.dlang.org/thread/rzvaprvvgdtwrnotovwx@forum.dlang.org?page=2#post-ehulzblzddasvyxncvdb:40forum.dlang.org
January 30, 2013
Am 27.01.2013 15:08, schrieb Namespace:
> You mean the Visual Studio solution? I tried it also, but for me
> only the solution above works fine.
> I asked for that problem here:
> http://forum.dlang.org/thread/rzvaprvvgdtwrnotovwx@forum.dlang.org?page=2#post-ehulzblzddasvyxncvdb:40forum.dlang.org
>

can you add your win32 vc build findings also to the buld wiki?

http://wiki.dlang.org/Building_DMD

are the missing files generated by the make process?
January 30, 2013
On Wednesday, 30 January 2013 at 05:39:03 UTC, dennis luehring wrote:
> Am 27.01.2013 15:08, schrieb Namespace:
>> You mean the Visual Studio solution? I tried it also, but for me
>> only the solution above works fine.
>> I asked for that problem here:
>> http://forum.dlang.org/thread/rzvaprvvgdtwrnotovwx@forum.dlang.org?page=2#post-ehulzblzddasvyxncvdb:40forum.dlang.org
>>
>
> can you add your win32 vc build findings also to the buld wiki?
>
> http://wiki.dlang.org/Building_DMD

Maybe tonight.

> are the missing files generated by the make process?

AFAIK yes.