Bitcoin Forum
January 24, 2018, 06:41:03 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: compiling a bitcoin-qt.exe on ubuntu using mxe (help neded)  (Read 1392 times)
regtable69
Hero Member
*****
Offline Offline

Activity: 532


View Profile
May 21, 2014, 02:05:33 PM
 #1

to start with i was getting missing (filename).h which i have sorted. i downloaded the bd 4.8 as instructed and re compiled
i ran
Code:
~/mxe/usr/i686-pc-mingw32.static/qt5/bin/qmake USE_UPNP=0
and
Code:
~/mxe/usr/i686-pc-mingw32.static/qt5/bin/qmake USE_UPNP=-
using "make" inbetween times as per some peoples resolves but nothing seems to work for me.
I am using ubuntu 13.04 x64 8core cpu 8 gb ram

on compile i recieve this error
Code:
/usr/include/boost/thread/win32/shared_mutex.hpp:51:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:30:0,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/date_time/time_clock.hpp:17,
                 from /usr/include/boost/thread/thread_time.hpp:9,
                 from /usr/include/boost/thread/win32/basic_timed_mutex.hpp:15,
                 from /usr/include/boost/thread/win32/mutex.hpp:8,
                 from /usr/include/boost/thread/mutex.hpp:14,
                 from src/allocators.h:10,
                 from src/qt/walletmodel.h:6,
                 from src/qt/bitcoin.cpp:9:
/usr/include/boost/checked_delete.hpp: In instantiation of 'void boost::checked_delete(T*) [with T = boost::error_info<boost::tag_original_exception_type, const std::type_info*>]':
/usr/include/boost/smart_ptr/detail/shared_count.hpp:95:38:   required from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::error_info<boost::tag_original_exception_type, const std::type_info*>]'
/usr/include/boost/smart_ptr/shared_ptr.hpp:183:50:   required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::error_info<boost::tag_original_exception_type, const std::type_info*>; T = boost::error_info<boost::tag_original_exception_type, const std::type_info*>]'
/usr/include/boost/exception/info.hpp:171:69:   required from 'const E& boost::exception_detail::set_info(const E&, const boost::error_info<Tag, T>&) [with E = boost::unknown_exception; Tag = boost::tag_original_exception_type; T = const std::type_info*]'
/usr/include/boost/exception/info.hpp:192:46:   required from 'typename boost::enable_if<boost::exception_detail::derives_boost_exception<E>, const E&>::type boost::operator<<(const E&, const boost::error_info<Tag, T>&) [with E = boost::unknown_exception; Tag = boost::tag_original_exception_type; T = const std::type_info*; typename boost::enable_if<boost::exception_detail::derives_boost_exception<E>, const E&>::type = const boost::unknown_exception&]'
/usr/include/boost/exception/detail/exception_ptr.hpp:182:21:   required from 'void boost::unknown_exception::add_original_type(const E&) [with E = std::exception]'
/usr/include/boost/exception/detail/exception_ptr.hpp:161:32:   required from here
/usr/include/boost/checked_delete.hpp:34:5: warning: deleting object of polymorphic class type 'boost::error_info<boost::tag_original_exception_type, const std::type_info*>' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
     delete x;
     ^
In file included from /usr/include/boost/filesystem/v3/path_traits.hpp:23:0,
                 from /usr/include/boost/filesystem/v3/path.hpp:25,
                 from /usr/include/boost/filesystem.hpp:35,
                 from src/db.h:15,
                 from src/walletdb.h:8,
                 from src/wallet.h:8,
                 from src/init.h:8,
                 from src/qt/bitcoin.cpp:13:
/usr/include/boost/system/error_code.hpp:214:36: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
                                    ^
/usr/include/boost/system/error_code.hpp:215:36: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat     = generic_category();
                                    ^
/usr/include/boost/system/error_code.hpp:216:36: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
     static const error_category &  native_ecat    = system_category();
                                    ^
make[1]: *** [build/bitcoin.o] Error 1
make[1]: Leaving directory `/home/poolrig/abccoin'
make: *** [release] Error 2
any help would be appreciated

http://ghettomining-co.in/net/coin 0% fee +potential block reward  https://discord.gg/NXDanPe net discord
http://ghettomining-co.in/ltc/coin 0% fee                                            https://discord.gg/kHekYc5 pool discord to sign up
http://ghettomining-co.in/waya/coin 0% fee
1516776063
Hero Member
*
Offline Offline

Posts: 1516776063

View Profile Personal Message (Offline)

Ignore
1516776063
Reply with quote  #2

1516776063
Report to moderator
1516776063
Hero Member
*
Offline Offline

Posts: 1516776063

View Profile Personal Message (Offline)

Ignore
1516776063
Reply with quote  #2

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

Posts: 1516776063

View Profile Personal Message (Offline)

Ignore
1516776063
Reply with quote  #2

1516776063
Report to moderator
1516776063
Hero Member
*
Offline Offline

Posts: 1516776063

View Profile Personal Message (Offline)

Ignore
1516776063
Reply with quote  #2

1516776063
Report to moderator
1516776063
Hero Member
*
Offline Offline

Posts: 1516776063

View Profile Personal Message (Offline)

Ignore
1516776063
Reply with quote  #2

1516776063
Report to moderator
regtable69
Hero Member
*****
Offline Offline

Activity: 532


View Profile
May 22, 2014, 11:44:22 AM
 #2

Back to square one fresh install still the same error. All linux pieces working. Just failing an exe compile. Iv seen tuts saying use mingw in windows on a linux virtual machine :-s makes no sense.

http://ghettomining-co.in/net/coin 0% fee +potential block reward  https://discord.gg/NXDanPe net discord
http://ghettomining-co.in/ltc/coin 0% fee                                            https://discord.gg/kHekYc5 pool discord to sign up
http://ghettomining-co.in/waya/coin 0% fee
aysha9869
Newbie
*
Offline Offline

Activity: 20


View Profile
September 12, 2016, 11:55:40 AM
 #3

any update about bitcoin-qt.exe? where link i want download?
mocacinno
Legendary
*
Online Online

Activity: 1106


http://www.mocacinno.com


View Profile WWW
September 12, 2016, 12:00:05 PM
 #4

I realise it's not exacly what you've asked for, but i've successfully built the windows, mac and linux binary of bitcoin using gitian.

Just follow these intstructions: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md
IIRC, i followed them to the letter (including running the exact same versions), and it compiled perfectly.

Pages: [1]
  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!