Windows



A native Windows executable, which does not depend on third-party DLLs, can be easily obtained using MinGW and MSYS tools. After installing MinGW and MSYS (32-bit versions), as well as the latest MinGW version of the GNU compilers, if you are running a 64-bit version of Microsoft Windows and wish to exploit the full computational power of 64-bit BLAS/LAPACK libraries, you will also need to install the 64-bit versions of the GNU compilers. Both 32 and 64-bit GNU compilers can be retrieved from the MinGW-w64 project website. We suggest to install 32 and 64-bit versions under separate directory trees in order to avoid confusion. In the following paragraph we are going to illustrate the build of a 32-bit SSE3 version of Open3DQSAR linked against 32-bit SSE3 ATLAS libraries. The subsequent paragraph deals with building a 64-bit SSE3 version of Open3DQSAR linked against 64-bit SSE3 ATLAS libraries.


32-bit Open3DQSAR

Firstly, you will have to build the static ATLAS libraries (libatlas.a, libcblas.a and liblapack.a). As explained very clearly in the ATLAS install instructions, Cygwin is needed to build ATLAS libraries; however, the dependency on Cygwin only concerns the building step, while the libraries are native Windows objects, i.e., they do not depend on Cygwin DLLs. This means that, once you have built ATLAS libraries, you will not need Cygwin anymore.
Open3DQSAR depends on the MinGWEditLine library, which is included in the Open3DQSAR distribution. To build the mingweditline library, cd in the mingweditline-X.Y folder, where X and Y are the major and minor version numbers, then type:

$ cd src

Edit the paths in the Makefile as needed, then type:

$ make
$ make install

Then move up two folders and build open3dqsar:

$ cd ..
$ ./bootstrap

Subsequently, you should set up your build through the configure script as in the following:

$ ./configure \
       CC=/mingw/mingw-w32-bin_i686-mingw/bin/i686-w64-mingw32-gcc.exe \
       AR=/mingw/mingw-w32-bin_i686-mingw/bin/i686-w64-mingw32-ar.exe \
       RANLIB=/mingw/mingw-w32-bin_i686-mingw/bin/i686-w64-mingw32-ranlib.exe \
       CFLAGS="-Wall -O3 -m32 -msse3 \
       -I/c/build/include" \
       LDFLAGS="-L/c/build/lib32" \
       --with-atlas \
       --prefix=/c/build --libdir=/c/build/lib32


Clearly, the paths reported in the example above might vary slightly according to your specific installations details.

Subsequently, type

$ make
$ make install


to have the open3dqsar.exe executable binary installed in the C:\build\bin folder and the documentation in C:\build\share\doc\Open3DQSAR. Please note that this is a native Windows 32-bit executable that does not depend on any external DLLs and may be relocated everywhere on your system, including pendrives and network shares.



64-bit Open3DQSAR

Firstly, you will have to build the static ATLAS libraries (libatlas.a, libcblas.a and liblapack.a). As explained very clearly in the ATLAS install instructions, Cygwin is needed to build ATLAS libraries; however, the dependency on Cygwin only concerns the building step, while the libraries are native Windows objects, i.e., they do not depend on Cygwin DLLs. This means that, once you have built ATLAS libraries, you will not need Cygwin anymore.
Open3DQSAR depends on the MinGWEditLine library, which is included in the Open3DQSAR distribution. To build the mingweditline library, cd in the mingweditline-X.Y folder, where X and Y are the major and minor version numbers, then type:

$ cd src

Edit the paths in the Makefile as needed, then type:

$ make
$ make install

Then move up two folders and build open3dqsar:

$ cd ..
$ ./bootstrap

Subsequently, you should set up your build through the configure script as in the following:

$ ./configure \
       CC=/mingw/mingw-w64-1.0-bin_i686-mingw/bin/x86_64-w64-mingw32-gcc.exe \
       AR=/mingw/mingw-w64-1.0-bin_i686-mingw/bin/x86_64-w64-mingw32-ar.exe \
       RANLIB=/mingw/mingw-w64-1.0-bin_i686-mingw/bin/x86_64-w64-mingw32-ranlib.exe \
       CFLAGS="-Wall -O3 -m64 -msse3 \
       -I/c/build/include" \
       LDFLAGS="-L/c/build/lib64" \
       --with-atlas \
       --prefix=/c/build --libdir=/c/build/lib64


Clearly, the paths reported in the example above might vary slightly according to your specific installations details.

Subsequently, type

$ make
$ make install


to have the open3dqsar.exe executable binary installed in the C:\build\bin folder and the documentation in C:\build\share\doc\Open3DQSAR. Please note that this is a native Windows 64-bit executable that does not depend on any external DLLs and may be relocated everywhere on your system, including pendrives and network shares.

Sitemap
Print version
Contact
Mailing list


Last update:
May 31. 2015 20:39:42

Powered by
CMSimple - CMSimple-Styles


Get Open3DGRID at SourceForge.net. Fast, secure and Free Open Source software downloads



Would you like to align your
dataset? Try Open3DALIGN
Just wish to compute a MIF?
Try Open3DGRID