On 21/05/14 15:18, JJDuck wrote:
I try to use Tango and Phobo together in D2 and I downloaded the package
from link(https://github.com/SiegeLord/Tango-D2 and follow its
installation
process(https://github.com/SiegeLord/Tango-D2/wiki/Installation#linux-gdc).
But it has only Linux installation but not windows.
This is what I do.
1. Visual-D and DMD already installed. link
2. I save the file to c:\Tango-D2-d2port
3. modify my C:\D\dmd2\windows\bin\sc.ini as followed
[Version] version=7.51 Build 020
; environment for both 32/64 bit
[Environment]
DFLAGS= -IC:\Tango-D2-d2port\ -L-LC:\Tango-D2-d2port\
"-I%@P%....\src\phobos" "-I%@P%....\src\druntime\import"
; optlink only reads from the Environment section so we need this
redundancy ; from the Environment32 section (bugzilla 11302)
LIB="%@P%..\lib"
[Environment32]
LIB="%@P%..\lib"
LINKCMD=%@P%\link.exe
[Environment64]
LIB="%@P%..\lib64"
DFLAGS=%DFLAGS% -L/OPT:NOICF
LINKCMD=%VCINSTALLDIR%\bin\link.exe
4. I compile my code using following shell script file and I use
dmd2\windows\bin\shell.exe to execute.
DMD=C:\D\dmd2\windows\bin\dmd
DFLAGS=
$(DMD) Main.d -debug -L+C:\Tango-D2-d2port\libtango-dmd
Shouldn't the library have a file extension, like ".lib".
--
/Jacob Carlborg