Author

Topic: Building Armory on Windows MSVS 2012 (Read 990 times)

legendary
Activity: 1428
Merit: 1093
Core Armory Developer
September 28, 2013, 01:09:49 PM
#2
I know this thread is old, but I would just like to mention that I recently threw out and rebuilt all the MSVS projects using MSVS 2012.   User "goatpig" has been invaluable in helping get the new LevelDB stuff running/ported in Windows in MSVS.  If you want to try it, I recommend you checkout the "testing" branch and then... well it's still going to take some work.  But I'll document the whole process more rigorously once it's stable.  On the other hand, you could try it right now and help me figure out what documentation is missing!

Once you checkout the testing branch, you can open cppForSwig/BitcoinArmory.sln.  

The easiest way to use my project is to run either 64-bit or 32-bit Windows, but only install 32-bit packages so you can use the "Win32" configuration in the new BitcoinArmory.sln.  Here's a listing from my downloads folder in the process of getting this setup.  Again: EVERYTHING needs to be 32-bit packages (except for 7zip and Git).  Even though you are running a 64-bit OS, you must download the 32-bit packages.  If you do 64-bit, you'll have to setup all the MSVS projects with x64 build config.

Quote from: EverythingDownloadedFor64bitWin7ToCompile32BitArmory
7z920-x64.msi
Git-1.8.4-preview20130916.exe
GRMWDK_EN_7600_1.iso
PyQt4-4.10.3-gpl-Py2.7-Qt4.8.5-x32.exe
TortoiseGit-1.8.5.0-32bit.msi
Twisted-13.1.0.win32-py2.7.msi
VS2012_WDX_ENU.iso
gvim74.exe
psutil-1.0.1.win32-py2.7.exe
pthreads-w32-2-9-1-release.zip*
py2exe-0.6.9.win32-py2.7.exe
python-2.7.5.msi
pywin32-218.win32-py2.7.exe
swigwin-2.0.4.zip*
zope.interface-3.8.0.win32-py2.7.exe**


*The two things that are starred are not "installed."  They are unpacked into the cppForSwig directory and then the swigwin-2.0.4 directory is renamed to "swigwin" (leave the pthreads dir alone, unless it's not named "pthreads-w32-2-9-1-release").  Once they are unpacked, they will automatically link to the BitcoinArmory.sln projects.

**The zope library has a really unfortunate bug.  It requires, after installation, to go to the "C:\Python27\Lib\site-packages\zope" directory and make an empty file named "__init__.py".

It's possible that I missed something in this list due to clicking "Run" directly from the download page instead of saving it to the downloads folder.   I'm sure you'll let me know Smiley   And I'll update this post as we find out more.  And once the instructions are done/stable, I'll update the webpage.  

Okay more steps:  In order for py2exe to properly create ArmoryQt.exe, it needs two dlls present in the BitcoinArmory directory: 

msvcp90.dll
pthreadVC2.dll

You can find a copy of msvcp90.dll in your C:\Windows directory (search for it), just make sure you grab an x86 version, if you followed the directions above to install all 32-bit dependencies.
pthreadVC2.dll is found in the pthread directory that you copied into the BitcoinArmory/cppForSwig directory earlier.  Again, make sure you use the 32-bit/x86 version. 
newbie
Activity: 52
Merit: 0
August 15, 2013, 04:27:19 PM
#1
I am setting up a new install of MSVS on my home computer 64-bit. I have not bought the software yet. But does anyone have any experience on doing a build with MSVS 2012? I see the Windows Build Instructions were done using MSVS 2008 and that "other versions may take some tinkering".
Jump to: