Bitcoin Forum
October 17, 2017, 04:26:17 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 [6]  All
  Print  
Author Topic: Armory 0.95 is out  (Read 8142 times)
dellech
Jr. Member
*
Offline Offline

Activity: 39


View Profile
July 29, 2017, 10:38:48 PM
 #101

Hi,

thanks for finalizing the new release! I am keen to check it out Smiley

I get the following compilation error in Swig:
Code:
CppBlockUtils_wrap.cxx:3991:77: error: ‘type_name’ is not a member of ‘swig::traits<long long unsigned int>’

Regards,
Michael

What OS and compiler are you using?

Hi

I encountered the same error and found a workaround. Successfully compiled Armory 0.96.1 for usage as my offline signer wallet.

I need a 32bit linux version (OpenSUSE Tumbleweed, GCC 7.2) because my cold wallet is on an old Pentium M laptop, so 64bit OS is not an option.
After the compilation error I tried to compile Armory on a Bananpi M1 with armbian. Same error here and I found the following workaround which also helped for the 32bit compile:

in the file BitcoinArmory/cppForSwig/CppBlockUtils.i on line 44 I added the "|| 1" at the end.
Code:
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) || defined(__CLANG__) || 1
%typedef unsigned long long uint64_t;
#else
#if defined(__GNUC__) // Linux
%typedef long unsigned int uint64_t;
#else
%typedef unsigned long long uint64_t;
#endif
#endif

It seems that the definition for the case __GNUC__ is only valid for 64bit Intel/AMD targets. my addition simply forces the typedef unsigned long long  instead of long unsigned int.  That does the trick for x86_32 and arm7.

Offline wallet creation and signing work like a charm - I tried 2 small transactions signed with the resulting executables and everything went ok.

I do not know enough C++, python and swig to suggest the real solution, but my workaround might give a hint.


Cheers and many thanks for your work, Goatpig!
1508214377
Hero Member
*
Offline Offline

Posts: 1508214377

View Profile Personal Message (Offline)

Ignore
1508214377
Reply with quote  #2

1508214377
Report to moderator
1508214377
Hero Member
*
Offline Offline

Posts: 1508214377

View Profile Personal Message (Offline)

Ignore
1508214377
Reply with quote  #2

1508214377
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508214377
Hero Member
*
Offline Offline

Posts: 1508214377

View Profile Personal Message (Offline)

Ignore
1508214377
Reply with quote  #2

1508214377
Report to moderator
1508214377
Hero Member
*
Offline Offline

Posts: 1508214377

View Profile Personal Message (Offline)

Ignore
1508214377
Reply with quote  #2

1508214377
Report to moderator
1508214377
Hero Member
*
Offline Offline

Posts: 1508214377

View Profile Personal Message (Offline)

Ignore
1508214377
Reply with quote  #2

1508214377
Report to moderator
nimbosa
Newbie
*
Offline Offline

Activity: 7


View Profile WWW
July 31, 2017, 11:29:11 AM
 #102

minor issue: reported here https://github.com/goatpig/BitcoinArmory/issues/275

using latest release armory_0.96.1_amd64.deb (Armory 0.96.1 for Ubuntu/Debian 64-bit):

$ sudo apt install -y ./armory_0.96.1_amd64.deb
.
..
...
Setting up armory (0.96.1-1) ...
   Setting up menu items.
    EXEC: xdg-icon-resource install --novendor --context apps --size 64 /usr/local/share/armory/img/armory_icon_64x64.png armoryicon
xdg-icon-resource: file '/usr/local/share/armory/img/armory_icon_64x64.png' does not exist
    EXEC: xdg-icon-resource install --novendor --context apps --size 64 /usr/local/share/armory/img/armory_icon_64x64.png armoryofflineicon
xdg-icon-resource: file '/usr/local/share/armory/img/armory_icon_64x64.png' does not exist
    EXEC: xdg-icon-resource install --novendor --context apps --size 64 /usr/local/share/armory/img/armory_icon_green_64x64.png armorytestneticon
xdg-icon-resource: file '/usr/local/share/armory/img/armory_icon_green_64x64.png' does not exist
    EXEC: xdg-desktop-menu  install --novendor /usr/share/applications/armory.desktop
    EXEC: xdg-desktop-menu  install --novendor /usr/share/applications/armorytestnet.desktop
    EXEC: xdg-desktop-menu  install --novendor /usr/share/applications/armoryoffline.desktop
...
..
.
$
Pages: « 1 2 3 4 5 [6]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!