0% found this document useful (0 votes)
2K views82 pages

(HOWTO) Compile Altcoin For Windows On Linux Using Mxe and Mingw

This document provides instructions for compiling an altcoin wallet for Windows on Linux using MXE and Mingw. It describes downloading and building MXE to get the needed toolchain, and then manually compiling Berkeley DB and MiniUPnP since MXE does not support them. After the cross-compilation environment is set up, the altcoin source can be compiled for Windows.

Uploaded by

Jean Philippeaux
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views82 pages

(HOWTO) Compile Altcoin For Windows On Linux Using Mxe and Mingw

This document provides instructions for compiling an altcoin wallet for Windows on Linux using MXE and Mingw. It describes downloading and building MXE to get the needed toolchain, and then manually compiling Berkeley DB and MiniUPnP since MXE does not support them. After the cross-compilation environment is set up, the altcoin source can be compiled for Windows.

Uploaded by

Jean Philippeaux
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 82

1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Bitcoin Forum
January 03, 2018, 05:00:51 AM

Welcome, Guest. Please login or register.

News: Latest stable version of Bitcoin Core: 0.15.1 [Torrent]. Search

HOME HELP SEARCH DONATE LOGIN REGISTER

Bitcoin Forum > Alternate cryptocurrencies > Altcoin Discussion (Moderator: mprep) > [HOWTO] compile altcoin for windows on linux
using mxe and mingw

« previous topic next topic »


Pages: 1 2 3 4 5 6 7 [All] print

Author Topic: [HOWTO] compile altcoin for windows on linux using mxe and mingw (Read 23299 times)

main.h [HOWTO] compile altcoin for windows on linux using mxe and mingw
#1
Newbie June 04, 2015, 02:45:26 PM

Hello!
In this tutorial I show you how to cross compile altcoin-qt using mxe and mingw.
Activity: 6
What is mxe? Well this is set of makefiles allowing you compile an cross environment with needed packages
(mingw-w64, qt, boost, etc) without pain.

For example I will compile blackcoin-qt for 32-bit Windows on 64-bit Ubuntu 14.04 LTS, but this method should
work with another altcoins.

Step 1.
Firstly we need install cross compile environment.

Install mxe dependencies:


Code:
sudo apt-get install p7zip-full autoconf automake autopoint bash bison bzip2 cmake flex gettext git

For 64-bit Ubuntu also install:


Code:
sudo apt-get install g++-multilib libc6-dev-i386

Step 2.

https://bitcointalk.org/index.php?topic=1080289.0;all 1/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Clone mxe github repo (if you just download zip archive from guthub, mxe may not work):
Code:
cd /mnt
git clone https://github.com/mxe/mxe.git

Our environment will be placed in /mnt/mxe

Step 3.
Now we need compile boost and qt5 for our environment (need a couple of hours for this).
If you compile something using mxe and move mxe directory to another place, then mxe will not work because all
what you compile linked statically
Compiling boost will fail if memory of your PC less then 2GB. Making swap partition will fix this.

Compile boost:
Code:
cd /mnt/mxe
make MXE_TARGETS="i686-w64-mingw32.static" boost

Compile qt5:
Code:
make MXE_TARGETS="i686-w64-mingw32.static" qttools

If you need qt4 (for some altcoins):


Code:
make MXE_TARGETS="i686-w64-mingw32.static" qt

mxe automatically determine all dependencies and compile it.

Step 4.
Unfortunately mxe not support berkeley db and miniupnpc so we need compile them manually.

Compiling berkley db:


Download and unpack berkeley db:
Code:
cd /mnt
wget http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
tar zxvf db-5.3.28.tar.gz

Make bash script for compilation:


Code:

https://bitcointalk.org/index.php?topic=1080289.0;all 2/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

cd /mnt/db-5.3.28
touch compile-db.sh
chmod ugo+x compile-db.sh

Content of compile-db.sh:
Code:
#!/bin/bash
MXE_PATH=/mnt/mxe
sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h
mkdir build_mxe
cd build_mxe

CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
../dist/configure \
--disable-replication \
--enable-mingw \
--enable-cxx \
--host x86 \
--prefix=$MXE_PATH/usr/i686-w64-mingw32.static

make

make install

Compile:
Code:
./compile-db.sh

Compiling miniupnpc:
Download and unpack miniupnpc:
Code:
cd /mnt
wget http://miniupnp.free.fr/files/miniupnpc-1.6.20120509.tar.gz
tar zxvf miniupnpc-1.6.20120509.tar.gz

Make bash script for compilation:


Code:
cd /mnt/miniupnpc-1.6.20120509
touch compile-m.sh
chmod ugo+x compile-m.sh

Content of compile-m.sh:
Code:
https://bitcointalk.org/index.php?topic=1080289.0;all 3/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

#!/bin/bash
MXE_PATH=/mnt/mxe

CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar \
CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" \
LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.static/lib" \
make libminiupnpc.a

mkdir $MXE_PATH/usr/i686-w64-mingw32.static/include/miniupnpc
cp *.h $MXE_PATH/usr/i686-w64-mingw32.static/include/miniupnpc
cp libminiupnpc.a $MXE_PATH/usr/i686-w64-mingw32.static/lib

Compile:
Code:
./compile-m.sh

Step 5.
Yay! Making our environment is done! Now we can compile blackcoin.

Add mxe bins to PATH:


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

Download and unpack blackcoin sources:


Code:
cd /mnt
git clone https://github.com/rat4/blackcoin.git

Make bash script for compilation:


Code:
cd /mnt/blackcoin
touch compile-blk.sh
chmod ugo+x compile-blk.sh

Content of compile-blk.sh:
Code:
#!/bin/bash
MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/lib

i686-w64-mingw32.static-qmake-qt5 \
BOOST_LIB_SUFFIX=-mt \

https://bitcointalk.org/index.php?topic=1080289.0;all 4/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
BOOST_THREAD_LIB_SUFFIX=_win32-mt \
BOOST_INCLUDE_PATH=$MXE_INCLUDE_PATH/boost \
BOOST_LIB_PATH=$MXE_LIB_PATH \
OPENSSL_INCLUDE_PATH=$MXE_INCLUDE_PATH/openssl \
OPENSSL_LIB_PATH=$MXE_LIB_PATH \
BDB_INCLUDE_PATH=$MXE_INCLUDE_PATH \
BDB_LIB_PATH=$MXE_LIB_PATH \
MINIUPNPC_INCLUDE_PATH=$MXE_INCLUDE_PATH \
MINIUPNPC_LIB_PATH=$MXE_LIB_PATH \
QMAKE_LRELEASE=/mnt/mxe/usr/i686-w64-mingw32.static/qt5/bin/lrelease blackcoin-qt.pro

make -f Makefile.Release

Compile:
Code:
./compile-blk.sh

And that all.


Our blackcoin-qt.exe placed in /mnt/blackcoin/release
Hope this help someone

PLAY INSTANTLY The Bitcoin Casino by Primedice


Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.

becool Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#2
Legendary June 20, 2015, 04:45:53 PM

Quote from: main.h on June 04, 2015, 02:45:26 PM

Activity: 1442
Compile boost:
Code:
cd /mnt/mxe
make MXE_TARGETS="i686-w64-mingw32.static" boost

if error message:
Missing requirement: libtool
than
Code:
sudo apt-get install libtool-bin

Quote from: main.h on June 04, 2015, 02:45:26 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 5/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Step 3.
Now we need compile boost and qt5 for our environment (need a couple of hours for this).

less than one hour if i5+SSD

Правильный калькулятор для покупки асика | Ложь и правда форков

lulupon Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#3
Member July 21, 2015, 10:41:17 AM

If you have levelDB issue (libleveldb.a / libmemenv.a), plz follow below instruction.
Activity: 67
Code:
cd %coin_folder%/src/leveldb
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=/mnt/mxe/usr/bin/i686-w64-mingw32.static-g

BTC Address :
1ASUDTboPQsG9t2DE3Y29jnDSEgwybFc32

john75077 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#4
Newbie August 04, 2015, 01:02:29 PM

Morning,
Activity: 26
I decided to give this a try since I'm new to the whole bitcoin / altcoin scene. This is the error I am getting when I
try to compile, and I didnt see a Makefile.Release...

Code:
[build] qtxlsxwriter i686-w64-mingw32.static
[done] qtxlsxwriter i686-w64-mingw32.static 156204 K
[no-build] qt5 i686-w64-mingw32.static
--------------------------------------------------------------------------------------------
./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.

Which step am I missing?

I am compiling this using Ubuntu 14.04 LTS x86_64

https://bitcointalk.org/index.php?topic=1080289.0;all 6/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
c:\senile.com (out of memory)

Fuzzbawls Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#5
Hero Member August 04, 2015, 07:07:48 PM

Quote from: john75077 on August 04, 2015, 01:02:29 PM

Activity: 742 Morning,

★YoBit.Net★ 200+ I decided to give this a try since I'm new to the whole bitcoin / altcoin scene. This is the error I am getting when I try to compile,
Coins Exchange & Dice and I didnt see a Makefile.Release...

Code:
[build] qtxlsxwriter i686-w64-mingw32.static
[done] qtxlsxwriter i686-w64-mingw32.static 15620
[no-build] qt5 i686-w64-mingw32.static
--------------------------------------------------------------------------------------------
./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.

Which step am I missing?

I am compiling this using Ubuntu 14.04 LTS x86_64

Verify that your PATH env var contains the correct location for mxe

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

✔ FAST EXCHANGE ✔ OVER 350 COINS ✔ MULTICOIN DICE ✔ FREE COINS EVERY 24 HRS!

YoBit.net ▮▮▮▮▮ Play DICE! Win 1-5 btc just for 5 mins!
john75077 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#6
Newbie August 04, 2015, 11:06:25 PM

Everything is compiling so far when I execute the script as root, if there is any other issues ill let you know. - It
compiled with no issues! I don't have much for BTC if you leave your address ill send you something for the help.
Activity: 26

c:\senile.com (out of memory)

sdmathis Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#7
August 06, 2015, 04:03:48 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 7/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
Great tutorial. It works perfectly. Thank you very much.

I have one question. You stated that some altcoins need QT4 instead of QT5. Do I have to choose just one or the
Activity: 546
other, or can I install both? Will any problems occur if both are installed?

Thanks.

AKA The Rubber


Monkey

BITMIXER.IO High Volume Bitcoin MIXER


john75077 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#8
Newbie August 13, 2015, 04:02:48 PM

How do I use this to make the daemon for Ubuntu?


Activity: 26

c:\senile.com (out of memory)

Fuzzbawls Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#9
Hero Member August 13, 2015, 09:24:17 PM

Quote from: john75077 on August 13, 2015, 04:02:48 PM

Activity: 742 How do I use this to make the daemon for Ubuntu?

★YoBit.Net★ 200+
Coins Exchange & Dice You don't. this thread is specifically about cross compiling wallets for windows, using linux as your compile OS.

Quote from: sdmathis on August 06, 2015, 04:03:48 PM

Great tutorial. It works perfectly. Thank you very much.

I have one question. You stated that some altcoins need QT4 instead of QT5. Do I have to choose just one or the other, or can I
install both? Will any problems occur if both are installed?

Thanks.

It is possible to have both qt4 and qt5 available for cross compiling at the same time. I personally have chosen to
NOT build any qt4 wallet anymore and instead update the wallet's source to support a qt5 build. This, however is a
time consuming task so it may not be worth it for you.

https://bitcointalk.org/index.php?topic=1080289.0;all 8/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

✔ FAST EXCHANGE ✔ OVER 350 COINS ✔ MULTICOIN DICE ✔ FREE COINS EVERY 24 HRS!

YoBit.net ▮▮▮▮▮ Play DICE! Win 1-5 btc just for 5 mins!
bitcreditscc Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#10
Hero Member August 16, 2015, 07:53:15 AM

How to mod this to compile Bitcoin?


Activity: 602

*Image Removed*

CryptoVote Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#11
Full Member August 28, 2015, 02:39:56 AM

Nice tutorial. Thanks!


Activity: 237
There is a small mistake and think you should change this step:
Quote from: main.h on June 04, 2015, 02:45:26 PM

Install mxe dependencies:


Code:
sudo apt-get install apt-get install autoconf automake autopoint bash bison bzip2 cmake flex gett

To
Code:
sudo apt-get install autoconf automake autopoint bash bison bzip2 p7zip-full cmake flex gettext git

The apt-get install is duplicated and it is missing 7-Zip.

https://github.com/CryptoDJ

BTCDDev Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#12
Sr. Member August 28, 2015, 02:53:39 AM

Hi,
Activity: 256

https://bitcointalk.org/index.php?topic=1080289.0;all 9/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

I developed a method for building BitcoinDark using mxe several months ago with help from fsb4000 and
mezzovide.

You can see the automated build process here: https://github.com/jl777/btcd/blob/master/libjl777/make_win32.sh

Mezzovide in supernet slack even created a custom mxe package for building bdb 4.8:
https://github.com/jl777/btcd/blob/master/libjl777/mxepatch/bdb48.mk

After you do this, export your path to mxe/usr/bin and make your coin:

https://github.com/jl777/btcd/blob/master/libjl777/Makefile.win

Quote

btcd: ../src/BitcoinDarkd-$(OS).exe; \
cd ../src; $(MAKE) clean -f Makefile.win OS=$(OS); cd leveldb; $(MAKE) clean; cd ..; $(MAKE) -f Makefile.win OS=$(OS); strip
BitcoinDarkd-$(OS).exe; cp BitcoinDarkd-$(OS).exe $(BINPATH)/$(OS)/BitcoinDarkd.exe

Matthew

BitcoinDark: RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc
Top Donations: juicybirds 420BTCD ensorcell 84BTCD Stuntruffle: 40BTCD
Top April Donations: juicybirds 420BTCD; ensorcell: 42BTCD

BTCDDev Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#13
Sr. Member September 02, 2015, 02:42:38 PM

In fact, thanks to mezzovide, you no longer need to build bdb separately.


Activity: 256
https://github.com/mxe/mxe/pull/791

BitcoinDark, making it easier to build on Windows

Matthew

BitcoinDark: RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc
Top Donations: juicybirds 420BTCD ensorcell 84BTCD Stuntruffle: 40BTCD
Top April Donations: juicybirds 420BTCD; ensorcell: 42BTCD

