Bitcoin Forum
May 04, 2024, 12:00:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Building PrimeCoin QT on windows - help  (Read 1682 times)
DUMmy97531 (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 24, 2013, 03:17:50 PM
 #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
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714824030
Hero Member
*
Offline Offline

Posts: 1714824030

View Profile Personal Message (Offline)

Ignore
1714824030
Reply with quote  #2

1714824030
Report to moderator
1714824030
Hero Member
*
Offline Offline

Posts: 1714824030

View Profile Personal Message (Offline)

Ignore
1714824030
Reply with quote  #2

1714824030
Report to moderator
minerapia
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
August 24, 2013, 03:34:27 PM
 #2

the real error is somewhere prior to that line, ":-1: error: D8021 : invalid numeric argument '/Wextra'" is pretty much only the exit code.

donations -> btc: 1M6yf45NskQxWXknkMTzQ8o6wShQcSY4EC
                   ltc: LeTpCd6cQL26Q1vjc9kJrTjjFMrPhrpv6j
DUMmy97531 (OP)
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 24, 2013, 04:44:59 PM
 #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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!