Bitcoin Forum

Other => Off-topic => Topic started by: AlexMerced on April 23, 2013, 01:07:18 AM



Title: Free windows C++ Compiler - anyone know of one
Post by: AlexMerced on April 23, 2013, 01:07:18 AM
Can anyone point me in the right direction?


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Revalin on April 23, 2013, 01:15:41 AM
http://www.mingw.org/


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: AlexMerced on April 23, 2013, 01:57:29 AM
should this be good enough to compile the code for an altcoin based on litecoin?


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Remember remember the 5th of November on April 23, 2013, 02:53:37 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: QuestionAuthority on April 23, 2013, 03:29:29 AM
This http://kat.ph/microsoft-visual-studio-ultimate-2012-rtm-volume-english-iso-wzt-t6588035.html (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 (http://www.microsoft.com/en-us/download/details.aspx?id=35515).


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Remember remember the 5th of November on April 23, 2013, 04:19:10 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: CIYAM on April 23, 2013, 04:37:59 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: QuestionAuthority on April 23, 2013, 04:52:24 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: myrkul on April 23, 2013, 05:00:40 AM
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?


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: QuestionAuthority on April 23, 2013, 05:11:22 AM
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


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: myrkul on April 23, 2013, 05:17:45 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: QuestionAuthority on April 23, 2013, 05:26:32 AM
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."


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: spndr7 on April 23, 2013, 05:36:20 AM
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/


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Remember remember the 5th of November on April 23, 2013, 06:01:18 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: AlexMerced on April 23, 2013, 09:51:46 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Remember remember the 5th of November on April 23, 2013, 10:12:49 AM
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.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Lethn on April 23, 2013, 10:15:48 AM
http://www.codeblocks.org/ ? It also does various other languages like OpenGL, Ogre etc.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: rarkenin on April 23, 2013, 09:30:36 PM
CodeBlocks is an IDE. It uses MinGW as a compiler.


Title: Re: Free windows C++ Compiler - anyone know of one
Post by: Lethn on April 23, 2013, 09:32:48 PM
Ah, I'm a noob at programming :P that's what I use to mess around with code though.