Bitr8er Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#14
Full Member September 08, 2015, 06:44:10 AM

How would you code if you wanted to require a minimum version of a wallet to connect to the network?
Activity: 220
such a only allow version 1.0.0.1 to connect

https://bitcointalk.org/index.php?topic=1080289.0;all 10/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

BTCDDev Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#15
Sr. Member September 08, 2015, 02:11:21 PM

Quote from: Bitr8er on September 08, 2015, 06:44:10 AM

Activity: 256
How would you code if you wanted to require a minimum version of a wallet to connect to the network?
such a only allow version 1.0.0.1 to connect

That's not really related to this topic.

Are you meaning this though?

https://github.com/laowais/bitcoindark/blob/master/src/version.h#L39

BitcoinDark: RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc
Top Donations: juicybirds 420BTCD ensorcell 84BTCD Stuntruffle: 40BTCD
Top April Donations: juicybirds 420BTCD; ensorcell: 42BTCD

temple Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#16
Sr. Member September 27, 2015, 06:01:26 AM

Code:
libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o util_sig
Activity: 476
libdb-5.3.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [db_archive] Error 1

I encounter this problem. anyone know how to solve?

<
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

Blockchain Whitepaper { ICO }


%%%%%%%%%%(

%%%%%%%%%%%%% %%

. OPEN MONEY
%%%%%%%%%%%%%%
.%%%%
%%%%%%%%
%%%%%%%

Slack ● Facebook ● Twitter ● Reddit ●


M
/%%%%%%

https://bitcointalk.org/index.php?topic=1080289.0;all 11/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

redfish64 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw #17
Jr. Member September 27, 2015, 06:50:45 AM

Quote from: temple on September 27, 2015, 06:01:26 AM


Code:
Activity: 32
libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o util_s
libdb-5.3.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [db_archive] Error 1

I encounter this problem. anyone know how to solve?

Just add the "RANLIB=...." as shown below:

Quote

#!/bin/bash
MXE_PATH=/mnt/mxe
sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h
mkdir build_mxe
cd build_mxe

RANLIB=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ranlib \
CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
../dist/configure \
--disable-replication \
--enable-mingw \
--enable-cxx \
--host x86 \
--prefix=$MXE_PATH/usr/i686-w64-mingw32.static

make

make install

temple Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#18
Sr. Member September 27, 2015, 04:32:29 PM

Quote from: redfish64 on September 27, 2015, 06:50:45 AM


Quote from: temple on September 27, 2015, 06:01:26 AM
Activity: 476
Code:
https://bitcointalk.org/index.php?topic=1080289.0;all 12/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o uti


libdb-5.3.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [db_archive] Error 1

I encounter this problem. anyone know how to solve?

Just add the "RANLIB=...." as shown below:

Quote

#!/bin/bash
MXE_PATH=/mnt/mxe
sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h
mkdir build_mxe
cd build_mxe

RANLIB=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ranlib \
CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
../dist/configure \
--disable-replication \
--enable-mingw \
--enable-cxx \
--host x86 \
--prefix=$MXE_PATH/usr/i686-w64-mingw32.static

make

make install

Thanks man, you save my life

<
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

Blockchain Whitepaper { ICO }


%%%%%%%%%%(

%%%%%%%%%%%%% %%

. OPEN MONEY
%%%%%%%%%%%%%%
.%%%%
%%%%%%%%
%%%%%%%

Slack ● Facebook ● Twitter ● Reddit ●


M
/%%%%%%

main.h Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#19
Newbie October 09, 2015, 09:56:37 AM

Quote from: CryptoVote on August 28, 2015, 02:39:56 AM


https://bitcointalk.org/index.php?topic=1080289.0;all 13/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

The apt-get install is duplicated and it is missing 7-Zip.


Activity: 6

Fixed. Thank you

altcoinhosting Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#20
Hero Member October 09, 2015, 10:01:49 AM

Thanks, this tutorial looks really well-documented. Because i think it's really intresting to compile your own wallets,
Activity: 812 i'm going to replicate this scenario this weekend to see if everything works

░█████ ████████████████▓

LedgerWallet Smartcard based  Hardware


Wallet
▒▓▓▓
▓██████ ██████████████████ ▓█▓▓▓▓▓▓▒▓
░▓█▓▓▓▓▓▓▓▓▓▓▓▓▒▓
███████ ██████████████████ ░▓█▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▒░▒▒
░█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓
██████████████████ ░█▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▒▓▓▓▒
░█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▒▓▓▓▒
██████████████████ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
███████ ██████████████████ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓███▒
▒▒▒▒▒▒▒▒▒▒▓▓▓███▓▓▒▒▒▒▒▒▓▓▓▓▓███▓
███████ ██████████████████ ░▒▒▒▒▒▒▒▒▒▒▒▒▒█▓▓█▓▓▒▒▒▒▒▒▓▓▓▓██▓
░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▓░
███████ ██████████████████ ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓░
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒███▓▒
███████ ██████████████████ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█▓▓█▓▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▓█▓▓▓▒░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓████▒

hendo420 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#21
Sr. Member October 27, 2015, 02:41:02 PM

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.
Activity: 406

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.

42 The Meaning of Life and CryptoCurrency


http://www.coingig.com/Hendo420
blackchopper Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#22
Sr. Member November 04, 2015, 04:58:31 AM

Quote from: Fuzzbawls on August 04, 2015, 07:07:48 PM


Quote from: john75077 on August 04, 2015, 01:02:29 PM
Activity: 306
Morning,

I decided to give this a try since I'm new to the whole bitcoin / altcoin scene. This is the error I am getting when I try to compile,

https://bitcointalk.org/index.php?topic=1080289.0;all 14/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

and I didnt see a Makefile.Release...

Code:
[build] qtxlsxwriter i686-w64-mingw32.static
[done] qtxlsxwriter i686-w64-mingw32.static 15
[no-build] qt5 i686-w64-mingw32.static
--------------------------------------------------------------------------------------------
./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.

Which step am I missing?

I am compiling this using Ubuntu 14.04 LTS x86_64

Verify that your PATH env var contains the correct location for mxe

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

Hello. Having some fun testing our making a QT file. I'm having the same issue as the other person. What exactly
do I have to correct? The "export PATH=/mnt/mxe/usr/bin:$PATH" or a line in compile-m.sh?

I followed your instructions to a tee and all the files are in the same place as yours. I'm on a fresh install of
Ubuntu. I get the same error as the user above.

Thanks for your help! Guide is excellent.

Developer with a background in Marketing and Promotions.


CHECK OUT PLATINUMBAR XPTX

blackchopper Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#23
Sr. Member November 05, 2015, 07:15:12 AM

I cleared up the path issue, but now I'm getting this error when I compile blackcoin:
Activity: 306
Code:

/mnt/mxe/usr/i686-w64-mingw32.static/lib/libdb_cxx.a(os_pid.o):os_pid.c:(.text+0x25): undefined refe


collect2: error: ld returned 1 exit status

https://bitcointalk.org/index.php?topic=1080289.0;all 15/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Makefile.Release:468: recipe for target 'release/blackcoin-qt.exe' failed
make: *** [release/blackcoin-qt.exe] Error 1

Developer with a background in Marketing and Promotions.


CHECK OUT PLATINUMBAR XPTX

lulzyou Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#24
Newbie December 26, 2015, 07:25:40 AM

Quote from: redfish64 on September 27, 2015, 06:50:45 AM


Quote from: temple on September 27, 2015, 06:01:26 AM
Activity: 1
Code:
libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o uti
libdb-5.3.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [db_archive] Error 1

I encounter this problem. anyone know how to solve?

Just add the "RANLIB=...." as shown below:

Quote

#!/bin/bash
MXE_PATH=/mnt/mxe
sed -i "s/WinIoCtl.h/winioctl.h/g" src/dbinc/win_db.h
mkdir build_mxe
cd build_mxe

RANLIB=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ranlib \
CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc \
CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g++ \
../dist/configure \
--disable-replication \
--enable-mingw \
--enable-cxx \
--host x86 \
--prefix=$MXE_PATH/usr/i686-w64-mingw32.static

make

make install

https://bitcointalk.org/index.php?topic=1080289.0;all 16/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

I'm having a similar issue but its this

/src/leveldb/libmemenv.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status

im assuming its another place in the compile, but im trying to add ranlib in both compiles and still no luck. an
suggestions (sorry for digging up an old thread, but its the only one that makes sense, and im still downloading the
amazon image hendo420 has.

thank you

Rkana Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#25
Sr. Member December 26, 2015, 12:00:41 PM

This is a very useful tutorial. Thank you for sharing it. Will do some learning with it.
Activity: 256

I Do COIN SERVICES (WEB JsWALLET + INSIGHT EXPLORER | ELECTRUM)


I Can Make You an ETHEREUM FORK And OTHER COIN DEVELOPMENT - PM Me For
Mo e Info
luke9511 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#26
Newbie January 08, 2016, 06:56:55 PM

first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-
blk.sh file i get the following error
Activity: 16
Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.

i dont know what else to do i am stuck does anyone have any advice?

iGotSpots Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#27
Legendary January 08, 2016, 07:16:58 PM

Quote from: luke9511 on January 08, 2016, 06:56:55 PM

Activity: 1512 first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the
following error

Code:

https://bitcointalk.org/index.php?topic=1080289.0;all 17/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

./compile-blk.sh: line 5: blackcoin-qt.pro: command not found


make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.

i dont know what else to do i am stuck does anyone have any advice?

Something is most likely named incorrectly. Check all spelling matches

Twitter YouTube
.HealthyWormCoin.
██████████████

| |
██████████████████████
████████████████████████████
████████████████████████████████
████████████████████████████████████
██████████████████████████████████████
██████████████████████████████████████████
████████████████████████████████████████████
██████████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████

Explorer Worm Shop


████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
████████████████████████████████████████████████
██████████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████████
██████████████████████████████████████████
█████████████████████████████████████
████████████████████████████████████
████████████████████████████████
████████████████████████████
██████████████████████
██████████████

The worms need your help to grow!

luke9511 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#28
Newbie January 08, 2016, 07:25:40 PM

Quote from: iGotSpots on January 08, 2016, 07:16:58 PM


Quote from: luke9511 on January 08, 2016, 06:56:55 PM
Activity: 16
first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get
the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.

i dont know what else to do i am stuck does anyone have any advice?

Something is most likely named incorrectly. Check all spelling matches

i have checked everything, i didnt even type any of the commands i copied and pasted them all i also checked my
path environment variable to make sure it was correct and it is, i dont know what else there is

EDIT new error which i think may have the same thing to do with the first
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.

bhokor Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#29
Legendary January 08, 2016, 09:05:08 PM

Quote from: hendo420 on October 27, 2015, 02:41:02 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 18/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

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.
Activity: 896

★YoBit.Net★ 350+ https://www.amazon.com/clouddrive/share/ZhOxZQQzji8FpQvuV9b86DqJg6IGpIXmlXFyG5o2X8h?ref_=cd_ph_share_link_copy


Coins Exchange & Dice
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.

Thank you for the share, it is pure gold, i have been trying and i have could compile three altcoins wallets without
problems, i have only a question about if it is possible to have installed qt4 and qt 5 and not have problems with
compilation.
Have you tried it?

thanks again

✔ FAST EXCHANGE ✔ OVER 350 COINS ✔ MULTICOIN DICE ✔ FREE COINS EVERY 24 HRS!

YoBit.net ▮▮▮▮▮ Play DICE! Win 1-5 btc just for 5 mins!
luke9511 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#30
Newbie January 13, 2016, 06:57:47 PM

i kinda got this working though there is no Makefile.Release any where, but if i delete the .Release part it compiles
fine but it compiles for linux instead of windows
Activity: 16

Nthused Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#31
Legendary March 17, 2016, 07:24:00 AM

Random question but could you do this on a VM server with exceeded specs ?
Activity: 1428

✔ FAST EXCHANGE ✔ OVER 350 COINS ✔ MULTICOIN DICE ✔ FREE COINS EVERY 24 HRS!

YoBit.net ▮▮▮▮▮ Play DICE! Win 1-5 btc just for 5 mins!
★YoBit.Net★ 350+
Coins Exchange & Dice

https://bitcointalk.org/index.php?topic=1080289.0;all 19/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

AliceWonderMiscre Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#32
Full Member March 17, 2016, 09:31:13 AM

I wish Linux tutorials would stop assuming Ubuntu and start specifying the upstream product name that is needed
rather than a sudo apt-get line.
Activity: 182

Weird that dependencies like bash and perl and sed are listed there.

Are they not standard in Ubuntu?

I hereby reserve the right to sometimes be wrong

zeitman007 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#33
Newbie March 23, 2016, 04:54:35 AM

Im having trouble with the command not found error. Ubuntu 14.04 64-bit
Activity: 24
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.

I have ran the export PATH=/mnt/mxe/usr/bin:$PATH command many times, that should be where mxe is since I
followed the tutorial to a T.

Any ideas? Thanks!

tebbo Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#34
Newbie April 10, 2016, 08:21:29 PM

Quote from: zeitman007 on March 23, 2016, 04:54:35 AM

Activity: 4 Im having trouble with the command not found error. Ubuntu 14.04 64-bit

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.

I have ran the export PATH=/mnt/mxe/usr/bin:$PATH command many times, that should be where mxe is since I followed the
tutorial to a T.

Any ideas? Thanks!

https://bitcointalk.org/index.php?topic=1080289.0;all 20/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

I'm having this problem also.

Has anyone solved it yet.

All $PATH are correct.

Thanks

Tebbo

ironsniper Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#35
Member July 11, 2016, 01:25:53 PM

anyone know how to get past this error


Activity: 83
Code:
make: i686-w64-mingw32.static-g++: Command not found

DanyBv Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#36
Newbie July 31, 2016, 01:18:51 PM

Quote from: luke9511 on January 08, 2016, 06:56:55 PM

Activity: 6 first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the
following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.

i dont know what else to do i am stuck does anyone have any advice?

Same issue...

Temp Block Explorers for altcoins free!Contact me.

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#37
Hero Member September 21, 2016, 04:34:43 AM

I tried compiling with BDB versions 5.3.28; 6.0.35; and 6.1.29


(http://wwupw.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html)
https://bitcointalk.org/index.php?topic=1080289.0;all 21/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Activity: 672
when the compile-db.sh gets to the make command the following errors occur:

Missing files: (there are multiple of these)

Code:
In file included from ./db_int.h:77:0,
The snake which cannot
from ../src/mutex/mut_win32.c:12:
cast its skin has to die ../src/dbinc/win_db.h:21:20: fatal error: direct.h: No such file or directory
compilation terminated.
Makefile:2211: recipe for target 'mut_win32.o' failed
make: *** [mut_win32.o] Error 1
./libtool --mode=compile cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c
libtool: compile: cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c -o mut_win32.o
In file included from ./db_int.h:77:0,
from ../src/mutex/mut_win32.c:12:
../src/dbinc/win_db.h:21:20: fatal error: direct.h: No such file or directory
compilation terminated.
Makefile:2211: recipe for target 'mut_win32.o' failed
make: *** [mut_win32.o] Error 1

After commenting out the "missing" files in win_db.h the following error occurs:

Code:
config.status: executing libtool commands
./libtool --mode=compile cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c
libtool: compile: cc -c -I. -I../src -O3 ../src/mutex/mut_win32.c -o mut_win32.o
In file included from ./db_int.h:96:0,
from ../src/mutex/mut_win32.c:12:
./db.h:3196:34: error: unknown type name 'SECURITY_ATTRIBUTES'
int db_env_set_win_security __P((SECURITY_ATTRIBUTES *sa));
^
./db.h:40:21: note: in definition of macro '__P'
#define __P(protos) protos
^
In file included from ./db_int.h:1161:0,
from ../src/mutex/mut_win32.c:12:
../src/dbinc/globals.h:39:2: error: unknown type name 'SECURITY_DESCRIPTOR'
SECURITY_DESCRIPTOR win_default_sec_desc;
^
../src/dbinc/globals.h:40:2: error: unknown type name 'SECURITY_ATTRIBUTES'
SECURITY_ATTRIBUTES win_default_sec_attr;
^

seems this win_db.h has a lot of missing files referenced. and if i comment out the "missing" files on the #include
lines, there's another error that comes up.
https://bitcointalk.org/index.php?topic=1080289.0;all 22/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

So any assistance with compiling the Berkeley DB would be appreciated. thanks

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#38
Hero Member September 22, 2016, 10:46:57 AM

./build/txdb-leveldb.o: file not recognized: File format not recognized


collect2: error: ld returned 1 exit status
Activity: 672
Makefile.Release:629: recipe for target 'release/amsterdamcoin-qt.exe' failed
make: *** [release/amsterdamcoin-qt.exe] Error 1

Assistance please.

Also I did do:


The snake which cannot
cast its skin has to die TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~/mxe/usr/bin/i686-w64-mingw32.static-gcc
CXX=~/mxe/usr/bin/i686-w64-mingw32.static-g++

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

nemgun Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#39
Hero Member October 19, 2016, 03:22:21 PM

Quote from: DanyBv on July 31, 2016, 01:18:51 PM


Quote from: luke9511 on January 08, 2016, 06:56:55 PM
Activity: 518
first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get
the following error

Code:
./compile-blk.sh: line 5: blackcoin-qt.pro: command not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.

i dont know what else to do i am stuck does anyone have any advice?

Same issue...

https://bitcointalk.org/index.php?topic=1080289.0;all 23/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

simply check path variables using root ==> sudo su (enter password )
==> export
you will get a list of variables, PATH= will be there, if there is no /mnt/mxe/usr/bin:

then do under root acces ==> export PATH=/mnt/mxe/usr/bin:$PATH

and then retry compile

and if you ever do it for the first time i think it also works with ==> sudo export PATH=/mnt/mxe/usr/bin:$PATH
but still need to test.

▄█▄ ▄█▄
║░║ ════════▮ Cross-platform Modular Decentralized Exchange ▮════════ ║░║ Crowd Sale
▄ ▄██
▐██▄ ▄████▄

NVO
█████▄ ▄███████
████████▄ ▄██████████
▐██████████▄ ▄█████████████
█████████████▄ ▀██████████████▄

║░║ ║░║
████████████████▄ ▀█████████████
▐█████████████████▄ ▀████████████
████████████████████▄ ▀██████████▌
███████████████████████▄ ▀█████████▄
▄█████████████████████████▄ ▀████████

▀█▀ Secure ═ Private ═ Assets-to-Assets ═ Full Autonomy ═ Multi-Assets Storage ═ Integrated Platform ▀█▀ ══closed══
████████████████████████████▄ ▀██████▌
▐██████████████████████████████▄ ▀██▀▀
▀████████████████████████████████
▀▀▀███████████████████████▀
▀▀███████████████▀
▀▀█████▀▀

dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#40
Legendary December 29, 2016, 01:11:54 AM

Quote from: hendo420 on October 27, 2015, 02:41:02 PM

Activity: 1330 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.

This doesn't work for me, I get "i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault" error
4
doesn't make any sense

I'm used to building daemon, can't build qt for anything very frustrating.

Nthused Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#41
Legendary December 29, 2016, 01:46:47 AM

Quote from: dzimbeck on December 29, 2016, 01:11:54 AM


Quote from: hendo420 on October 27, 2015, 02:41:02 PM
Activity: 1428
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://bitcointalk.org/index.php?topic=1080289.0;all 24/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

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


★YoBit.Net★ 350+
Coins Exchange & Dice The root password is Password1

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

This doesn't work for me, I get "i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault" error 4
doesn't make any sense

I'm used to building daemon, can't build qt for anything very frustrating.

This is a Linux Qt Wallet Automatic Compiler, it works for pretty much all Sha-256 & Scrypt Altcoins, it's very easy
to use even a newbie with no Linux experience can do it with the guide.

https://bitcointalk.org/index.php?topic=498746.0

✔ FAST EXCHANGE ✔ OVER 350 COINS ✔ MULTICOIN DICE ✔ FREE COINS EVERY 24 HRS!

YoBit.net ▮▮▮▮▮ Play DICE! Win 1-5 btc just for 5 mins!
dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#42
Legendary December 29, 2016, 05:13:17 AM

Quote from: Nthused on December 29, 2016, 01:46:47 AM


Quote from: dzimbeck on December 29, 2016, 01:11:54 AM
Activity: 1330
Quote from: hendo420 on October 27, 2015, 02:41:02 PM

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.

This doesn't work for me, I get "i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault" error 4

https://bitcointalk.org/index.php?topic=1080289.0;all 25/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

doesn't make any sense

I'm used to building daemon, can't build qt for anything very frustrating.

This is a Linux Qt Wallet Automatic Compiler, it works for pretty much all Sha-256 & Scrypt Altcoins, it's very easy to use even a
newbie with no Linux experience can do it with the guide.

https://bitcointalk.org/index.php?topic=498746.0

I can build for Linux just fine, also can build daemon. My issues arise when I try to cross-compile the QT wallet for
windows using MXE. I tried the virtual machine listed here and it didn't help since I got that segmentation fault.

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#43
Hero Member December 29, 2016, 05:16:01 AM

Quote from: dzimbeck on December 29, 2016, 01:11:54 AM


Quote from: hendo420 on October 27, 2015, 02:41:02 PM
Activity: 672
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 snake which cannot
cast its skin has to die The root password is Password1

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

This doesn't work for me, I get "i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault" error 4
doesn't make any sense

I'm used to building daemon, can't build qt for anything very frustrating.

Should report the bug on github, very helpful devs there to go through the steps to find the issue and fix anything,
keep screenshots, also there should be a log file that outputs the errors, make sure to save those.

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#44
Legendary December 29, 2016, 08:54:52 AM

https://bitcointalk.org/index.php?topic=1080289.0;all 26/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Quote from: D3m0nKinGx on December 29, 2016, 05:16:01 AM
Quote from: dzimbeck on December 29, 2016, 01:11:54 AM
Activity: 1330
Quote from: hendo420 on October 27, 2015, 02:41:02 PM

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.

This doesn't work for me, I get "i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault" error 4
doesn't make any sense

I'm used to building daemon, can't build qt for anything very frustrating.

Should report the bug on github, very helpful devs there to go through the steps to find the issue and fix anything, keep
screenshots, also there should be a log file that outputs the errors, make sure to save those.

Thanks. Sure but which github? I'm not sure if thats an mxe issue or a VM issue or where to even ask. So I now
checked on another VM wheezy I made a script (setup.sh) as follows:

sudo apt-get install p7zip-full autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf
intltool libffi-dev libtool libltdl-dev libssl-dev libxml-parser-perl make openssl patch perl pkg-config python ruby
scons sed unzip wget xz-utils
sudo apt-get install g++-multilib libc6-dev-i386
cd $HOME/QT/
git clone https://github.com/mxe/mxe.git
cd mxe
make MXE_TARGETS="i686-w64-mingw32.static" boost
make MXE_TARGETS="i686-w64-mingw32.static" qttools
cd ..
wget http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
tar zxvf db-5.3.28.tar.gz
cp compile-db.sh db-5.3.28/compile-db.sh
cd db-5.3.28
chmod ugo+x compile-db.sh
./compile-db.sh

https://bitcointalk.org/index.php?topic=1080289.0;all 27/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

cd ..
wget http://miniupnp.free.fr/files/miniupnpc-1.6.20120509.tar.gz
tar zxvf miniupnpc-1.6.20120509.tar.gz
cp compile-m.sh miniupnpc-1.6.20120509/compile-m.sh
cd miniupnpc-1.6.20120509
chmod ugo+x compile-m.sh
./compile-m.sh
export PATH=$HOME/QT/mxe/usr/bin:$PATH
cd ..
git clone https://github.com/rat4/blackcoin.git
cp compile-blk.sh blackcoin/compile-blk.sh
chmod -R 777 blackcoin
cd blackcoin
./compile-blk.sh

So this fails with:


/home/admin0/QT/mxe/usr/i686-w64-
mingw32.static/include/boost/mpl/list/aux_/include_preprocessed.hpp:30:64: fatal error:
boost/mpl/list/aux_/preprocessed/plain/list10.hpp: No such file or directory
# include BOOST_PP_STRINGIZE(boost/mpl/list/AUX778076_HEADER)
^
compilation terminated.
Makefile.Release:12634: recipe for target 'build/txdb-leveldb.o' failed
make: *** [build/txdb-leveldb.o] Error 1

Its worth noting, boost skips over two packages when installing. I'm sorry but these instructions on this forum
are just not to date. I have no clue how anyone got this to work. That is two VMs, one I downloaded here in the
OP and the other was my own for building daemons and I followed the instructions exactly with failed boost
install.

Why do we have to compile this in the first place?? Its 2016 we should be in FLYING CARS. Its totally ridiculous
that we get these kinds of errors. It's times like this I want to set my computer on fire and become a farmer.

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#45
Hero Member December 29, 2016, 09:29:18 AM

Code:
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~/mxe/usr/bin/i686-w64-mingw32.static-gcc
Activity: 672

do this first before compiling

report the bugs here > https://github.com/mxe/mxe/issues


https://bitcointalk.org/index.php?topic=1080289.0;all 28/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

The snake which cannot


cast its skin has to die Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#46
Legendary December 29, 2016, 09:33:37 AM

Quote from: D3m0nKinGx on December 29, 2016, 09:29:18 AM


Code:
Activity: 1330
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~/mxe/usr/bin/i686-w64-mingw32.static-g

do this first before compiling

report the bugs here > https://github.com/mxe/mxe/issues

I've done that, it didn't work. The error is in something missing from Boost. I wish there was a static way to install
these things instead of making them.

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#47
Hero Member December 29, 2016, 09:39:30 AM

it's saying your missing the file:


Activity: 672
boost/mpl/list/aux_/preprocessed/plain/list10.hpp

from your terminal run:

$ locate list10.hpp

then copy it from where it's found to that directory, and try to compile again
The snake which cannot
cast its skin has to die
Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#48
Legendary December 29, 2016, 10:31:54 AM

Quote from: D3m0nKinGx on December 29, 2016, 09:39:30 AM

Activity: 1330

https://bitcointalk.org/index.php?topic=1080289.0;all 29/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

it's saying your missing the file:

boost/mpl/list/aux_/preprocessed/plain/list10.hpp

from your terminal run:

$ locate list10.hpp

then copy it from where it's found to that directory, and try to compile again

Nope, I just don't think boost is installing properly. Its giving me a bunch of weird errors now. Is there a way to
install boost and mxe that actually works?

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#49
Hero Member December 29, 2016, 10:40:48 AM

Quote from: dzimbeck on December 29, 2016, 10:31:54 AM


Quote from: D3m0nKinGx on December 29, 2016, 09:39:30 AM
Activity: 672
it's saying your missing the file:

boost/mpl/list/aux_/preprocessed/plain/list10.hpp

from your terminal run:

$ locate list10.hpp
The snake which cannot
cast its skin has to die then copy it from where it's found to that directory, and try to compile again

Nope, I just don't think boost is installing properly. Its giving me a bunch of weird errors now. Is there a way to install boost and
mxe that actually works?

download and compile boost yourself, then install it in the mxe directory

https://sourceforge.net/projects/boost/files/boost/

run from boost directory:


Code:
./bootstrap.sh --with-toolset=gcc
./b2 --clean-all
echo "using mpi ;" >> project-config.jam
./b2 --prefix=<mxe boost installation directory> --toolset=gcc link=static install

▬◇ ◇▬
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███ ███ ███

https://bitcointalk.org/index.php?topic=1080289.0;all 30/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
███ ███ ███ ███

Whitepaper ◆▬◇▬ Please Read OP


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
STRATIS BaaS
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███
███

Exchange ▬◇▬◇▬◆ ◆▬◇▬◇▬ Github Full Node

dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#50
Legendary December 29, 2016, 11:48:09 AM

Quote from: D3m0nKinGx on December 29, 2016, 10:40:48 AM


Quote from: dzimbeck on December 29, 2016, 10:31:54 AM
Activity: 1330
Quote from: D3m0nKinGx on December 29, 2016, 09:39:30 AM

it's saying your missing the file:

boost/mpl/list/aux_/preprocessed/plain/list10.hpp

from your terminal run:

$ locate list10.hpp

then copy it from where it's found to that directory, and try to compile again

Nope, I just don't think boost is installing properly. Its giving me a bunch of weird errors now. Is there a way to install boost and
mxe that actually works?

download and compile boost yourself, then install it in the mxe directory

https://sourceforge.net/projects/boost/files/boost/

run from boost directory:


Code:
./bootstrap.sh --with-toolset=gcc
./b2 --clean-all
echo "using mpi ;" >> project-config.jam
./b2 --prefix=<mxe boost installation directory> --toolset=gcc link=static install

Okay thanks! Also I should mention the segmentation fault with the VM featured in this thread was due to an issue
with my RAM on windows 7 running a virtual machine. So that laptop can compile the daemon but not the QT...
kind of weird but *oh well*. There wasn't much help on Google about this however it became apparent when I ran
the VM on my other laptop although it still compiles a bit clunky and freezes periodically. If it doesn't finish
compiling will let you know about to sleep.

Thanks again.

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#51
Legendary December 29, 2016, 02:16:07 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 31/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Quote from: dzimbeck on December 29, 2016, 05:13:17 AM

My issues arise when I try to cross-compile the QT wallet for windows using MXE.
Activity: 1232

I've had success with MXE cross-compilation by adding the MXE ppa deb http://pkg.mxe.cc/repos/apt/debian
wheezy main to my apt-sources, installing the appropriate cross-compiler bundle and all the pre-compiled
packages: boost, qt, libqrencode, miniupnpc.

I doubt whether I actually hand-selected every single installed package, I probably selected a bundle but I had a
very sketchy model of the cross-compilation process at the time, so was sort of stabbing around in blind
optimism (yes, it does sometimes pay off) and don't exactly recall what I did - other than, at the end of the
exercise, I had a richly-populated /usr/lib/mxe/usr/lib folder which does the biz.

It also has the useful side-effect of obviating the cross-compilation of the upnp & qrencode support libs.

I have this for cross-compiling SLIMCoin:

Code:
#!/bin/bash

# Working setup to cross-compile Windows binaries for Slimcoin hosted on a


# Vagrant Ubuntu 16.04 VM using non-Canonical ppas for MXE and Qt5.7:
# deb http://pkg.mxe.cc/repos/apt/debian wheezy main

# Doesn't seem to pass the QT directives through, though. Tough.

# Basic path bindings


PATH=/usr/lib/mxe/usr/bin:$PATH
MXE_PATH=/usr/lib/mxe
MXE_INCLUDE_PATH=/usr/lib/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/usr/lib/mxe/usr/i686-w64-mingw32.static/lib
# Belt and braces
CXXFLAGS="-std=gnu++11 -march=i686"
LDFLAGS="-march=i686"
target="i686-w64-mingw32.static"

# Particularise for cross compiling

(The above probably includes more incantations than are strictly necessary but I have at least omitted the 1cc of
mouse blood that I habitually include.)

Oh, one last thing - all of the above assumes a VM with build-essentials, etc already apt-installed.

HTH,

https://bitcointalk.org/index.php?topic=1080289.0;all 32/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Cheers

Graham

dzimbeck Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#52
Legendary December 29, 2016, 07:53:31 PM

Quote from: gjhiggins on December 29, 2016, 02:16:07 PM


Quote from: dzimbeck on December 29, 2016, 05:13:17 AM
Activity: 1330
My issues arise when I try to cross-compile the QT wallet for windows using MXE.

I've had success with MXE cross-compilation by adding the MXE ppa deb http://pkg.mxe.cc/repos/apt/debian wheezy main to my
apt-sources, installing the appropriate cross-compiler bundle and all the pre-compiled packages: boost, qt, libqrencode, miniupnpc.

I doubt whether I actually hand-selected every single installed package, I probably selected a bundle but I had a very sketchy model
of the cross-compilation process at the time, so was sort of stabbing around in blind optimism (yes, it does sometimes pay off) and
don't exactly recall what I did - other than, at the end of the exercise, I had a richly-populated /usr/lib/mxe/usr/lib folder which does
the biz.

It also has the useful side-effect of obviating the cross-compilation of the upnp & qrencode support libs.

I have this for cross-compiling SLIMCoin:

Code:
#!/bin/bash

# Working setup to cross-compile Windows binaries for Slimcoin hosted on a


# Vagrant Ubuntu 16.04 VM using non-Canonical ppas for MXE and Qt5.7:
# deb http://pkg.mxe.cc/repos/apt/debian wheezy main

# Doesn't seem to pass the QT directives through, though. Tough.

# Basic path bindings


PATH=/usr/lib/mxe/usr/bin:$PATH
MXE_PATH=/usr/lib/mxe
MXE_INCLUDE_PATH=/usr/lib/mxe/usr/i686-w64-mingw32.static/include
MXE_LIB_PATH=/usr/lib/mxe/usr/i686-w64-mingw32.static/lib
# Belt and braces
CXXFLAGS="-std=gnu++11 -march=i686"
LDFLAGS="-march=i686"
target="i686-w64-mingw32.static"

(The above probably includes more incantations than are strictly necessary but I have at least omitted the 1cc of mouse blood that I
https://bitcointalk.org/index.php?topic=1080289.0;all 33/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

habitually include.)

Oh, one last thing - all of the above assumes a VM with build-essentials, etc already apt-installed.

HTH,

Cheers

Graham

Thanks Graham! So it looks like I was finally able to build thanks to the advice everyone gave. The only thing I
notice is I run out of memory a lot. This doesn't make sense because both my laptops are i7 with 8 gigs of DDR. I
set my virtual machines for 3-5 gigabytes of RAM. Using VMWare on one I always got that segmentation fault which
was obviously a memory issue. The same VM ran on my other computer ran out a few times before finally compiling
correctly. The second computer fared well with VirtualBox. I get the feeling that they shouldn't come close to
running out of memory with such trivial tasks.

IngerDev Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#53
Member January 04, 2017, 09:00:41 PM

Hey,
Activity: 92
I cannot compile the Windows Wallet, it shows me everytime this Error:
What have I missed here?
I am Using Debian.

Error:

/mnt/mxe/usr/i686-w64-mingw32.static/lib/libdb_cxx.a(os_pid.o):os_pid.c:(.text+0x25): undefined reference to


`pthread_self'
collect2: error: ld returned 1 exit status
Makefile.Release:427: recipe for target 'release/blackcoin-qt.exe' failed
make: *** [release/blackcoin-qt.exe] Error 1

Thank you,

Fast Online Payments


▬▬ GlobalToken ▬▬▬▬▬█ BCT Forum █ GitHub █ Slack █▬▬▬▬▬▬▬▬▬▬▬▬▬▬
No Premine, No ICO

Lauren Smith Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#54
Sr. Member January 05, 2017, 02:08:02 AM

Ok that's complicated. What do you do after that ? I dont understand how do you get your wallet to you csn
generate and mine coins ? How do you do a premine ? What are the next steps. This is not so easy to
https://bitcointalk.org/index.php?topic=1080289.0;all 34/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Activity: 434 understand. For you it is since you know all these things and you know what is in your head but we dont so for
us understanding is not so easy.

Obizcoin : AI and
Blockchain backed
Smart Process

●● OBIZCOIN │
●● Managing Business Operations & Growing Business was never so LINKEDIN]


▄████████████░
▄█████████████████░█████▄
▄█████████████████████░███████▄

[BITCOINTALK
█████████████████████████░███████▄

easy! ●●
████████░░░░░███████████████░████████
██████░░░██████▀
▀▀██████░████████

YOUTUBE]
████░░░██████▀
▀▀████░███████░
░░░░███████▀

Smart Process BOT helps Startups & SMEs to Organize


▀██░████████
░██████████

[WHITEPAPER
▓░████████
░█████████
░████████░
████████░
████████

MEDIUM]
░████████

d l
████████░

Skirmant Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#55
Member January 14, 2017, 12:22:12 AM

Thanks, this worked really well! I wonder how difficult it would be to cross-compile for MacOS
Activity: 109
Quote from: IngerDev on January 04, 2017, 09:00:41 PM
Such is life in crypto Error:
paradise
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libdb_cxx.a(os_pid.o):os_pid.c:(.text+0x25): undefined reference to `pthread_self'
collect2: error: ld returned 1 exit status
Makefile.Release:427: recipe for target 'release/blackcoin-qt.exe' failed
make: *** [release/blackcoin-qt.exe] Error 1

Thank you,

To fix this issue edit the .pro file and replace

Code:
windows:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32

with

Code:
windows:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -pthread

Need help with developing your altcoin? I can set up Android/Electrum wallets and Twitter/Discord tipbots and many other things for a
reasonable price.
Feel free to message me.

https://bitcointalk.org/index.php?topic=1080289.0;all 35/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Edgemaster Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw #56
Sr. Member January 14, 2017, 04:21:55 PM

hi guys, great guide !


Activity: 257
im trying to compile a coin that contains secp256k1 using this guide

i get this error

Quote

i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -std=gnu++11 -frtti -fdiagnostics-


show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -Wno-
wagerr.com - unused-variable -fpermissive -Wno-cpp -Wno-maybe-uninitialized -Wno-unused-local-typedefs -fexceptions -mthreads -DUNICODE -
slack.wagerr.com DENABLE_WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -
DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT -DUSE_UPNP=1 -DMINIUPNP_STATICLIB -DSTATICLIB -DWIN32 -D_MT -
DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -
DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Isrc -Isrc/json -Isrc/qt -
Isrc/qt/plugins/mrichtexteditor -Isrc/leveldb/include -Isrc/leveldb/helpers -I../mxe/usr/i686-w64-mingw32.static/include -
I../mxe/usr/i686-w64-mingw32.static/include/boost -I../mxe/usr/i686-w64-mingw32.static/include -I../mxe/usr/i686-w64-
mingw32.static/include/openssl -IC:/dev/coindeps32/Secp256k1/include -I../mxe/usr/i686-w64-mingw32.static/qt5/include -
I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtPrintSupport -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/key.o src/key.cpp
src/key.cpp:11:23: fatal error: secp256k1.h: No such file or directory
#include <secp256k1.h>
^
compilation terminated.
make: *** [build/key.o] Error 1

can anybody help with what i need to do to include secp256k1. do i just compile it in its folder by it self using
standard means

██ ▄█████████ █████████▄ ██ ██

wagerr BETTING BELONGS


██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ███ ██ ██ ██
██ ██ ███ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ████ ████ ██ ██

ON THE BLOCKCHAIN
██ ██ ██ ██ ██
██ ██ ██

ICO COMPLETED wagerr


██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██

Edgemaster Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#57
Sr. Member January 14, 2017, 04:38:43 PM

Quote from: Edgemaster on January 14, 2017, 04:21:55 PM

Activity: 257 hi guys, great guide !

im trying to compile a coin that contains secp256k1 using this guide

i get this error

https://bitcointalk.org/index.php?topic=1080289.0;all 36/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Quote

i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -std=gnu++11 -frtti -


fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-
protector -Wno-unused-variable -fpermissive -Wno-cpp -Wno-maybe-uninitialized -Wno-unused-local-typedefs -fexceptions -
mthreads -DUNICODE -DENABLE_WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -
DQT_DISABLE_DEPRECATED_BEFORE=0 -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT -DUSE_UPNP=1 -
wagerr.com - DMINIUPNP_STATICLIB -DSTATICLIB -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -
slack.wagerr.com DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -
DQT_NEEDS_QMAIN -Isrc -Isrc/json -Isrc/qt -Isrc/qt/plugins/mrichtexteditor -Isrc/leveldb/include -Isrc/leveldb/helpers -
I../mxe/usr/i686-w64-mingw32.static/include -I../mxe/usr/i686-w64-mingw32.static/include/boost -I../mxe/usr/i686-w64-
mingw32.static/include -I../mxe/usr/i686-w64-mingw32.static/include/openssl -IC:/dev/coindeps32/Secp256k1/include -
I../mxe/usr/i686-w64-mingw32.static/qt5/include -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtPrintSupport -
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/key.o src/key.cpp
src/key.cpp:11:23: fatal error: secp256k1.h: No such file or directory
#include <secp256k1.h>
^
compilation terminated.
make: *** [build/key.o] Error 1

can anybody help with what i need to do to include secp256k1. do i just compile it in its folder by it self using standard means

nvm fixed it. just edited key.cpp and specified exactly where the file was

██ ▄█████████ █████████▄ ██ ██

wagerr BETTING BELONGS


██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ███ ██ ██ ██
██ ██ ███ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ████ ████ ██ ██

ON THE BLOCKCHAIN
██ ██ ██ ██ ██
██ ██ ██

ICO COMPLETED wagerr


██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██

Edgemaster Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#58
Sr. Member January 14, 2017, 06:05:31 PM

hi guys, while in the final steps of compiling i get this


Activity: 257
Quote

/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_program_options-mt.a(cmdline.o): duplicate section


`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_17bad_function_callEEE[__ZTSN5boost16exception_detail19error_in
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_program_options-mt.a(cmdline.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEEE[__ZTSN5boost16exce
has different size
wagerr.com - /mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_program_options-mt.a(cmdline.o): duplicate section
slack.wagerr.com `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_17bad_function_callEEEEE[__ZTVN5boost16exce
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorISt13runtime_errorEE[__ZTSN5boost16exception_detail19error_info_inje
https://bitcointalk.org/index.php?topic=1080289.0;all 37/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE[__ZTSN5boost16exception_d
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_9gregorian16bad_day_of_monthEEE[__ZTSN5boost16exception_det
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEEE[__ZTSN5boost16exception_detail19err
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE[__ZTSN5boost16
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE[__ZTSN5boost16exception_detail1
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_10lock_errorEEE[__ZTSN5boost16exception_detail19error_info_injec
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE[__ZTSN5boost16exception_d
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_9gregorian8bad_yearEEE[__ZTSN5boost16exception_detail19error_i
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian8bad_yearEEEEE[__ZTSN5boost16exc
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_9gregorian9bad_monthEEE[__ZTSN5boost16exception_detail19error
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian9bad_monthEEEEE[__ZTSN5boost16ex
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost6detail17sp_counted_impl_pINS_16exception_detail10clone_implINS2_10bad_alloc_EEEEE[__ZTSN5boost6detail
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTSN5boost6detail17sp_counted_impl_pINS_16exception_detail10clone_implINS2_14bad_exception_EEEEE[__ZTSN5boost6d
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE[__ZTVN5boost16exception_d
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE[__ZTVN5
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE[__ZTVN5boost16
has different size
https://bitcointalk.org/index.php?topic=1080289.0;all 38/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE[__ZTVN5boost16exception_detail1
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_10bad_alloc_EEE[__ZTVN5boost16exception_detail10clone_implINS0_10ba
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_14bad_exception_EEE[__ZTVN5boost16exception_detail10clone_implINS0_
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE[__ZTVN5boost16exception_d
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian8bad_yearEEEEE[__ZTVN5boost16exc
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_thread_win32-mt.a(thread.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian9bad_monthEEEEE[__ZTVN5boost16ex
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_chrono-mt.a(chrono.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail19error_info_injectorINS_6system12system_errorEEE[__ZTSN5boost16exception_detail19erro
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_chrono-mt.a(chrono.o): duplicate section
`.rdata$_ZTSN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTSN5boost16e
has different size
/mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_chrono-mt.a(chrono.o): duplicate section
`.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16e
has different size
collect2: error: ld returned 1 exit status

any clues ?

██ ▄█████████ █████████▄ ██ ██

wagerr BETTING BELONGS


██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ███ ██ ██ ██
██ ██ ███ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ████ ████ ██ ██

ON THE BLOCKCHAIN
██ ██ ██ ██ ██
██ ██ ██

ICO COMPLETED wagerr


██ ██ ██
██ ██ ██
██ ██ ██
██ ██ ██

IngerDev Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#59
Member January 20, 2017, 08:43:31 PM

Quote from: Skirmant on January 14, 2017, 12:22:12 AM

Activity: 92 Thanks, this worked really well! I wonder how difficult it would be to cross-compile for MacOS

Quote from: IngerDev on January 04, 2017, 09:00:41 PM

Error:

/mnt/mxe/usr/i686-w64-mingw32.static/lib/libdb_cxx.a(os_pid.o):os_pid.c:(.text+0x25): undefined reference to `pthread_self'

https://bitcointalk.org/index.php?topic=1080289.0;all 39/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

collect2: error: ld returned 1 exit status


Makefile.Release:427: recipe for target 'release/blackcoin-qt.exe' failed
make: *** [release/blackcoin-qt.exe] Error 1

Thank you,

To fix this issue edit the .pro file and replace

Code:
windows:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32

with

Code:
windows:LIBS += -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -pthread

No, the Problem was that Berkley DB was not the correct Version, I had to downgrade it and then it works.

Fast Online Payments


▬▬ GlobalToken ▬▬▬▬▬█ BCT Forum █ GitHub █ Slack █▬▬▬▬▬▬▬▬▬▬▬▬▬▬
No Premine, No ICO

svost Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#60
Sr. Member February 27, 2017, 11:20:57 AM

Hello.
Activity: 464
Somebody tried to realize 64-bit assembly of the altcoin client? Has been compiled by me novacoind.exe and
novacoin-qt.exe
Just try to build alternative toolchain with mxe
Code:
make -j2 gcc MXE_TARGETS=x86_64-w64-mingw32.static.posix

4NovacoinyLfMCjTzqDXcaGNTrykfDBNkP

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#61
Hero Member March 18, 2017, 10:41:01 PM

Quote from: JudgeDredd_ on March 18, 2017, 05:50:33 PM

Activity: 672 I am trying to compile Blackcoin, following exactly everything from the OP;

Code:

https://bitcointalk.org/index.php?topic=1080289.0;all 40/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

a@a-VirtualBox:/mnt/blackcoin$ sudo ./compile-blk.sh


./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.

a@a-VirtualBox:/mnt/blackcoin$ echo $PATH


The snake which cannot /mnt/mxe/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
cast its skin has to die

How do I fix this ?

i686-w64-mingw32.static-qmake-qt5

it's saying this command is missing do a search for it if it's missing your mxe installation is broken

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

nemgun Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#62
Hero Member March 21, 2017, 11:43:51 AM

Quote from: JudgeDredd_ on March 19, 2017, 10:25:13 PM

Activity: 518 anyone found a way for this ?

Use this ==> https://www.amazon.com/clouddrive/share/ZhOxZQQzji8FpQvuV9b86DqJg6IGpIXmlXFyG5o2X8h?


ref_=cd_ph_share_link_copy

Quote from: hendo420 on October 27, 2015, 02:41:02 PM

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.

There is a problem, i tried to do this many time and i always ended with different issues, so i came up to the

https://bitcointalk.org/index.php?topic=1080289.0;all 41/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

conclusion that due to MXE's updates, the paths/scripts must be fixed.


So either change the scripts, or download this VM (i used it) and compile it from there. You just have to export
path and then run compile script. Instructions are provided in the desktop.

▄█▄ ▄█▄
║░║ ════════▮ Cross-platform Modular Decentralized Exchange ▮════════ ║░║ Crowd Sale
▄ ▄██
▐██▄ ▄████▄

NVO
█████▄ ▄███████
████████▄ ▄██████████
▐██████████▄ ▄█████████████
█████████████▄ ▀██████████████▄

║░║ ║░║
████████████████▄ ▀█████████████
▐█████████████████▄ ▀████████████
████████████████████▄ ▀██████████▌
███████████████████████▄ ▀█████████▄
▄█████████████████████████▄ ▀████████

▀█▀ Secure ═ Private ═ Assets-to-Assets ═ Full Autonomy ═ Multi-Assets Storage ═ Integrated Platform ▀█▀ ══closed══
████████████████████████████▄ ▀██████▌
▐██████████████████████████████▄ ▀██▀▀
▀████████████████████████████████
▀▀▀███████████████████████▀
▀▀███████████████▀
▀▀█████▀▀

MickGhee Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#63
Legendary April 05, 2017, 12:56:56 AM

I'm getting this


Activity: 994
Code:
FOUNDER OF BUBBLE in file included from src/netbase.h:10:0,
from src/qt/optionsdialog.cpp:6:
src/serialize.h:19:48: fatal error: boost/type_traits/is_fundamental.hpp: No such file or directory
compilation terminated.

I have libboost-dev all installed under root/usr/include/boost this is crazy because I have compiled for Linux earlier

i tried to find boost in the mxe and i think the script thinks its here /mnt/mxe/usr/i686-w64-
mingw32.static/include am I right? doi just copy boost there?? im using an ubuntu server on digital ocean with
node if that means anything. I'm trying to copy over now plus I am dl the VM to see if I have better luck.

today was the first time I have been able to compile Berkeley DB ever and I have been trying for a long time. I
think it was part this thread and part the education I have been receiving THAT FINALLY MAKES THIS STUFF
SOUND LIKE ENGLISH.\

fixed needed to set PATH

nomadsena Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#64
Member April 14, 2017, 06:39:26 AM

when i run
Code:
Activity: 76
./compile-db.sh

i m getting this error

https://bitcointalk.org/index.php?topic=1080289.0;all 42/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Code:
configure: error: in `/home/nomad/mnt/db-5.3.28/build_mxe':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

some one please help


or is there any updated guides on how to compile an alt coin wallet

MickGhee Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#65
Legendary June 06, 2017, 06:30:28 PM

Quote from: nomadsena on April 14, 2017, 06:39:26 AM

Activity: 994 when i run


Code:
FOUNDER OF BUBBLE ./compile-db.sh

i m getting this error

Code:
configure: error: in `/home/nomad/mnt/db-5.3.28/build_mxe':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

some one please help


or is there any updated guides on how to compile an alt coin wallet

i am not saying this file http://www.demonoid.pw/files/details/3565679/?rel=1496772185 is the complete


environment with everything you need ------ i am not denying it either

ubuntu 17 PW spayse sudo su pw spayse

bumbacoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#66
Legendary July 08, 2017, 03:33:07 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 43/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

i'm having trouble with building a coin using secp256k1


Activity: 1204
Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

generally it seems like i have success with secp256k1 but it is not recognized on qt build.

i've tried a variety of things including

Code:
./autogen.sh
./configure --host=i686-w64-mingw32.static
make

fails on qt build

and
Code:
./configure --host=i686-w64-mingw32.static --prefix=/home/mxe/mxe/usr/i686-w64-mingw32.static --enab

gives error during configure


Code:
./configure: line 12234: SECP_64BIT_ASM_CHECK: command not found
./configure: line 12263: SECP_INT128_CHECK: command not found
./configure: line 12291: SECP_INT128_CHECK: command not found
./configure: line 12316: SECP_GMP_CHECK: command not found
./configure: line 12422: SECP_OPENSSL_CHECK: command not found

also fails on qt build

any assistance would be welcomed

⛄🎄🎁 ★ ★ BUMBA ★ 🎄⛄
go to
████████████████

crypto services
████████████████
████████████████
████████████████
████████████████

cryptobetfair.com MAC wallets,


████████████████
████████████████
████████████████
████████████████

NODES,
████████████████

ask for a voucher


████████████████

C O I N
████████████████
████████████████
████████████████

GENERAL
████████████████

bumbacoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#67
Legendary July 11, 2017, 07:07:21 AM

https://bitcointalk.org/index.php?topic=1080289.0;all 44/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Activity: 1204 after more fruitless searching,
i'm guessing it's to do with the age of secp256k1 (looks like early 2015).

will have to try a different coin with more recent version.

⛄🎄🎁 ★ ★ BUMBA ★ 🎄⛄
go to
████████████████

crypto services
████████████████
████████████████
████████████████
████████████████

cryptobetfair.com MAC wallets,


████████████████
████████████████
████████████████
████████████████

NODES,
████████████████

ask for a voucher


████████████████

C O I N
████████████████
████████████████
████████████████

GENERAL
████████████████

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#68
Legendary July 11, 2017, 07:26:46 AM

Quote from: bumbacoin on July 08, 2017, 03:33:07 PM

Activity: 1232 gives error during configure


Code:
./configure: line 12234: SECP_64BIT_ASM_CHECK: command not found
./configure: line 12263: SECP_INT128_CHECK: command not found
./configure: line 12291: SECP_INT128_CHECK: command not found
./configure: line 12316: SECP_GMP_CHECK: command not found
./configure: line 12422: SECP_OPENSSL_CHECK: command not found

The messages suggests that autoconf isn't finding the relevant m4 macros which suggests there's a missing file or
an existing file has missing stanzas. Cross-referencing the m4 contents with those of a successfully-compiling coin
of similar vintage and configuration might help you fill in the missing bits.

Cheers

Graham

dekm0101 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#69
Member August 05, 2017, 08:01:20 PM

Does anyone know how to resolve this error? The coin I'm working from uses secp256k which I noticed earlier
someone stated is a bit older.
Activity: 113
Code:
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1
collect2: error: ld returned 1 exit status

Enkrypto_Storm Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#70
Newbie August 06, 2017, 01:50:33 AM

https://bitcointalk.org/index.php?topic=1080289.0;all 45/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

It's kind of funny that the file you named your username after no longer exist in the Bitcoin source code. Ever since
main.h and main.cpp were sort of replaced (I guess?) by chainparams.cpp/chainparams.h, I don't think anyone's
Activity: 16
written a decent guide on how to fork Bitcoin to make an altcoin for fun.

eliteyo Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#71
Newbie August 15, 2017, 10:58:39 AM

I'm getting:
Activity: 7
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

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#72
Legendary August 15, 2017, 07:50:28 PM

./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found


make: Makefile.Release: No such file or directory
Activity: 1232
make: *** No rule to make target 'Makefile.Release'. Stop.

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

Cheers

Graham

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#73
Newbie August 26, 2017, 11:35:53 AM

got this error


Activity: 27
/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
https://bitcointalk.org/index.php?topic=1080289.0;all 46/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

/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 ??

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#74
Hero Member August 26, 2017, 01:02:49 PM

Quote from: noreplybatam on August 26, 2017, 11:35:53 AM

Activity: 672 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
The snake which cannot
cast its skin has to die any solutions ??

sudo apt-get install libqrencode-dev

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#75
Newbie August 27, 2017, 10:58:55 AM

Quote from: D3m0nKinGx on August 26, 2017, 01:02:49 PM


Quote from: noreplybatam on August 26, 2017, 11:35:53 AM
Activity: 27
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

https://bitcointalk.org/index.php?topic=1080289.0;all 47/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

i already installed that

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#76
Legendary August 27, 2017, 11:39:32 AM

Quote from: noreplybatam on August 27, 2017, 10:58:55 AM

Activity: 1232 /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

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#77
Newbie August 27, 2017, 05:06:37 PM

Quote from: gjhiggins on August 27, 2017, 11:39:32 AM


Quote from: noreplybatam on August 27, 2017, 10:58:55 AM
Activity: 27
/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 ??

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#78
August 27, 2017, 05:22:50 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 48/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary Quote from: noreplybatam on August 27, 2017, 05:06:37 PM

how to do that ??

Activity: 1232
See the code example upthread:

https://bitcointalk.org/index.php?topic=1080289.msg17336514#msg17336514

Cheers

Graham

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#79
Newbie August 28, 2017, 04:36:39 AM

Quote from: gjhiggins on August 27, 2017, 05:22:50 PM


Quote from: noreplybatam on August 27, 2017, 05:06:37 PM
Activity: 27
how to do that ??

See the code example upthread:

https://bitcointalk.org/index.php?topic=1080289.msg17336514#msg17336514

Cheers

Graham

Ok, i almost understand what must to do.


but last thing where i can find path that missing file ?

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#80
Legendary August 28, 2017, 07:51:44 AM

Quote from: noreplybatam on August 28, 2017, 04:36:39 AM

Activity: 1232 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

https://bitcointalk.org/index.php?topic=1080289.0;all 49/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Graham

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#81
Newbie August 28, 2017, 03:14:39 PM

Quote from: hendo420 on October 27, 2015, 02:41:02 PM

Activity: 27 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.

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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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,
https://bitcointalk.org/index.php?topic=1080289.0;all 50/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

with preprocessed source if appropriate.


See <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4

what i missed ?? please help me

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#82
Hero Member August 28, 2017, 03:20:13 PM

Quote from: noreplybatam on August 28, 2017, 03:14:39 PM


Quote from: hendo420 on October 27, 2015, 02:41:02 PM
Activity: 672
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 snake which cannot
cast its skin has to die The root password is Password1

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

hi, i got this error

https://bitcointalk.org/index.php?topic=1080289.0;all 51/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

../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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4

https://bitcointalk.org/index.php?topic=1080289.0;all 52/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

what i missed ?? please help me

seems you need to setup a swap file, or increase the one already there, so this issue is likely due to lack of ram

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#83
Newbie August 28, 2017, 03:34:41 PM

Quote from: D3m0nKinGx on August 28, 2017, 03:20:13 PM


Quote from: noreplybatam on August 28, 2017, 03:14:39 PM
Activity: 27
Quote from: hendo420 on October 27, 2015, 02:41:02 PM

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.

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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> for instructions.


https://bitcointalk.org/index.php?topic=1080289.0;all 53/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4

what i missed ?? please help me

seems you need to setup a swap file, or increase the one already there, so this issue is likely due to lack of ram

what minimal resource ??

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#84
Hero Member August 28, 2017, 03:38:26 PM

https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
Activity: 672

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange Github Full Node


███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███
███

https://bitcointalk.org/index.php?topic=1080289.0;all 54/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Slack ▬◇▬◆ Blockchain Solutions Blockchain as a Service ◆▬◇▬ stratisplatform.com

The snake which cannot


cast its skin has to die

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#85
Newbie August 28, 2017, 04:15:02 PM

Quote from: D3m0nKinGx on August 28, 2017, 03:38:26 PM

Activity: 27 https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04

still got the same error

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#86
Newbie August 28, 2017, 04:36:05 PM

Quote from: D3m0nKinGx on August 28, 2017, 03:38:26 PM

Activity: 27 https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04

sir i got this error


Code:
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
See <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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/pos
from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/pos
from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/pti
from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/pos
from /mnt/mxe/usr/i686 w64 mingw32 static/include/boost/thread/thread time hpp:1

https://bitcointalk.org/index.php?topic=1080289.0;all 55/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#87
Newbie August 28, 2017, 04:49:08 PM

Code:
i686-w64-mingw32.static-g++ -c -DQT_GUI -DQT_NO_PRINTER -std=gnu++11 -march=i686 -Isrc -Isrc/json -I
Activity: 27
i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [build/txdb-bdb.o] Error 4

very frustate compiling this

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#88
Hero Member August 28, 2017, 05:03:59 PM

you sure you setup the swap-file correctly?


Activity: 672
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


The snake which cannot
cast its skin has to die also maybe it's also possible your mxe installation is corrupted

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#89
Newbie August 28, 2017, 05:07:54 PM

Quote from: D3m0nKinGx on August 28, 2017, 05:03:59 PM

Activity: 27 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:

https://bitcointalk.org/index.php?topic=1080289.0;all 56/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Swap: 7.5G 45M 7.4G

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

i got this

Swap: 19485 0 19485

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#90
Hero Member August 28, 2017, 05:13:38 PM

Quote from: noreplybatam on August 28, 2017, 05:07:54 PM


Quote from: D3m0nKinGx on August 28, 2017, 05:03:59 PM
Activity: 672
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:
The snake which cannot
cast its skin has to die 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

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#91
Hero Member August 28, 2017, 05:19:30 PM

also make a file m32test.c with the code:

https://bitcointalk.org/index.php?topic=1080289.0;all 57/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Activity: 672 Code:
// Minimal C example
#include <stdio.h>
int main()
{
printf("This works\n");
return 0;
}
The snake which cannot
cast its skin has to die
then test your compiler on the file:

Code:
mxe/usr/bin/i686-w64-mingw32.static-g++ m32test.c

use the path that your compiler is in ofc

this will create an executable a.exe if your compiler is working

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#92
Newbie August 28, 2017, 05:28:36 PM

Quote from: D3m0nKinGx on August 28, 2017, 05:19:30 PM

Activity: 27 also make a file m32test.c with the code:

Code:
// Minimal C example
#include <stdio.h>
int main()
{
printf("This works\n");
return 0;
}

then test your compiler on the file:

Code:
mxe/usr/bin/i686-w64-mingw32.static-g++ m32test.c

use the path that your compiler is in ofc

https://bitcointalk.org/index.php?topic=1080289.0;all 58/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

this will create an executable a.exe if your compiler is working

i type free -m then output return like that .


if i type free -h this return
Swap: 19G 0B 19G

i try to test compile and its worked


this is the screenshoot http://prntscr.com/ge44fc

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#93
Hero Member August 28, 2017, 05:32:53 PM

what's the coin you are building?


Activity: 672

The snake which cannot


cast its skin has to die
Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#94
Newbie August 28, 2017, 05:35:19 PM

Quote from: D3m0nKinGx on August 28, 2017, 05:32:53 PM

Activity: 27 what's the coin you are building?

i try create altcoin, with x11 algo

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#95
Hero Member August 28, 2017, 05:35:57 PM

Quote from: noreplybatam on August 28, 2017, 05:35:19 PM


Quote from: D3m0nKinGx on August 28, 2017, 05:32:53 PM
Activity: 672
what's the coin you are building?

i try create altcoin, with x11 algo

https://bitcointalk.org/index.php?topic=1080289.0;all 59/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

what's the coin, source?

The snake which cannot


cast its skin has to die
Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#96
Newbie August 28, 2017, 05:42:01 PM

Quote from: D3m0nKinGx on August 28, 2017, 05:35:57 PM


Quote from: noreplybatam on August 28, 2017, 05:35:19 PM
Activity: 27
Quote from: D3m0nKinGx on August 28, 2017, 05:32:53 PM

what's the coin you are building?

i try create altcoin, with x11 algo

what's the coin, source?

i try with this coin https://github.com/bfroemel/smallchange

from this link https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#97
Hero Member August 28, 2017, 05:47:38 PM

Quote from: noreplybatam on August 28, 2017, 05:42:01 PM


Quote from: D3m0nKinGx on August 28, 2017, 05:35:57 PM
Activity: 672
Quote from: noreplybatam on August 28, 2017, 05:35:19 PM
Quote from: D3m0nKinGx on August 28, 2017, 05:32:53 PM

what's the coin you are building?

i try create altcoin, with x11 algo

The snake which cannot


cast its skin has to die what's the coin, source?

i try with this coin https://github.com/bfroemel/smallchange

https://bitcointalk.org/index.php?topic=1080289.0;all 60/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

from this link https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

try compiling without mxe... you'll find out somethings lol

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

noreplybatam Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#98
Newbie August 28, 2017, 05:49:54 PM

Quote from: D3m0nKinGx on August 28, 2017, 05:47:38 PM


Quote from: noreplybatam on August 28, 2017, 05:42:01 PM
Activity: 27
Quote from: D3m0nKinGx on August 28, 2017, 05:35:57 PM
Quote from: noreplybatam on August 28, 2017, 05:35:19 PM
Quote from: D3m0nKinGx on August 28, 2017, 05:32:53 PM

what's the coin you are building?

i try create altcoin, with x11 algo

what's the coin, source?

i try with this coin https://github.com/bfroemel/smallchange

from this link https://forum.gethashing.com/t/how-to-clone-a-coin-links-and-resources/3833

try compiling without mxe... you'll find out somethings lol

How to compiling without mxe ?

bumbacoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#99
Legendary August 30, 2017, 03:10:24 AM

Quote from: bumbacoin on July 08, 2017, 03:33:07 PM

Activity: 1204 i'm having trouble with building a coin using secp256k1

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

generally it seems like i have success with secp256k1 but it is not recognized on qt build.

https://bitcointalk.org/index.php?topic=1080289.0;all 61/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

i've tried a variety of things including

Code:
./autogen.sh
./configure --host=i686-w64-mingw32.static
make

fails on qt build

and
Code:
./configure --host=i686-w64-mingw32.static --prefix=/home/mxe/mxe/usr/i686-w64-mingw32.static --e

gives error during configure


Code:
./configure: line 12234: SECP_64BIT_ASM_CHECK: command not found
./configure: line 12263: SECP_INT128_CHECK: command not found
./configure: line 12291: SECP_INT128_CHECK: command not found
./configure: line 12316: SECP_GMP_CHECK: command not found
./configure: line 12422: SECP_OPENSSL_CHECK: command not found

also fails on qt build

any assistance would be welcomed

i'm trying a different source, and using latest version of secp256k1 but still getting

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

could it be to do with version of ubuntu or mxe i'm using ?


not sure about mxe (will need to check later) but am on ubuntu 14.

or is there something else i could try ?

go to
████████████████

crypto services
BUMBA
████████████████
████████████████
████████████████
████████████████

cryptobetfair.com MAC wallets,


████████████████
████████████████
████████████████
████████████████
████████████████
████████████████

https://bitcointalk.org/index.php?topic=1080289.0;all 62/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

⛄🎄🎁 ★ ★ ★ 🎄⛄
ask for a voucher
████████████████

C O I N NODES,
████████████████
████████████████
████████████████
████████████████

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#100
Legendary August 30, 2017, 08:12:20 AM

Quote from: bumbacoin on August 30, 2017, 03:10:24 AM

Activity: 1232 i'm trying a different source, and using latest version of secp256k1 but still getting

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

or is there something else i could try ?

It's a long shot but I've been caught out before with self-edited Makefiles fumbling the removal of binaries from the
build directory, being skipped by make and, if I'm wrestling with cross-compilation, ultimately causing the linker to
complain about unrecognised format. I also used to see that after the laptop crashed, leaving truncated .o files in
the build directory. What you're describing suggests that the secp256k1 code is being natively compiled when it
should be cross-compiled. I've also encountered crypto files that need to be compiled with plain C, requiring ${CC}
to be properly bound to the corresponding MXE binary.

Cheers

Graham

hesdeadjim Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#101
Sr. Member September 05, 2017, 04:33:50 PM

Hello everyone.
Activity: 433
I've been compiling wallets for different Linux distros and for the Raspberry Pi and I thought I might give the
Windows wallet a shot.

I followed the instructions on the first post exactly and everything worked perfectly until the compile.

I used Blackcoin as the example suggested.

The errors are as follows:

Code:
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$ sudo ./compile-blk.sh
./compile-blk.sh: 1: ./compile-blk.sh: #!/bin/bash: not found
./compile-blk.sh: 4: ./compile-blk.sh: i686-w64-mingw32.static-qmake-qt5: not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$

https://bitcointalk.org/index.php?topic=1080289.0;all 63/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Now here is the strange part. I put the path in correctly, and it shows up fine when I display environmental list in
the terminal.

Any help would be appreciated.

Thanks.

▬▬▬▬▬▬★★★ INSANE ★★★▬▬▬▬▬▬

AnthonyBitLand Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#102
Member September 08, 2017, 11:37:31 AM

Code:
Activity: 70
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$ sudo ./compile-blk.sh
http://eddiecoin.com ./compile-blk.sh: 1: ./compile-blk.sh: #!/bin/bash: not found
./compile-blk.sh: 4: ./compile-blk.sh: i686-w64-mingw32.static-qmake-qt5: not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$

I have same error

DONATIONS FOR EDDIE DEVELOPMENT EL6pxpN7Y7F5RJoTsu2ThiPhfivjXTiZZ1 THANK YOU

kurdcoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#103
Newbie September 08, 2017, 05:22:38 PM

Quote from: bumbacoin on July 08, 2017, 03:33:07 PM

Activity: 12 i'm having trouble with building a coin using secp256k1

Code:
libsecp256k1_la-secp256k1.o: file not recognized: File format not recognized

generally it seems like i have success with secp256k1 but it is not recognized on qt build.

i've tried a variety of things including

Code:
./autogen.sh
./configure --host=i686-w64-mingw32.static
make

https://bitcointalk.org/index.php?topic=1080289.0;all 64/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

fails on qt build

and
Code:
./configure --host=i686-w64-mingw32.static --prefix=/home/mxe/mxe/usr/i686-w64-mingw32.static --e

gives error during configure


Code:
./configure: line 12234: SECP_64BIT_ASM_CHECK: command not found
./configure: line 12263: SECP_INT128_CHECK: command not found
./configure: line 12291: SECP_INT128_CHECK: command not found
./configure: line 12316: SECP_GMP_CHECK: command not found
./configure: line 12422: SECP_OPENSSL_CHECK: command not found

also fails on qt build

any assistance would be welcomed

i kinda fixed this issue ,, the fastes way is to get pre compiled secp256k1 for win32, or do it yourself on winodws,
copy secp256k1 to ubuntu , copy and merge libs & include in to mxe i686-w64-mingw32.static folder, and that is
it,

at least it works for me

bumbacoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#104
Legendary September 09, 2017, 09:33:01 AM

Quote from: kurdcoin on September 08, 2017, 05:22:38 PM

Activity: 1204
i kinda fixed this issue ,, the fastes way is to get pre compiled secp256k1 for win32, or do it yourself on winodws, copy secp256k1
to ubuntu , copy and merge libs & include in to mxe i686-w64-mingw32.static folder, and that is it,

at least it works for me

now that was a great idea !!

i just grabbed bitcoin source and used it to compile the secp256k1 libraries for windows.

https://bitcointalk.org/index.php?topic=1080289.0;all 65/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

anyone wants a copy of secp256k1 for win32 here's a link


https://drive.google.com/open?id=0B5j8d4FSc7drYzlpMVJKbVdISVk

i had a go at win64, this version appears to have succeeded but i havent tested it
https://drive.google.com/open?id=0B5j8d4FSc7drd3RBUnc0R0pyUE0

can anyone tell me diff between mingw and mxe ?


is mxe just a collection of handy build instructions for various libraries using mingw ?

⛄🎄🎁 ★ ★ BUMBA ★ 🎄⛄
go to
████████████████

crypto services
████████████████
████████████████
████████████████
████████████████

cryptobetfair.com MAC wallets,


████████████████
████████████████
████████████████
████████████████

NODES,
████████████████

ask for a voucher


████████████████

C O I N
████████████████
████████████████
████████████████

GENERAL
████████████████

MNCoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#105
Newbie September 13, 2017, 08:33:45 PM

How do you guys use this to compile coins without .pro file ? but has autogen.sh ..?
Activity: 10

MickGhee Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#106
Legendary September 20, 2017, 03:32:28 AM

this is no good anymore


Activity: 994
you need to follow this guide
FOUNDER OF BUBBLE http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin

happy coding

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#107
Legendary September 20, 2017, 08:18:19 AM

Quote from: MickGhee on September 20, 2017, 03:32:28 AM

Activity: 1232 this is no good anymore

you need to follow this guide


http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin

https://bitcointalk.org/index.php?topic=1080289.0;all 66/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Doesn't cover the “using mxe and mingw” (c.f. thread topic).

Cheers

Graham

jocker1508 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#108
Newbie October 12, 2017, 01:23:36 PM

Quote from: john75077 on August 04, 2015, 11:06:25 PM

Activity: 1 Everything is compiling so far when I execute the script as root, if there is any other issues ill let you know. - It compiled with no
issues! I don't have much for BTC if you leave your address ill send you something for the help.

im facing issue over this command

./compile-m.sh

error is as follows:

bash: ./compile-db.sh: No such file or directory

scryclip Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#109
Member October 17, 2017, 04:09:55 PM

Quote from: bumbacoin on September 09, 2017, 09:33:01 AM


Quote from: kurdcoin on September 08, 2017, 05:22:38 PM
Activity: 60

i kinda fixed this issue ,, the fastes way is to get pre compiled secp256k1 for win32, or do it yourself on winodws, copy
secp256k1 to ubuntu , copy and merge libs & include in to mxe i686-w64-mingw32.static folder, and that is it,

at least it works for me

now that was a great idea !!

i just grabbed bitcoin source and used it to compile the secp256k1 libraries for windows.

anyone wants a copy of secp256k1 for win32 here's a link


https://drive.google.com/open?id=0B5j8d4FSc7drYzlpMVJKbVdISVk

i had a go at win64, this version appears to have succeeded but i havent tested it

https://bitcointalk.org/index.php?topic=1080289.0;all 67/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

https://drive.google.com/open?id=0B5j8d4FSc7drd3RBUnc0R0pyUE0

Hey you 2 are the best!!

It would have taken me days, (or maybe a week with the arduous task of having learn how and then attempt
compile it entirely under windows, which I was reading about and considering ...it did not sound fun), Had I did not
see your advice kurdcoin (and been able to quickly check it worked with your Library bumbacoin, that was great)

Actually I did a different wallet 3 months ago (before you guys posted) that had this secp256k1 library however the
original dev had coded an #ifdef around all the secp256k1 instances so it was possible to optionally exclude it when
compiling. I wonder now if he had coded around it just to get it to compile with mingw if needed....

Anyway Thanks so much!

bumbacoin Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#110
Legendary October 21, 2017, 04:26:44 PM

Quote from: scryclip on October 17, 2017, 04:09:55 PM

Activity: 1204

Actually I did a different wallet 3 months ago (before you guys posted) that had this secp256k1 library however the original dev had
coded an #ifdef around all the secp256k1 instances so it was possible to optionally exclude it when compiling. I wonder now if he
had coded around it just to get it to compile with mingw if needed....

Anyway Thanks so much!

some bases have the #ifdef


some dont :p

⛄🎄🎁 ★ ★ BUMBA ★ 🎄⛄
go to
████████████████

crypto services
████████████████
████████████████
████████████████
████████████████

cryptobetfair.com MAC wallets,


████████████████
████████████████
████████████████
████████████████

NODES,
████████████████

ask for a voucher


████████████████

C O I N
████████████████
████████████████
████████████████

GENERAL
████████████████

hoop Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#111
Legendary October 21, 2017, 09:43:56 PM

I will following this topic regarding the constructive discussions in addition to valuable information.
Activity: 1246

██████████ ██████████▄▄
█████████████ ██████████████ ██ ██

https://bitcointalk.org/index.php?topic=1080289.0;all 68/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
█████████████ ██████████████▄▄ ██ ██

Take care of your financial privacy ANN Slack


▄███ █████▄ ▀▀███████▄ ███████████████ ████ ████ ▄█████▄

NOBT
██████ ▀█████▄ ████ ▀▀█████ ██ ███ ██████████████████ █████████ ████████ ▄█████████ ██
█████ ▀█████▄ ████ █████ ██ ████████████████████████████████ ████ ███▌ ██
████ ▀████ ████ ████ ███ ███ ████████████████████████████ ███ ██▌
████ ██▄ ▀█ ██▄ ████ ████ ██ ███ ███ █████████████████████████████ ▐██ ███ ████ ██
████▌ █████▄ ████████ ▐████ ██ ███ ██ ███ ██████████████████ ▄███████████ ██
▐████ ████████ ▀█████ ████▌ ███ ██ ██ ██ ███ ██████████████████ ███████████ ███████████▀

Twitter Telegram
█████ ████ ▀██ █▄ ▀██ █████ ██ ███ ██ ██ ██ ███ ██████████████████ ██ █████ ████ ███ ██▌ ██
█████ ████ ████▄ █████ ███ ██ ██ ██ ███ ██████████████████ ███████████ ▐██ ███
█████▄ ████
▀█████▄ ████
▀█████▄
▀█████▄
▄█████
██▀ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ██
██
███
███
███
███
██████████████████
█████████████████████████████
▐███ ████
█████████▀
██
██
▀█████▄ ▀█████ ████████████████████████████████ ████████████████████████████ ▀█████▀

WNOBT
██ ██

A blockchain loyalty scheme and more


▀██████▄▄ ▄▄██████▀

Nobt-plataform
▀▀████████ ████████▀▀ ██ ██
▀▀████ ████▀▀ ██ ██
██ ██

NOBT - WNOBT your


saving bank◕◡◕

owner232 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#112
Member October 25, 2017, 09:36:05 PM

Ive been working on this for days and Im now getting this error
Activity: 68
g[abi:cxx11]() const'
./build/main.o:main.cpp:(.text+0x89ef): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text+0xd76b): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text+0x128d8): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text+0x13949): undefined reference to `leveldb::WriteBatch::~WriteBatch()'
./build/main.o:main.cpp:(.text$_ZN5CTxDBD1Ev[__ZN5CTxDBD1Ev]+0xe): undefined reference to
`leveldb::WriteBatch::~WriteBatch()'
./build/miner.o:miner.cpp:(.text+0x48c6): more undefined references to `leveldb::WriteBatch::~WriteBatch()'
follow

FIXED.
For everyone with this error, I went to novacoin and took the leveldb from their project folder and replaced the one
in my source folder. It then compiled.

Telegram:@owner232
Discord: Owner 232#1419

AltCreators Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#113
Full Member November 20, 2017, 04:59:13 PM

Nice tutorial, however needs some editing.


Activity: 140
It is missing 2 dependencies that are required.

libgtk2.0-dev is missing.

You must apt-get install it.

Code:
Official AltCreator
https://bitcointalk.org/index.php?topic=1080289.0;all 69/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Account sudo apt-get install libgtk2.0-dev

*if anyone needs help compiling or want to make their own coin, PM me

♦♦♦CryptoDiamond♦♦♦
Daily Trading Tips! ▍Daily Cryptocurrency news ▍BEST TELEGRAM CHANNEL! ▍
Daily Coin Predictions ▍Trading Analysis ▍100% FREE ▍Professional trading Admins[url]

AltCreators Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#114
Full Member November 21, 2017, 04:46:45 PM

Compiling Boost is taking a very long time.


Activity: 140
MY Vps has 4gb ram and 2 or 4 cores.

Its taking hours.

Also, is it possible to close my vps, and resume compiling later?

Official AltCreator
Account
♦♦♦CryptoDiamond♦♦♦
Daily Trading Tips! ▍Daily Cryptocurrency news ▍BEST TELEGRAM CHANNEL! ▍
Daily Coin Predictions ▍Trading Analysis ▍100% FREE ▍Professional trading Admins[url]

AltCreators Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#115
Full Member November 22, 2017, 04:06:32 AM

Some info to new people following this Tutorial:


Activity: 140
Some Requirements:
At Least 10 gb storage is expected. Just the compiling is about 4 gb
*and then you will want some storage for the altcoin

Compiling Boost takes a pretty long time. a few hours on a descent VPS.
When it is compiling boost, dont discourage yourself and quit compiling. Eventually it will compile!
Official AltCreator
Account Compiling QT 5 does not take much time. About 1 hour and a half should do.

overall, the entire process should take no more than 6 hours.

♦♦♦CryptoDiamond♦♦♦
Daily Trading Tips! ▍Daily Cryptocurrency news ▍BEST TELEGRAM CHANNEL! ▍
Daily Coin Predictions ▍Trading Analysis ▍100% FREE ▍Professional trading Admins[url]

https://bitcointalk.org/index.php?topic=1080289.0;all 70/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

rewenton Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw #116
Member November 22, 2017, 06:12:41 PM

Code:
:/mnt/mxe# make MXE_TARGETS="i686-w64-mingw32.static" boost
Activity: 70
[create settings.mk]
[check requirements]
Missing requirement: libtool
Missing requirement: gdk-pixbuf-csource

Please have a look at "docs/index.html" to ensure


that your system meets all requirements.

Makefile:398: recipe for target '/mnt/mxe/usr/installed/check-requirements' failed


make: *** [/mnt/mxe/usr/installed/check-requirements] Error 1

Here such error at me. What to do?


ubuntu 14 and 16

D3m0nKinGx Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#117
Hero Member November 22, 2017, 06:20:35 PM

Quote from: rewenton on November 22, 2017, 06:12:41 PM


Code:
Activity: 672
:/mnt/mxe# make MXE_TARGETS="i686-w64-mingw32.static" boost
[create settings.mk]
[check requirements]
Missing requirement: libtool
Missing requirement: gdk-pixbuf-csource

Please have a look at "docs/index.html" to ensure


The snake which cannot that your system meets all requirements.
cast its skin has to die
Makefile:398: recipe for target '/mnt/mxe/usr/installed/check-requirements' failed
make: *** [/mnt/mxe/usr/installed/check-requirements] Error 1

Here such error at me. What to do?


ubuntu 14 and 16

Code:
sudo apt install libgdk-pixbuf2.0-dev libtool

Whitepaper ▬◇
STRATIS BaaS ◇▬ Please Read OP
███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███
███ ███

Exchange ◆▬◇▬ Github Full Node


███ ███ ███ ███
███ ███ ███ ███

▬◇▬◆
███ ███ ███ ███
███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███ ███
███ ███ ███
███ ███
███ ███
███ ███

Blockchain Solutions Blockchain as a Service


███

Slack ▬◇▬◇▬◆ ◆▬◇▬◇▬ stratisplatform.com

https://bitcointalk.org/index.php?topic=1080289.0;all 71/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

AnorakThaGreat Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw #118
Newbie November 23, 2017, 09:12:45 AM

Quote from: rewenton on November 22, 2017, 06:12:41 PM


Code:
Activity: 7
:/mnt/mxe# make MXE_TARGETS="i686-w64-mingw32.static" boost
[create settings.mk]
[check requirements]
Missing requirement: libtool
Missing requirement: gdk-pixbuf-csource

Please have a look at "docs/index.html" to ensure


that your system meets all requirements.

Makefile:398: recipe for target '/mnt/mxe/usr/installed/check-requirements' failed


make: *** [/mnt/mxe/usr/installed/check-requirements] Error 1

Here such error at me. What to do?


ubuntu 14 and 16

sudo apt-get install libtool-bin


sudo apt-get install libgtk2.0-dev

AnorakThaGreat Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#119
Newbie November 23, 2017, 09:21:44 AM

Quote from: hesdeadjim on September 05, 2017, 04:33:50 PM

Activity: 7 Hello everyone.

I've been compiling wallets for different Linux distros and for the Raspberry Pi and I thought I might give the Windows wallet a shot.

I followed the instructions on the first post exactly and everything worked perfectly until the compile.

I used Blackcoin as the example suggested.

The errors are as follows:

Code:
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$ sudo ./compile-blk.sh
./compile-blk.sh: 1: ./compile-blk.sh: #!/bin/bash: not found
./compile-blk.sh: 4: ./compile-blk.sh: i686-w64-mingw32.static-qmake-qt5: not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'. Stop.
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$

https://bitcointalk.org/index.php?topic=1080289.0;all 72/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Think you have to run


Code:
sudo -E ./compile-blk.sh

to pass the environment vars (PATH and whatever else you have defined in sudoers)

rewenton Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#120
Member November 25, 2017, 02:21:35 AM

Quote from: AnorakThaGreat on November 23, 2017, 09:12:45 AM


Quote from: rewenton on November 22, 2017, 06:12:41 PM
Activity: 70
Code:
:/mnt/mxe# make MXE_TARGETS="i686-w64-mingw32.static" boost
[create settings.mk]
[check requirements]
Missing requirement: libtool
Missing requirement: gdk-pixbuf-csource

Please have a look at "docs/index.html" to ensure


that your system meets all requirements.

Makefile:398: recipe for target '/mnt/mxe/usr/installed/check-requirements' failed


make: *** [/mnt/mxe/usr/installed/check-requirements] Error 1

Here such error at me. What to do?


ubuntu 14 and 16

sudo apt-get install libtool-bin


sudo apt-get install libgtk2.0-dev

Thank you! everything worked


but when I want to compile another altcoyin
I'm trying to compile another altcoyin, but I get an error -
Quote

Project ERROR: Unknown module(s) in QT: webkitwidgets

altcoin - https://github.com/peopleproject/people

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#121
Legendary December 14, 2017, 11:36:24 AM

Quote from: thepcb on December 14, 2017, 02:44:23 AM

Activity: 1232 Can you help me with this error, thanks.

cd /mnt/coinm-source/src/leveldb && CC=i686-w64-mingw32.static-gcc CXX=i686-w64-

https://bitcointalk.org/index.php?topic=1080289.0;all 73/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

mingw32.static-g++ TARGET_OS=OS_WINDOWS_CROSSCOMPILE make OPT="-fno-keep-inline-


dllexport -pipe -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && i686-w64-mi
ngw32.static-ranlib /mnt/coinm-source/src/leveldb/libleveldb.a && i686-w64-mingw
32.static-ranlib /mnt/coinm-source/src/leveldb/libmemenv.a
make[1]: Entering directory `/mnt/coinm-source/src/leveldb'
make[1]: *** No rule to make target `libleveldb.a'. Stop.
make[1]: Leaving directory `/mnt/coinm-source/src/leveldb'
make: *** [/mnt/coinm-source/src/leveldb/libleveldb.a] Error 2

There are two shell script files that need to be executable in order for the compilation process to succeed. If the dev
has omitted to make them executable, the above error is seen:

share/genbuild.sh and src/leveldb/build_detect_platform

Make them both executable and try again.

Cheers

Graham

thepcb Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#122
Newbie December 15, 2017, 07:42:09 PM

make[1]: Entering directory '/mnt/coinm-source/src/leveldb'


make[1]: Nothing to be done for 'libleveldb.a'.
Activity: 5
make[1]: *** No rule to make target 'libmemenv.a'. Stop.
make[1]: Leaving directory '/mnt/coinm-source/src/leveldb'
Makefile.Release:454: recipe for target '/mnt/coinm-source/src/leveldb/libleveldb.a' failed
make: *** [/mnt/coinm-source/src/leveldb/libleveldb.a] Error 2

================================================================

root@noodihdus:/mnt/coinm-source/src/leveldb# make libleveldb.a libmemenv.a


make: Nothing to be done for 'libleveldb.a'.
make: *** No rule to make target 'libmemenv.a'. Stop.
root@noodihdus:/mnt/coinm-source/src/leveldb# TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a
make: Nothing to be done for 'libleveldb.a'.
make: *** No rule to make target 'libmemenv.a'. Stop.

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#123
Legendary December 16, 2017, 01:44:10 PM

FWIW: I won't be responding to any more “Can you help me?” PMs.
Activity: 1232
This exercise is public for a reason, so that knowledge is distributed - and from my perspective, so that others
https://bitcointalk.org/index.php?topic=1080289.0;all 74/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

besides me can take turns in passing it on.

Cheers

Graham

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#124
Legendary December 16, 2017, 01:58:37 PM

Quote from: thepcb on December 15, 2017, 07:42:09 PM

Activity: 1232 make[1]: Nothing to be done for 'libleveldb.a'.


make[1]: *** No rule to make target 'libmemenv.a'. Stop.

I'v experienced this on more than one occasion. Sometimes it can be trivially solved by running make libmemenv.a in
src/leveldb and sometimes not. If not then the only recourse is to try and deduce a fix by cross-referencing
against the contents of leveldb and the top-level (qmake/autotools) build file of a close clonecousin.

Cheers

Graham

Blackboltz Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#125
Newbie December 16, 2017, 02:19:43 PM

can you help me with this?


Activity: 7
Code:
/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw62-mt-s-1_57
/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw62-mt-s-1
/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw62-m
/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw62-mt-s-1_57
collect2: error: ld returned 1 exit status
Makefile.Release:452: fallo en las instrucciones para el objetivo 'release/Cheesecoin-qt.exe'
make: *** [release/Cheesecoin-qt.exe] Error 1

altcom wallet: AGJnc773HTTt8iTLAPkFgFvLew4nDoDuZu

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#126
Legendary December 16, 2017, 02:46:56 PM

Quote from: Blackboltz on December 16, 2017, 02:19:43 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 75/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

can you help me with this?


Activity: 1232

/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw62-mt-s-1_57


/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw62-mt-s-1_57
/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw62-mt-s-1_57
/home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw62-mt-s-1_57
collect2: error: ld returned 1 exit status
Makefile.Release:452: fallo en las instrucciones para el objetivo 'release/Cheesecoin-qt.exe'
make: *** [release/Cheesecoin-qt.exe] Error 1

Yeah, read upthread post : https://bitcointalk.org/index.php?topic=1080289.msg21247843#msg21247843 and,


given that the basic nature of the question testifies to your innocence of the content of this thread, I strongly
recommend you read all 7(!) pages.

Cheers

Graham

thepcb Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#127
Newbie December 20, 2017, 10:36:35 AM

make[1]: Entering directory '/mnt/coinm/src/leveldb'


make[1]: 'libleveldb.a' is up to date.
Activity: 5
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/mnt/coinm/src/leveldb'
/bin/sh: 1: i686-w64-mingw32.static-ranlib: not found
Makefile.Release:454: recipe for target '/mnt/coinm/src/leveldb/libleveldb.a' failed
make: *** [/mnt/coinm/src/leveldb/libleveldb.a] Error 127

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#128
Legendary December 20, 2017, 02:24:01 PM

Quote from: thepcb on December 20, 2017, 10:36:35 AM

Activity: 1232 make[1]: Entering directory '/mnt/coinm/src/leveldb'


make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/mnt/coinm/src/leveldb'
/bin/sh: 1: i686-w64-mingw32.static-ranlib: not found
Makefile.Release:454: recipe for target '/mnt/coinm/src/leveldb/libleveldb.a' failed
make: *** [/mnt/coinm/src/leveldb/libleveldb.a] Error 127

https://bitcointalk.org/index.php?topic=1080289.0;all 76/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

thepcb Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#129
Newbie December 20, 2017, 02:32:04 PM

Quote from: gjhiggins on December 20, 2017, 02:24:01 PM


Quote from: thepcb on December 20, 2017, 10:36:35 AM
Activity: 5
make[1]: Entering directory '/mnt/coinm/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/mnt/coinm/src/leveldb'
/bin/sh: 1: i686-w64-mingw32.static-ranlib: not found
Makefile.Release:454: recipe for target '/mnt/coinm/src/leveldb/libleveldb.a' failed
make: *** [/mnt/coinm/src/leveldb/libleveldb.a] Error 127

root@noodihdus:/mnt/coinm# ls ../mxe/usr/bin/
cmake-configure-file i686-w64-mingw32.static-gfortran
config.guess i686-w64-mingw32.static-gprof
i686-w64-mingw32.static-addr2line i686-w64-mingw32.static-icu-config
i686-w64-mingw32.static-ar i686-w64-mingw32.static-ld
i686-w64-mingw32.static-as i686-w64-mingw32.static-ld.bfd
i686-w64-mingw32.static-c++ i686-w64-mingw32.static-libpng-config
i686-w64-mingw32.static-c++filt i686-w64-mingw32.static-nm
i686-w64-mingw32.static-cmake i686-w64-mingw32.static-objcopy
i686-w64-mingw32.static-cpack i686-w64-mingw32.static-objdump
i686-w64-mingw32.static-cpp i686-w64-mingw32.static-pcre2-config
i686-w64-mingw32.static-dlltool i686-w64-mingw32.static-pcre-config
i686-w64-mingw32.static-dllwrap i686-w64-mingw32.static-pg_config
i686-w64-mingw32.static-elfedit i686-w64-mingw32.static-pkg-config
i686-w64-mingw32.static-freetype-config i686-w64-mingw32.static-qmake-qt5
i686-w64-mingw32.static-g++ i686-w64-mingw32.static-ranlib
i686-w64-mingw32.static-gcc i686-w64-mingw32.static-readelf
i686-w64-mingw32.static-gcc-5.4.0 i686-w64-mingw32.static-size
i686-w64-mingw32.static-gcc-ar i686-w64-mingw32.static-strings
i686-w64-mingw32.static-gcc-nm i686-w64-mingw32.static-strip
i686-w64-mingw32.static-gcc-ranlib i686-w64-mingw32.static-windmc
i686-w64-mingw32.static-gcov i686-w64-mingw32.static-windres
i686-w64-mingw32.static-gcov-tool

mr0x50 Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#130
Newbie December 23, 2017, 12:09:00 PM

https://bitcointalk.org/index.php?topic=1080289.0;all 77/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw
Activity: 1 Hi guys,
I have issues with Compile qt5:
Code:
make MXE_TARGETS="i686-w64-mingw32.static" qttools

output:
Code:
[build] qtbase i686-w64-mingw32.static

Failed to build package qtbase for target i686-w64-mingw32.static!


------------------------------------------------------------
make[3]: *** [sub-corelib-make_first] Fehler 2
make[3]: Verzeichnis »/mnt/mxe/tmp-qtbase-i686-w64-mingw32.static/qtbase-everywhere-src-5.10.0/src«
make[2]: *** [sub-src-make_first] Fehler 2
make[2]: Verzeichnis »/mnt/mxe/tmp-qtbase-i686-w64-mingw32.static/qtbase-everywhere-src-5.10.0« wird
make[1]: *** [build-only-qtbase_i686-w64-mingw32.static] Fehler 2
make[1]: Verzeichnis »/mnt/mxe« wird verlassen
real 3m26.142s
user 6m38.980s
sys 0m36.884s
------------------------------------------------------------
[log] /mnt/mxe/log/qtbase_i686-w64-mingw32.static

make: *** [/mnt/mxe/usr/i686-w64-mingw32.static/installed/qtbase] Fehler 1

The log says (see full log at https://pastebin.com/Jj1YY6gX):


Code:
global/qrandom.cpp: In function 'qsizetype qt_random_cpu(void*, qsizetype)':
global/qrandom.cpp:123:1: internal compiler error: in ix86_compute_frame_layout, at config/i386/i386

see full problem at stackoverflow:


https://stackoverflow.com/questions/47951089/building-qttools-with-mxe-causes-error-altcoin-compiling

my compiling machine is an ubuntu 14.04

any ideas?

thepcb Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#131
Newbie December 28, 2017, 12:26:46 PM

How I can fix this problem. Help me please.


command: 'ranlib src/leveldb/libmemenv.a' not helped
Activity: 5

https://bitcointalk.org/index.php?topic=1080289.0;all 78/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Removed plural forms as the target language has less forms.


If this sounds wrong, possibly the target language is not set or recognized.
cd /mnt/coinm/src/leveldb && CC=i686-w64-mingw32.static-gcc CXX=i686-w64-mingw32.static-g++
TARGET_OS=OS_WINDOWS_CROSSCOMPILE make OPT="-pipe -fno-keep-inline-dllexport -
D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a && i686-w64-mingw32.static-ranlib
/mnt/coinm/src/leveldb/libleveldb.a && i686-w64-mingw32.static-ranlib /mnt/coinm/src/leveldb/libmemenv.a
make[1]: Entering directory `/mnt/coinm/src/leveldb'
make[1]: `libleveldb.a' is up to date.
make[1]: `libmemenv.a' is up to date.

...
...

In file included from release/qrc_bitcoin.cpp:9:0:


release/qrc_bitcoin.cpp:126322:44: warning: 'qInitResources_bitcoin__init_variable__' defined but not used [-
Wunused-variable]
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_bitcoin))
^
../mxe/usr/i686-w64-mingw32.static/qt/include/QtCore/qglobal.h:941:21: note: in definition of macro
'Q_CONSTRUCTOR_FUNCTION0'
static const int AFUNC ## __init_variable__ = AFUNC();
^
release/qrc_bitcoin.cpp:126322:1: note: in expansion of macro 'Q_CONSTRUCTOR_FUNCTION'
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_bitcoin))
^
release/qrc_bitcoin.cpp:126322:24: note: in expansion of macro 'QT_MANGLE_NAMESPACE'
Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_bitcoin))

...
...

/mnt/coinm/src/leveldb/libmemenv.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
make: *** [release/coinm-qt.exe] Error 1

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#132
Legendary December 28, 2017, 12:35:43 PM

Quote from: thepcb on December 28, 2017, 12:26:46 PM

Activity: 1232 How I can fix this problem. Help me please.


command: 'ranlib src/leveldb/libmemenv.a' not helped

https://duckduckgo.com/?
q=%22Archive+has+no+index%3B+run+ranlib+to+add+one%22+site%3Abitcointalk.org&atb=v81-6__&ia=web
https://bitcointalk.org/index.php?topic=1080289.0;all 79/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Cheers

Graham

thepcb Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#133
Newbie December 28, 2017, 12:49:42 PM

Quote from: gjhiggins on December 28, 2017, 12:35:43 PM


Quote from: thepcb on December 28, 2017, 12:26:46 PM
Activity: 5
How I can fix this problem. Help me please.
command: 'ranlib src/leveldb/libmemenv.a' not helped

https://duckduckgo.com/?q=%22Archive+has+no+index%3B+run+ranlib+to+add+one%22+site%3Abitcointalk.org&atb=v81-
6__&ia=web

Cheers

Graham

in your link they think that person dont generated libleveldb.a and libmemenv.a files, but I have the files...

/mnt/coinm# ls src/leveldb | grep lib


libleveldb.a
libmemenv.a

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#134
Legendary December 28, 2017, 05:09:17 PM

Quote from: teosanru on December 28, 2017, 03:44:28 PM

Activity: 1232 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_thread-mgw49-mt-s-1_60 ...


make: *** [release/numus-qt.exe] Error 1

------------------------------------------------------------------------------------------
Could you tell me how to solve this problem?

Not specifically, I'm afraid --- because the problem is local to your setup. Fairly obviously, it's a problem with the
path to the MXE boost libs. Try reinstalling/recompiling the MXE suite - I have no idea whether that will help but
it's a starting poiint.

https://bitcointalk.org/index.php?topic=1080289.0;all 80/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Cheers

Graham

gjhiggins Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
#135
Legendary December 28, 2017, 05:27:53 PM

Quote from: thepcb on December 28, 2017, 12:49:42 PM


Quote from: gjhiggins on December 28, 2017, 12:35:43 PM
Activity: 1232
Quote from: thepcb on December 28, 2017, 12:26:46 PM

How I can fix this problem. Help me please.


command: 'ranlib src/leveldb/libmemenv.a' not helped

https://duckduckgo.com/?q=%22Archive+has+no+index%3B+run+ranlib+to+add+one%22+site%3Abitcointalk.org&atb=v81-
6__&ia=web

in your link they think that person dont generated libleveldb.a and libmemenv.a files, but I have the files...

/mnt/coinm# ls src/leveldb | grep lib


libleveldb.a
libmemenv.a

You might need to summon a little more persistence, then you might progress a little faster.

For people arriving later with the same problem ... from the list of search results I gave:

If you haven't got the RANLIB binding as described here:

https://bitcointalk.org/index.php?topic=912667.msg10037005#msg10037005

then try with that.

Otherwise:

https://bitcointalk.org/index.php?topic=912667.msg10037005#msg10037005

Other than that, you're on your own.

Cheers

Graham

Pages: 1 2 3 4 5 6 7 [All] print

https://bitcointalk.org/index.php?topic=1080289.0;all 81/82
1/3/2018 [HOWTO] compile altcoin for windows on linux using mxe and mingw

Bitcoin Forum > Alternate cryptocurrencies > Altcoin Discussion (Moderator: mprep) > [HOWTO] compile altcoin for « previous topic next
windows on linux using mxe and mingw topic »

Jump to: => Altcoin Discussion go

Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines

https://bitcointalk.org/index.php?topic=1080289.0;all 82/82

You might also like