Bitcoin Forum
May 26, 2024, 11:53:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Free windows C++ Compiler - anyone know of one  (Read 1649 times)
AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
April 23, 2013, 01:07:18 AM
 #1

Can anyone point me in the right direction?

Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
April 23, 2013, 01:15:41 AM
 #2

http://www.mingw.org/

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
April 23, 2013, 01:57:29 AM
 #3

should this be good enough to compile the code for an altcoin based on litecoin?

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
April 23, 2013, 02:53:37 AM
 #4

NO NO NO! BAD! MinGW is dead and buried. Use MinGW-w64.
Are you retarded? Both are stable and well supported. And OP, most compilers ARE free. And you can't really compile Bitcoin with anything other than GCC(GNU Compiler Collection). And compiling Bitcoin under Windows is very hard, I and only a few other people have only succeeded.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
QuestionAuthority
Legendary
*
Offline Offline

Activity: 2156
Merit: 1393


You lead and I'll watch you walk away.


View Profile
April 23, 2013, 03:29:29 AM
 #5

This http://kat.ph/microsoft-visual-studio-ultimate-2012-rtm-volume-english-iso-wzt-t6588035.html then this http://www.microsoft.com/en-us/download/details.aspx?id=35515.

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
April 23, 2013, 04:19:10 AM
 #6

You cannot compile Bitcoin with MSVC, not yet at least. I don't think anyone has tried, but I sure as hell don't think OP can do it.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
April 23, 2013, 04:37:59 AM
 #7

Indeed you will have your work cut out for you trying to get Bitcoin to work with MSVC although it certainly should not be impossible as all the libraries that Bitcoin uses are available for MSVC but usage of specialised build tools will probably be the thing that makes things hardest.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
QuestionAuthority
Legendary
*
Offline Offline

Activity: 2156
Merit: 1393


You lead and I'll watch you walk away.


View Profile
April 23, 2013, 04:52:24 AM
 #8

You cannot compile Bitcoin with MSVC, not yet at least. I don't think anyone has tried, but I sure as hell don't think OP can do it.

Do you know he is trying to compile Bitcoin? I see a request for a free Windows C++ Compiler.

myrkul
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
April 23, 2013, 05:00:40 AM
 #9

You cannot compile Bitcoin with MSVC, not yet at least. I don't think anyone has tried, but I sure as hell don't think OP can do it.

Do you know he is trying to compile Bitcoin? I see a request for a free Windows C++ Compiler.

should this be good enough to compile the code for an altcoin based on litecoin?

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
QuestionAuthority
Legendary
*
Offline Offline

Activity: 2156
Merit: 1393


You lead and I'll watch you walk away.


View Profile
April 23, 2013, 05:11:22 AM
 #10

You cannot compile Bitcoin with MSVC, not yet at least. I don't think anyone has tried, but I sure as hell don't think OP can do it.

Do you know he is trying to compile Bitcoin? I see a request for a free Windows C++ Compiler.

should this be good enough to compile the code for an altcoin based on litecoin?

Ah, missed that. Thx

myrkul
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


FIAT LIBERTAS RVAT CAELVM


View Profile WWW
April 23, 2013, 05:17:45 AM
 #11

Ah, missed that. Thx

No problem. I do all my coding in Linux, and mostly in python, so I can't really help with suggestions, though.

BTC1MYRkuLv4XPBa6bGnYAronz55grPAGcxja
Need Dispute resolution? Public Key ID: 0x11D341CF
No person has the right to initiate force, threat of force, or fraud against another person or their property. VIM VI REPELLERE LICET
QuestionAuthority
Legendary
*
Offline Offline

Activity: 2156
Merit: 1393


You lead and I'll watch you walk away.


View Profile
April 23, 2013, 05:26:32 AM
 #12

Ah, missed that. Thx

No problem. I do all my coding in Linux, and mostly in python, so I can't really help with suggestions, though.

If he's compiling a client then he will be stuck using minimalist GNU for windows. Python is a better choice but like they say, "go for what you know."

spndr7
Legendary
*
Offline Offline

Activity: 1020
Merit: 1000



View Profile WWW
April 23, 2013, 05:36:20 AM
 #13

Can anyone point me in the right direction?

This two are currently very good opensource projects.

1. http://sourceforge.net/projects/orwelldevcpp/

2. http://www.codeblocks.org/

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
April 23, 2013, 06:01:18 AM
 #14

Can anyone point me in the right direction?

This two are currently very good opensource projects.

1. http://sourceforge.net/projects/orwelldevcpp/

2. http://www.codeblocks.org/
I wouldn't recommend those. Using the latest MinGW is best, but if he wants to compile the Qt version of a client, he will need to either use MinGW 4.4 OR compile Qt from source, like I did, because in GCC 4.7+ there were C and C++ ABI changes.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
April 23, 2013, 09:51:46 AM
 #15

Forgive my ignorance, I'm just trying to learn, but what do you mean compile from source.

I have taken C++ classes long ago but I never did use any windows libraries it was all very basic being compiled using Borland on a unix server if I remember correctly. Just trying to be familiar with what it takes to compile bitcoin/litecoin software after I tinker with the code.

Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
April 23, 2013, 10:12:49 AM
 #16

Forgive my ignorance, I'm just trying to learn, but what do you mean compile from source.

I have taken C++ classes long ago but I never did use any windows libraries it was all very basic being compiled using Borland on a unix server if I remember correctly. Just trying to be familiar with what it takes to compile bitcoin/litecoin software after I tinker with the code.
Currently Bitcoin only supports being built with MinGW, for the console version you will need OpenSSL,BDB and Boost and optionally miniupnpc, all of those need to be compiled with the same compiler. Only then can you compile Bitcoin.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
April 23, 2013, 10:15:48 AM
 #17

http://www.codeblocks.org/ ? It also does various other languages like OpenGL, Ogre etc.
rarkenin
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
April 23, 2013, 09:30:36 PM
 #18

CodeBlocks is an IDE. It uses MinGW as a compiler.
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
April 23, 2013, 09:32:48 PM
 #19

Ah, I'm a noob at programming Tongue that's what I use to mess around with code though.
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!