Re: try to compile githubs dmd-master zip with vstudio 2010

2013-01-30 Thread Namespace
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/rzvaprvvgdtwrnoto...@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.


Re: try to compile githubs dmd-master zip with vstudio 2010

2013-01-29 Thread dennis luehring

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/rzvaprvvgdtwrnoto...@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?


try to compile githubs dmd-master zip with vstudio 2010

2013-01-27 Thread dennis luehring

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?


Re: try to compile githubs dmd-master zip with vstudio 2010

2013-01-27 Thread 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


Re: try to compile githubs dmd-master zip with vstudio 2010

2013-01-27 Thread dennis luehring

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