Pages:
Author

Topic: [HOWTO] compile altcoin for windows on linux using mxe and mingw - page 11. (Read 49127 times)

hero member
Activity: 1638
Merit: 507
The snake which cannot cast its skin has to die
you sure you setup the swap-file correctly? 

what is the output when you do

free -h

at the terminal, there should be a value on the swap line something like:

Swap:          7.5G         45M        7.4G

also maybe it's also possible your mxe installation is corrupted

i got this

Swap:        19485          0      19485

You didn't increase your swap that's only 19 Megabytes... if you only typed  "free" in the terminal, i asked you to type "free -h" or  "free -m" these switches give easier to read output

so if the first part is true, then you still need to make a larger swap
newbie
Activity: 27
Merit: 0
you sure you setup the swap-file correctly? 

what is the output when you do

free -h

at the terminal, there should be a value on the swap line something like:

Swap:          7.5G         45M        7.4G

also maybe it's also possible your mxe installation is corrupted

i got this

Swap:        19485          0      19485
hero member
Activity: 1638
Merit: 507
The snake which cannot cast its skin has to die
you sure you setup the swap-file correctly? 

what is the output when you do

free -h

at the terminal, there should be a value on the swap line something like:

Swap:          7.5G         45M        7.4G

also maybe it's also possible your mxe installation is corrupted
newbie
Activity: 27
Merit: 0
Code:
i686-w64-mingw32.static-g++ -c -DQT_GUI -DQT_NO_PRINTER -std=gnu++11 -march=i686 -Isrc -Isrc/json -Isrc/qt -IC:/deps/boost_1_53_0 -Ic:/deps/db-4.8.30.NC/build_unix -Ic:/deps/openssl-1.0.2d/include -IC:/deps/qrencode-3.4.4 -I../mxe/usr/i686-w64-mingw32.static/qt5/include -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtNetwork -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Ibuild -Ibuild -I../mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++  -o build/txdb-bdb.o src/txdb-bdb.cpp
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/txdb-bdb.o] Error 4

very frustate compiling this  Cry
newbie
Activity: 27
Merit: 0
sir i got this error
Code:
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See for instructions.
See for instructions.
make: *** [build/signverifymessagedialog.o] Error 1
make: *** [build/optionsdialog.o] Error 1
make: *** [build/editaddressdialog.o] Error 1
0x86ccff0 crash_signal
/mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See for instructions.
In file included from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/limits.hpp:19:0,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/posix_time_config.hpp:13,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/posix_time_system.hpp:13,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/ptime.hpp:12,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/posix_time_types.hpp:12,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/thread_time.hpp:11,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/win32/thread_data.hpp:10,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/thread_only.hpp:15,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread/thread.hpp:12,
                 from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/thread.hpp:13,
                 from src/util.h:22,
                 from src/bignum.h:11,
                 from src/main.h:11,
                 from src/db.h:8,
                 from z�2B�JbT�1=����(���$H��/_��%�
��(���<�                                             AjSe�x �e#Q�Խ:���K�'
         G����x�Q��t�f̱�a|\.�H�
�%��w��C�_�b�g����7,����H�l�Fu��q{)��"쪷��zw�L<�0w�˙a��^����X�H�ytM�g�����A�r�k�6��P����u�>�8�3��g���j�.j�>�8�3��g���j�.��g<�o/d�+�ă�.��g<�o/dQ]�j�.��g�c�ă�.��g���jȮ��ă�n�j�.��g�(~-��f��g<�o/d��{-�"�}rX�6Z[uJ������wi����b��xiQ�'��L"�A7�:6:
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.2.0/include/c++/limits:1601:7: internal compiler error: Segmentation fault
       max() _GLIBCXX_USE_NOEXCEPT { return __FLT_MAX__; }
       ^
make: *** [build/bitcoinaddressvalidator.o] Error 1
0x86ccff0 crash_signal
/mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See for instructions.
make: *** [build/addressbookpage.o] Error 1
0x86ccff0 crash_signal
/mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See for instructions.
make: *** [build/txdb-bdb.o] Error 1
hero member
Activity: 1638
Merit: 507
The snake which cannot cast its skin has to die
newbie
Activity: 27
Merit: 0
hero member
Activity: 1638
Merit: 507
The snake which cannot cast its skin has to die
newbie
Activity: 27
Merit: 0
Here's a copy of my Ubuntu 14.04 32-bit VMware Image for anyone that wants it. You will need atleast VMware 10 installed.

https://www.amazon.com/clouddrive/share/ZhOxZQQzji8FpQvuV9b86DqJg6IGpIXmlXFyG5o2X8h?ref_=cd_ph_share_link_copy

It should be a big help to anyone that is having problems following this guide.

The user password is Password1

The root password is Password1

There are instructions on the desktop for anyone that needs them. Wink

hi, i got this error

../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore/qglobal.h:530:1: warning: floating constant truncated to zero [-Woverflow]
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/addressbookpage.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
*** [build/coincontroltreewidget.o] Error 4Please submit a full bug report,
with preprocessed source if appropriate.

See for instructions.
make: *** [build/sendcoinsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/coincontroldialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/editaddressdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/signverifymessagedialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/optionsdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/aboutdialog.o] Error 4
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [build/txdb-bdb.o] Error 4


what i missed ?? please help me
legendary
Activity: 2254
Merit: 1290
Ok, i almost understand what must to do.
but last thing where i can find path that missing file ?

Use your computer's search facility to find where the boost libraries were installed.

Cheers

Graham
newbie
Activity: 27
Merit: 0

Ok, i almost understand what must to do.
but last thing where i can find path that missing file ?
legendary
Activity: 2254
Merit: 1290
newbie
Activity: 27
Merit: 0
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqrencode
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw46-mt-sd-1_53

Installed or not, the libraries aren't being found by the build process, looks like you need to tend to your environment variable bindings.

Cheers

Graham


how to do that ??
legendary
Activity: 2254
Merit: 1290
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqrencode
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw46-mt-sd-1_53

Installed or not, the libraries aren't being found by the build process, looks like you need to tend to your environment variable bindings.

Cheers

Graham
newbie
Activity: 27
Merit: 0
got this error

/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqrencode
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw46-mt-sd-1_53
collect2: error: ld returned 1 exit status

any solutions ??

sudo apt-get install libqrencode-dev

i already installed that
hero member
Activity: 1638
Merit: 507
The snake which cannot cast its skin has to die
got this error

/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqrencode
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw46-mt-sd-1_53
collect2: error: ld returned 1 exit status

any solutions ??

sudo apt-get install libqrencode-dev
newbie
Activity: 27
Merit: 0
got this error

/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lqrencode
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw46-mt-sd-1_53
collect2: error: ld returned 1 exit status

any solutions ??
legendary
Activity: 2254
Merit: 1290
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target 'Makefile.Release'.  Stop.


That's a needed executable. Find it, add its directory to $PATH.

Cheers

Graham
newbie
Activity: 7
Merit: 0
I'm getting:

Code:
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target 'Makefile.Release'.  Stop.

Made sure I did:

Code:
export PATH=/mnt/mxe/usr/bin:$PATH

Using ubuntu/bash for windows 10
Pages:
Jump to: