Title: compiling a bitcoin-qt.exe on ubuntu using mxe (help neded)
Post by: regtable69 on May 21, 2014, 02:05:33 PM
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 ~/mxe/usr/i686-pc-mingw32.static/qt5/bin/qmake USE_UPNP=0
and ~/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 /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
Title: Re: compiling a bitcoin-qt.exe on ubuntu using mxe (help neded)
Post by: regtable69 on May 22, 2014, 11:44:22 AM
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.
Title: Re: compiling a bitcoin-qt.exe on ubuntu using mxe (help neded)
Post by: aysha9869 on September 12, 2016, 11:55:40 AM
any update about bitcoin-qt.exe? where link i want download?
Title: Re: compiling a bitcoin-qt.exe on ubuntu using mxe (help neded)
Post by: mocacinno on September 12, 2016, 12:00:05 PM
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.
|