[AWS] Trying to build on Windows

Casey Comendant casey at hyperspire.com
Tue Mar 13 13:15:14 CET 2012


Hello all, in regards to the following error when trying to build AWS
on Windows I have discovered a solution that worked well for me.

The error:
>>gnatmake -Phttp_client.gpr
>>aws_libz.gpr:39:30: library directory
>>"C:\cygdrive\c\GNAT\2011\lib\aws\native\static\" does not exist
>>gnatmake: "http_client.gpr" processing failed

This error is caused when AWS_Lib_Shared.LIBZ_Path contains the wrong
value due to the virtual nature of the
file system under Cygwin and MinGW.

The solution:
In using MinGW Shell; simply do "mount C:/GNAT /GNAT"
Now just install all components under the default location (ie:
PREFIX=C:/GNAT\/2011 or --prefix=C:/GNAT\/2011)
and you should be able to launch GPS from within windows  normally and
compile your AWS sources correctly
without the previous error. I have not tested this under Cygwin but it
has worked for me under MinGW. However,
I did find the Visual Studio Command Prompt included with Microsoft
Visual Studio 2010 to work the best for
compiling and installing these components.

-------------------------------------------------------------------------------------------------
- Casey Comendant, Founder & Executive Director
- Hyperspire Research Foundation
- http://hyperspire.com/


More information about the AWS mailing list