Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: DUMmy97531 on August 24, 2013, 03:17:50 PM



Title: Building PrimeCoin QT on windows - help
Post by: DUMmy97531 on August 24, 2013, 03:17:50 PM
Hi

Can anybody help?

I am trying to build the Primecoin-HP9 client from Source using QT-Creator on a Windows 7 64 bit machine but receive a build error.

:-1: error: D8021 : invalid numeric argument '/Wextra'

I have searched everywhere but found no answer. It has been indicated that this is due to the use of the Msc compiler, but I also tried the MinGW compiler with no success. I also have MS Studio 2012 installed. Removing -Wextra from the "QMAKE_CXXFLAGS_WARN_ON" flag just increased the number of errors.

I am a bit stuck and really would appreciate any help ...... :)


Title: Re: Building PrimeCoin QT on windows - help
Post by: minerapia on August 24, 2013, 03:34:27 PM
the real error is somewhere prior to that line, ":-1: error: D8021 : invalid numeric argument '/Wextra'" is pretty much only the exit code.


Title: Re: Building PrimeCoin QT on windows - help
Post by: DUMmy97531 on August 24, 2013, 04:44:59 PM
The problem is I am lost in finding the source of the problem.

From what I have read, the problem is that the Mscv compiler does not handle this flag but the MinGW does. I have tried both and both gave me the same error. I have looked at the qmake.conf files in the QT directory, and the Mscv version does not have them.

I am looking on guidance on where and how to find the cause of the error. I have no idea where to look.... Google is not very helpful...

BTW the source code is original from the Github. I have changed nothing. The line where the term occurs is in the bitcoin-qt-win64.pro file.

QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector