PDA

View Full Version : Stuck on building Qt 5.7 with Mingw64



r2com
28th July 2016, 20:30
I'm looking here http://wiki.qt.io/MinGW-64-bit

And decided to take an Option B, i.e. using MSYS2 to build Qt 5.7, but I'm stuck on building the OpenSSL, specifically:


$ make depend && make && make install making depend in crypto...
make[1]: Entering directory '/c/Qt/qt5_deps/openssl-1.0.2h/crypto'
gcc.exe: error: unrecognized command line option '-prefix=C:/Qt/qt5_deps/openssl-1.0.2h'
make[1]: *** [Makefile:137: local_depend] Error 1
make[1]: Leaving directory '/c/Qt/qt5_deps/openssl-1.0.2h/crypto'
make: *** [Makefile:471: depend] Error 1



Why does it say that it is an unrecognized command line option? the openssl source file was unzipped and I ran the configure command before that as well, what's the problem?

r2com
29th July 2016, 19:11
ok so the problem was "-prefix" instead of "--prefix"

maintainers of that wiki page should fix it I guess

ChrisW67
31st July 2016, 14:30
Or you could just sign in and fix it yourself (and avoid the "feature" that probably converted -- into an en-dash)