[DFTB-Plus-User] Compiling dftb-plus in windows

Benjamin Hourahine benjamin.hourahine at strath.ac.uk
Thu Apr 2 00:18:46 CEST 2009

There have been a few posts on the list about successfully  using the cygwin environment
(I'll dig around in the archive tomorrow). I'm not aware of anyone using mingw. It sounds like
there is a problem with the creation of a workspace directory in the makefile (-p is a flag fo
 the unix mkdir utility), but I'm not windows based so can't test this.
From: dftb-plus-user-bounces at dftb-plus.info [dftb-plus-user-bounces at dftb-plus.info] On Behalf Of Ewerton Caetano [ewcaetano at gmail.com]
Sent: 29 March 2009 05:01
To: dftb-plus-user at dftb-plus.info
Subject: [DFTB-Plus-User] Compiling dftb-plus in windows

Dear members of the list,

I have installed the last version of mingw (last version) with gcc
3.4.5, cpp, g95 and successfully compiled gnumake, blas and lapack in
a Windows XP 32 bit environment. I also have awk.exe installed and
working fine. I would like to know if it is possible to use these
tools to create an windows executable dftb+.exe. I have tried to use
the make file provided for the g95 compiler in the sysmakes folder
(1.0.1 version), but every time I try to run gnumake the following
error appears:

'[' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file -p already exists.
Error occurred while processing: -p.
A subdirectory or file _obj_i686-linux-g95 already exists.
Error occurred while processing: _obj_i686-linux-g95.
gnumake: *** [_obj_i686-linux-g95] Error 1

Any help you could give me will be welcome. I am a newbie in Linux, as
you can see.

Best regards,

Ewerton Wagner Santos Caetano

Instituto Federal de Educação, Ciência e Tecnologia
Av. Treze de Maio, 2081 - Benfica - Fortaleza/CE - Brazil
DFTB-Plus-User mailing list
DFTB-Plus-User at dftb-plus.info

More information about the DFTB-Plus-User mailing list