On Sun, 10 May 2015 21:02:29 -0400 ArbolOne wrote:
A> In my laptop, running Win8.1, I want to build wxWidgets-3.0.2. To do
A> this I have downloaded MinGW-64, MSYS2 and MSYS1.10 {for the make.exe,
A> which MSYS2 is missing}.
You have been already given good advice by Fulvio, which you chose to
ignore, so I'm not sure how useful is it, but let me try to give you
another advice: when you fail to do something, you need to understand what
the problem is instead of just starting to do something else without really
understanding what are you doing. If you think you don't have time to spend
on understanding this, let me assure you that you will waste much more time
if you do not understand it.
In this particular case, you've started using TDM-GCC (or at least this
was your last attempt). It's true that there is a bug (which has already
been fixed in 3.1 and which I'll try to fix in 3.0) when using -std=c++11
with it, however you've been told, repeatedly, that a trivial workaround is
to just use -std=gnu++11 instead. What's wrong with just doing this?
Of course, MinGW64 works too. I am less sure about mixing MSYS2 and MSYS,
I've never heard of anybody doing it so I'm not sure if it works.
A> mingw32-make -f makefile.gcc CXXFLAGS="-std=gnu++11 -m64" CPP="gcc -E -D_M_AMD64" DEBUG_FLAG=1 BUILD=release UNICODE=1 MONOLITHIC=1 USE_OPENGL=1 RUNTIME_LIBS=static USE_RTTI=0 USE_EXCEPTIONS=1 2>wxWidgets-3.0.2_build.txt
A>
A> fails saying:
A>
A> process_begin: CreateProcess(NULL, C:/dev/msys64/msys/bin/ -c "if not exist gcc_mswu mkdir gcc_mswu", ...) failed.
A> make (e=5): Access is denied.
A>
A> mingw32-make: [gcc_mswu] Error 5 (ignored)
A> process_begin: CreateProcess(NULL, C:/dev/msys64/msys/bin/ -c "if not exist ..\..\lib\gcc_lib mkdir ..\..\lib\gcc_lib", ...) failed.
A> make (e=5): Access is denied.
A>
A> mingw32-make: *** [..\..\lib\gcc_lib] Error 5
A>
A> What else do I have to do? where did I go wrong?
You're using makefiles for cmd.exe shell with Unix (bash?) shell. This
can't work and
https://github.com/wxWidgets/wxWidgets/blob/master/docs/msw/install.txt#L155
clearly (IMO) explains that you must either use configure in Unix-like
environment or use DOS command prompt if you use the makefiles.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/