Author

Topic: Building PrimeCoin QT on windows - help (Read 1706 times)

newbie
Activity: 18
Merit: 0
August 24, 2013, 11:44:59 AM
#3
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
full member
Activity: 168
Merit: 100
August 24, 2013, 10:34:27 AM
#2
the real error is somewhere prior to that line, ":-1: error: D8021 : invalid numeric argument '/Wextra'" is pretty much only the exit code.
newbie
Activity: 18
Merit: 0
August 24, 2013, 10:17:50 AM
#1
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 ...... Smiley
Jump to: