On 05/07/2015 07:04 PM, James Franco wrote:
> I am attempting to build ACE using msys2. I have successfully managed to
> build it using msys.
> However when I try to build it using msys2 I get the following error
>                  from Local_Name_Space.cpp:3:
> ../ace/config-win32-common.h:474:29: fatal error: winsock2.h: No such file
> or directory
>  #  include /**/ <winsock2.h>
The fact the characters < and > surround the winsock2.h indicate it
should be in your include path.

The -I should be in in your Makefile as a line like this:
CFLAGS=-g -Isomepath -Ithepathtowherethewinsock2headergoeshere

That should be enough.


>                              ^

> 
> Any suggestions on why the library builds fine using the standard msys but
> gives the above error with msys2 ? I am using mingw 64 and did this before
> attempting to build the library
> 
> export PATH=/c/mingw64/bin:$PATH
> 
> The above adds the path of Mingw64 to the path


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to