# 1.4 64-bits systems¶

In the AsPyLib .zip archive the library files which are provided (.dll or .so.1.0) are pre-compiled libraries for 32bits platforms. If you have a 64bits system, in addition to the above steps you must re-compile each library.

In AsPyLib v2.0.0 there are 6 libraries. For Windows they are:

aspylib_v2.0.0\aspylib\lib\astrometry.dll
aspylib_v2.0.0\aspylib\lib\bilinear.dll
aspylib_v2.0.0\aspylib\lib\binning.dll
aspylib_v2.0.0\aspylib\lib\Bspline.dll
aspylib_v2.0.0\aspylib\lib\median.dll
aspylib_v2.0.0\aspylib\lib\sigma_clipping.dll

and for Linux:

aspylib_v2.0.0/aspylib/lib/libastro.so.1.0
aspylib_v2.0.0/aspylib/lib/libbilinear.so.1.0
aspylib_v2.0.0/aspylib/lib/libbinning.so.1.0
aspylib_v2.0.0/aspylib/lib/libbspline.so.1.0
aspylib_v2.0.0/aspylib/lib/libmedian.so.1.0
aspylib_v2.0.0/aspylib/lib/libsigmaclip.so.1.0

## Windows¶

To recompile under Windows you can use Code-Blocks v10.05. With the source files, a Code-Blocks project is provided in the AsPyLib archive.

Once Code-Blocks is installed you just have to double-click on the .cbp icon to open the project. Then check the options and compile to re-create the .dll file. Most likely a folder bin\Release\ is created that contains the new .dll. The new .dll must be moved to the upper folder to replace the old one.

Repeat the procedure for each .dll.

## Linux¶

To recompile under Linux, you must do the following for each library:

g++ -Wall -fPIC -c *.cpp
g++ -shared -Wl,-soname,libastro.so.1 -o libastro.so.1.0 *.o