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
admin@US044 MINGW64 /c/ACE/ACE_wrappers/ace
$ make64
make64[1]: Entering directory 'C:/ACE/ACE_wrappers/ace'
GNUmakefile: /c/ACE/ACE_wrappers/ace/GNUmakefile.ACE MAKEFLAGS=w
g++ -Wnon-virtual-dtor -O3 -g -mthreads -mtune=generic -fno-strict-aliasing
-Wall -W -Wpointer-arith -pipe -DACE_HAS_CUSTOM_EXPORT_MACROS=0
-Wno-unknown-pragmas -IC:\ACE\ACE_wrappers\ -DACE_NO_INLINE -I..
-DACE_BUILD_DLL -c -o .shobj/Local_Name_Space.o Local_Name_Space.cpp
In file included from ../ace/config-win32.h:30:0,
from ../ace/config.h:1,
from ../ace/config-macros.h:24,
from ../ace/config-lite.h:24,
from ../ace/ACE_export.h:11,
from ../ace/Malloc.h:18,
from ../ace/Malloc_T.h:18,
from ../ace/Local_Name_Space.h:20,
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>
^
compilation terminated.
C:\ACE\ACE_wrappers\/include/makeinclude/rules.local.GNU:188: recipe for
target '.shobj/Local_Name_Space.o' failed
make64[1]: *** [.shobj/Local_Name_Space.o] Error 1
make64[1]: Leaving directory 'C:/ACE/ACE_wrappers/ace'
GNUmakefile:45: recipe for target 'ACE' failed
make64: *** [ACE] Error 2
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