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 login or or register register..
News: Latest stable version of Bitcoin Core: 0.15.1 [Torrent]. [Torrent]. HOME
HELP HE LP
SEA SE A RCH RCH
DONA DO NATE TE
LOGI LO GIN N
Search
REGI RE GIST STER ER
Bitcoin Forum > Alternate cryptocurrencies > Altcoin Discussion (Moderator: mprep mprep)) > [HOWTO] compile altcoin for windows on linux
using mxe and mingw
« previous topic next topic »
print
Pages: Pages: 1 2 3 4 5 6 7 [All] Author
Topic: pic: [HOWTO] [HOWTO] compile altcoin altcoin for windows on linux using mxe and mingw mingw (Read 23299 times)
main.h
[HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
June 04, 2015, 02:45:26 PM
Activity: 6
Hello! In this tutorial I show you how to cross compile altcoin-qt using mxe and mingw. What is mxe 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. Firs Firstly tly we need 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.
#1
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw
Clone mxe github repo (if ( if you just download zip archive from guthub, mxe may not work ): Code: cd /mnt git clone https://github.com/mxe/mx https://github.com/mxe/mxe.git e.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 min iupnpc so we need compile them manually. Compiling berkley db: Download and unpack berkeley db: Code: cd /mnt wget http://download.oracle http://download.oracle.com/berkeley-db/db-5.3. .com/berkeley-db/db-5.3.28.tar.gz 28.tar.gz tar zxvf db-5.3.28.tar.gz
Make bash script for compilation: Code:
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw
Clone mxe github repo (if ( if you just download zip archive from guthub, mxe may not work ): Code: cd /mnt git clone https://github.com/mxe/mx https://github.com/mxe/mxe.git e.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 min iupnpc so we need compile them manually. Compiling berkley db: Download and unpack berkeley db: Code: cd /mnt wget http://download.oracle http://download.oracle.com/berkeley-db/db-5.3. .com/berkeley-db/db-5.3.28.tar.gz 28.tar.gz tar zxvf db-5.3.28.tar.gz
Make bash script for compilation: Code:
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 "s/WinIoCtl.h/winioctl.h/g" /g" src/dbinc/win_db.h mkdir build_mxe cd build_mxe CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gcc CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gc c \ CXX=$MXE_PATH/usr/bin/i686-w64-mingw32.static-g CXX=$MXE_PATH/usr/bin/i 686-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.f http://miniupnp.free.fr/files/miniupnpc-1.6.20 r/files/miniupnpc-1.6.20120509.tar.gz 120509.tar.gz tar zxvf miniupnpc-1.6.20120509 miniupnpc-1.6.20120509.tar.gz .tar.gz
Make bash script for compilation: Code: cd /mnt/miniupnpc-1.6.20120 /mnt/miniupnpc-1.6.20120509 509 touch compile-m.sh chmod ugo+x compile-m.sh
Content of compile-m.sh: Code:
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 CC=$MXE_PATH/usr/bin/i686-w64-mingw32.static-gc c \ AR=$MXE_PATH/usr/bin/i686-w64-mingw32.static-ar AR=$MXE_PATH/usr/bin/i6 86-w64-mingw32.static-ar \ CFLAGS="-DSTATICLIB -I$MXE_PATH/usr/i686-w64-mingw32.static/include" -I$MXE_PATH/usr/i686-w64-mingw32.static/include" \ LDFLAGS="-L$MXE_PATH/usr/i686-w64-mingw32.stati LDFLAGS="-L$MXE_PATH/us r/i686-w64-mingw32.static/lib" c/lib" \ make libminiupnpc.a mkdir $MXE_PATH/usr/i686-w64-mi $MXE_PATH/usr/i686-w64-mingw32.static/include/min ngw32.static/include/miniupnpc iupnpc cp *.h $MXE_PATH/usr/i686-w64-m $MXE_PATH/usr/i686-w64-mingw32.static/include/mi ingw32.static/include/miniupnpc niupnpc cp libminiupnpc.a $MXE_PATH/usr/i686-w64-mingw32.static/lib $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:$P PATH=/mnt/mxe/usr/bin:$PATH ATH
Download and unpack blackcoin sources: Code: cd /mnt git clone https://github.com/rat4/b https://github.com/rat4/blackcoin.git lackcoin.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 \ i686-w64-mingw32.static-qmake-qt5 BOOST_LIB_SUFFIX=-mt \
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
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
#2
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
Member
July 21, 2015, 10:41:17 AM
#3
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-
BTC Address : 1ASUDTboPQsG9t2DE3Y29jnDSEgwybFc32
john75077 Newbie
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw 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 [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
#4
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
Hero Member
August 04, 2015, 07:07:48 PM
#5
Quote from: john75077 on August 04, 2015, 01:02:29 PM Activity: 742 ★YoBit.Net ★ 200+
Coins Exchange & Dice
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, and I didnt see a Makefile.Release...
Code: [build] qtxlsxwriter i686-w64-mingw32.static [done] qtxlsxwriter i686-w64-mingw32.static 1562 [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
YoBit.net john75077 Newbie
Activity: 26
✔ OVER 350 COINS ▮▮▮▮▮
✔ MULTICOIN DICE
✔
FREE COINS EVERY 24 HRS!
Play DICE! Win 1-5 btc just for 5 mins!
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw August 04, 2015, 11:06:25 PM
#6
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 B if you leave your address ill send you something for the help.
c:\senile.com (out of memory)
sdmathis
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw August 06, 2015, 04:03:48 PM
#7
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Hero Member
Activity: 546
Great tutorial. It works perfectly. 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, other, or can I install both? Will a ny problems occur if both are installed? Thanks.
AKA The Rubber Monkey
BITMIXER.IO High Volume Bitcoin MIXER john75077 Newbie
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw August 13, 2015, 04:02:48 PM
#8
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
Hero Member
August 13, 2015, 09:24:17 PM
#9
Quote from: john75077 on August 13, 2015, 04:02:48 PM Activity: 742 ★YoBit.Net ★ 200+
Coins Exchange & Dice
How do I use this to make the daemon for Ubuntu?
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, 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.
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw ✔ FAST EXCHANGE
Yo Y oBit Bit.net .net
✔ OVER 350 COINS ▮▮▮▮▮
✔ MULTICOIN DICE
✔
FREE COINS EVERY 24 HRS!
Play DICE! Win 1-5 btc just for 5 mins!
bitcreditscc
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
August 16, 2015, 07:53:15 AM
#10
How to mod this to compile Bitcoin? Activity: 602
*Image Removed*
CryptoVote
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Full Member
August 28, 2015, 02:39:56 AM
#11
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 get
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
Sr. Member
August 28, 2015, 02:53:39 AM
Hi, Activity: 256
#12
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; ../src/BitcoinDarkd-$(OS).exe; \ cd ../src; $(MAKE) clean -f Makefile.win OS=$(OS); 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: RPHWc5CwP9YMMbvXQ4oXz5rQHb RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc 3pKkhaxc 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
Sr. Member
September 02, 2015, 02:42:38 PM
#13
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: RPHWc5CwP9YMMbvXQ4oXz5rQHb RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc 3pKkhaxc 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
Full Member
September 08, 2015, 06:44:10 AM
Activity: 220
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
#14
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
Sr. Member
September 08, 2015, 02:11:21 PM
#15
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: RPHWc5CwP9YMMbvXQ4oXz5rQHb RPHWc5CwP9YMMbvXQ4oXz5rQHb3pKkhaxc 3pKkhaxc 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
Sr. Member
September 27, 2015, 06:01:26 AM
#16
Code: libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o util_sig 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
Activity: 476
I encounter this problem. anyone know how to solve?
<
Blockchain
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
%%%%%%%%%%( %%%%%%%%%%%%% %%%%%%%%%%%%%% .%%%% %%%%%%%% %%%%%%% /%%%%%%
%%
. OPEN MONEY
Whitepaper
{ ICO }
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
Jr. Member
September 27, 2015, 06:50:45 AM
#17
Quote from: temple on September 27, 2015, 06:01:26 AM Activity: 32
Code: libtool: link: /mnt/mxe/usr/bin/i686-w64-mingw32.static-gcc -O3 -o db_archive db_archive.o util_ 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
Sr. Member
September 27, 2015, 04:32:29 PM
Quote from: redfish64 on September 27, 2015, 06:50:45 AM Activity: 476
Quote from: temple on September 27, 2015, 06:01:26 AM Code:
#18
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
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
%%%%%%%%%%( %%%%%%%%%%%%%
%%
%%%%%%%%%%%%%% .%%%% %%%%%%%% %%%%%%% /%%%%%%
. OPEN MONEY
Whitepaper
main.h
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
October 09, 2015, 09:56:37 AM
Quote from: CryptoVote on August 28, 2015, 02:39:56 AM
{ ICO } #19
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Activity: 6
The apt-get install is duplicated and it is missing 7-Zip.
Fixed. Thank you
altcoinhosting
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
October 09, 2015, 10:01:49 AM
Activity: 812
Thanks, this tutorial looks really well-documented. Because i think it's really intresting to compile your own wallets, i'm going to replicate this scenario this weekend to see if everything works
░█████ ▓██████
████████████████▓ ██████████████████
███████
██████████████████
███████
██████████████████
███████
██████████████████
██████████████████ ██████████████████
███████
██████████████████
███████
██████████████████
LedgerWallet
▒▓▓▓ ▓█▓▓▓▓▓▓▒▓ ░▓█▓▓▓▓▓▓▓▓▓▓▓▓▒▓ ░▓█▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▒░▒▒ ░█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓ ░█▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▒▓▓▓▒ ░█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▒▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓███▒ ▒▒▒▒▒▒▒▒▒▒▓▓▓███▓▓▒▒▒▒▒▒▓▓▓▓▓███▓ ░▒▒▒▒▒▒▒▒▒▒▒▒▒█▓▓█▓▓▒▒▒▒▒▒▓▓▓▓██▓ ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▓░ ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒███▓▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█▓▓█▓▒ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▓█▓▓▓▒░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓████▒
hendo420
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Sr. Member
October 27, 2015, 02:41:02 PM
Activity: 406
#20
#21
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.
42 The Meaning of Life and CryptoCurrency
htt :
www.coin i .com Hendo420
blackchopper
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Sr. Member
November 04, 2015, 04:58:31 AM
#22
Quote from: Fuzzbawls on August 04, 2015, 07:07:48 PM Activity: 306
Quote from: john75077 on August 04, 2015, 01:02:29 PM 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,
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
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 ref collect2: error: ld returned 1 exit status
#23
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
Newbie
December 26, 2015, 07:25:40 AM
Quote from: redfish64 on September 27, 2015, 06:50:45 AM Activity: 1
Quote from: temple on 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 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
#24
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
Sr. Member
December 26, 2015, 12:00:41 PM
#25
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 luke9511
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
January 08, 2016, 06:56:55 PM
Activity: 16
#26
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 compileblk.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?
iGotSpots
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
January 08, 2016, 07:16:58 PM
#27
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:
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 na med incorrectly. Check all spelling matches ██████████████ ██████████████████████ ████████████████████████████ ████████████████████████████████ ████████████████████████████████████ ██████████████████████████████████████ ██████████████████████████████████████████ █████ ██ ███ ██ ██ ████████ ██ ████████ ██ ██ ███ ██ ███ █ █ ████ ██ ███ ██ █ █ ██ █ ███ ██ ██ ██ ████ ██ ██ ███████ ████ ██████ ██ █ █ ███ █ █ ██ █ ███ ██ ██ ███████ ███ ██ █ █ █ ██ ████ ███████ ███████ ████ █ ███ ██ ██ ██████ ████ ██ ███ ██ █████ ███████ ███ █ ███ █ █ ██ █ ███ ██ ██ ██ ███ ██ █ ██ ██ ███ ██ █████ ███████ ██ ███ ██ █ ██ ██████ ███ ██ ████ ██ ██ ██ ███ ██ █████ ████████████████████████████████████████████████ ████████████████████████████████████████████████ ████████████████████████████████████████████████ ███████████████ ██████████ ████████████ ██ █ ████████ ████████████ █ ████████████ █ █ ████████ █ ████ ████████ ██████████ ████████ ████ ███████ █ ███ █ ███ ███ ████████ █████████ █ █████ █████████ █ ████ ███ █ ██████ █████ █ ███ █████████ ███ █ ████████████ █ ██ ████ ████ ██████████ █ █ ████████████████████████████████████████████ ████████████████████████████████████████████ ██████████████████████████████████████████ █████████████████████████████████████ ████████████████████████████████████ ████████████████████████████████ ████████████████████████████ ██████████████████████ ██████████████
.HealthyWormCoin .
|
Twitter Explorer
|
YouTube Worm Shop
The worms need your help to grow!
luke9511
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
January 08, 2016, 07:25:40 PM
#28
Quote from: iGotSpots on January 08, 2016, 07:16:58 PM Activity: 16
Quote from: luke9511 on 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
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
Legendary
January 08, 2016, 09:05:08 PM
Quote from: hendo420 on October 27, 2015, 02:41:02 PM
#29
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Activity: 896 ★YoBit.Net ★ 350+
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
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
YoBit.net
✔ OVER 350 COINS ▮▮▮▮▮
✔ MULTICOIN DICE
✔
FREE COINS EVERY 24 HRS!
Play DICE! Win 1-5 btc just for 5 mins!
luke9511
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
January 13, 2016, 06:57:47 PM
Activity: 16
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
Nthused
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
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
YoBit.net ★YoBit.Net ★ 350+
Coins Exchange & Dice
#30
✔ OVER 350 COINS ▮▮▮▮▮
✔ MULTICOIN DICE
✔
FREE COINS EVERY 24 HRS!
Play DICE! Win 1-5 btc just for 5 mins!
#31
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
Full Member
March 17, 2016, 09:31:13 AM
Activity: 182
#32
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. 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
Newbie
March 23, 2016, 04:54:35 AM
#33
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
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!
#34
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
Member
July 11, 2016, 01:25:53 PM
#35
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
Newbie
July 31, 2016, 01:18:51 PM
#36
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
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)
#37
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: The snake which cannot cast its skin has to die
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 ./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.
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
BaaS
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
D3m0nKinGx
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
September 22, 2016, 10:46:57 AM
Activity: 672
Please Read OP Github Full Node stratisplatform.com
#38
./build/txdb-leveldb.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status 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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
BaaS
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
nemgun
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
October 19, 2016, 03:22:21 PM
Please Read OP Github Full Node stratisplatform.com
#39
Quote from: DanyBv on July 31, 2016, 01:18:51 PM Activity: 518
Quote from: luke9511 on 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
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...
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. ▄ ▄██ ▐██▄ ▄████▄ █████▄ ▄███████ ████████▄ ▄██████████ ▐██████████▄ ▄█████████████ █████████████▄▀██████████████▄ ████████████████▄▀█████████████ ▐█████████████████▄▀████████████ ████████████████████▄▀██████████▌ ███████████████████████▄▀█████████▄ ▄█████████████████████████▄▀████████ ████████████████████████████▄▀██████▌ ▐██████████████████████████████▄ ▀██▀▀ ▀████████████████████████████████ ▀▀▀███████████████████████▀ ▀▀███████████████▀ ▀▀█████▀▀
NVO
════════ Cr oss-platf or m Modular Decentr alized Exchange
════════
Secure ═ Private ═ Assets-to-Assets ═ Full Autonomy ═ Multi-Assets Storage ═ Integrated Platform
dzimbeck
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 29, 2016, 01:11:54 AM
Crowd Sale ══ closed══ #40
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
Legendary
December 29, 2016, 01:46:47 AM
Quote from: dzimbeck on December 29, 2016, 01:11:54 AM Activity: 1428
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.
#41
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 Lin ux Qt Wallet Automatic Compiler, it works for pretty mu ch 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
YoBit.net
✔ OVER 350 COINS ▮▮▮▮▮
✔ MULTICOIN DICE
✔
FREE COINS EVERY 24 HRS!
Play DICE! Win 1-5 btc just for 5 mins!
dzimbeck
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 29, 2016, 05:13:17 AM
Quote from: Nthused on December 29, 2016, 01:46:47 AM Activity: 1330
Quote from: dzimbeck on December 29, 2016, 01:11:54 AM 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
#42
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
Hero Member
December 29, 2016, 05:16:01 AM
#43
Quote from: dzimbeck on December 29, 2016, 01:11:54 AM Activity: 672
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 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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
dzimbeck
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 29, 2016, 08:54:52 AM
Please Read OP Github Full Node stratisplatform.com
#44
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 Activity: 1330
Quote from: dzimbeck on December 29, 2016, 01:11:54 AM 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
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-w64mingw32.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
Hero Member
December 29, 2016, 09:29:18 AM
Code: Activity: 672
TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~/mxe/usr/bin/i686-w64-mingw32.static-gcc
do this first before compiling
report the bugs here > https://github.com/mxe/mxe/issues
#45
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
dzimbeck
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 29, 2016, 09:33:37 AM
Please Read OP Github Full Node stratisplatform.com
#46
Quote from: D3m0nKinGx on December 29, 2016, 09:29:18 AM Activity: 1330
Code: TARGET_OS=NATIVE_WINDOWS make libleveldb.a libmemenv.a CC=~/mxe/usr/bin/i686-w64-mingw32.static-
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
Hero Member
December 29, 2016, 09:39:30 AM
#47
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
dzimbeck
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 29, 2016, 10:31:54 AM
Quote from: D3m0nKinGx on December 29, 2016, 09:39:30 AM Activity: 1330
Please Read OP Github Full Node stratisplatform.com
#48
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
Hero Member
December 29, 2016, 10:40:48 AM
Quote from: dzimbeck on December 29, 2016, 10:31:54 AM Activity: 672
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
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= --toolset=gcc link=static install
▬◇
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
◇▬
#49
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Whitepaper Exchange
▬◇▬◆ ▬◇▬◇▬◆ S T R A T I S
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS
◆▬◇▬ ◆▬◇▬◇▬
dzimbeck
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 29, 2016, 11:48:09 AM
Please Read OP Github Full Node
#50
Quote from: D3m0nKinGx on December 29, 2016, 10:40:48 AM Activity: 1330
Quote from: dzimbeck on December 29, 2016, 10:31:54 AM 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= --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
Legendary
December 29, 2016, 02:16:07 PM
#51
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 Activity: 1232
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 habitually include.)
Oh, one last thing - all of the above assumes a VM with build-essentials, etc already apt-installed. HTH,
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
Legendary
December 29, 2016, 07:53:31 PM
#52
Quote from: gjhiggins on December 29, 2016, 02:16:07 PM Activity: 1330
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.
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
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
Member
January 04, 2017, 09:00:41 PM
#53
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
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
#54
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 easy! ●●
Smart Process BOT helps Startups & SMEs to Organize
Skirmant
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Member
January 14, 2017, 12:22:12 AM
│
LINKEDIN] [BITCOINTALK YOUTUBE] [WHITEPAPER
#55
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 paradise
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,
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.
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
Sr. Member
January 14, 2017, 04:21:55 PM
#56
hi guys, great guide ! Activity: 257
im trying to compile a coin that contains secp256k1 using this guide i get this error Quote
wagerr.com slack.wagerr.com
i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -D_FORTIFY_SOURCE=2 -O2 -std=gnu++11 -frtti -fdiagnosticsshow-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -Wnounused-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 -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-w64mingw32.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/win32g++ -o build/key.o src/key.cpp src/key.cpp:11:23: fatal error: secp256k1.h: No such file or directory #include ^ 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 ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
▄ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ▄ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
wager r ICO COMPLETED
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
BETTING BELONGS
wagerr ON THE BLOCKCHAIN
Edgemaster
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
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
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
#57
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Quote
wagerr.com slack.wagerr.com
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 -Wstackprotector -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 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-w64mingw32.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/us r/i686-w6 4-mingw32 .static/qt5 /mkspecs/wi n32-g++ -o build/key.o src/key.cpp src/key.cpp:11:23: fatal error: secp256k1.h: No such file or directory #include ^ 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 ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
▄ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ▄ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
wager r ICO COMPLETED
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
BETTING BELONGS
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
wagerr ON THE BLOCKCHAIN
Edgemaster
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Sr. Member
January 14, 2017, 06:05:31 PM
#58
hi guys, while in the final steps of compiling i get this Activity: 257
wagerr.com slack.wagerr.com
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 /mnt/mxe/usr/i686-w64-mingw32.static/lib/libboost_program_options-mt.a(cmdline.o): duplicate section `.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
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw as i erent 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_ 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_inje 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_detail19erro 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[__ZTSN5boost16e 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[__ZTSN5boost6 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_ 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
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw m nt mxe u sr i 68 6-w6 4-m in gw3 2. stat ic i i o os t_ t r ea _ wi n3 2-m t. a t r ea . o : up i cat e se cti on `.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_10b 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[__ZTVN5boost16e 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[__ZTSN5boost16 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[__ZTVN5boost16 has different size collect2: error: ld returned 1 exit status
any clues ?
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
▄ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ▄ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
wager r ICO COMPLETED
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
BETTING BELONGS
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
wagerr ON THE BLOCKCHAIN
IngerDev
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Member
January 20, 2017, 08:43:31 PM
#59
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'
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
Sr. Member
February 27, 2017, 11:20:57 AM
#60
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
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:
#61
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.
The snake which cannot cast its skin has to die
a@a-VirtualBox:/mnt/blackcoin$ echo $PATH /mnt/mxe/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin :/bin
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
nemgun
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
March 21, 2017, 11:43:51 AM
Please Read OP Github Full Node stratisplatform.com
#62
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
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. ▄ ▄██ ▐██▄ ▄████▄ █████▄ ▄███████ ████████▄ ▄██████████ ▐██████████▄ ▄█████████████ █████████████▄▀██████████████▄ ████████████████▄▀█████████████ ▐█████████████████▄▀████████████ ████████████████████▄▀██████████▌ ███████████████████████▄▀█████████▄ ▄█████████████████████████▄▀████████ ████████████████████████████▄▀██████▌ ▐██████████████████████████████▄ ▀██▀▀ ▀████████████████████████████████ ▀▀▀███████████████████████▀ ▀▀███████████████▀ ▀▀█████▀▀
NVO
════════ Cr oss-platf or m Modular Decentr alized Exchange
════════
Secure ═ Private ═ Assets-to-Assets ═ Full Autonomy ═ Multi-Assets Storage ═ Integrated Platform
MickGhee
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
April 05, 2017, 12:56:56 AM
Crowd Sale ══ closed══ #63
I'm getting this Activity: 994 FOUNDER OF BUBBLE
Code: 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-w64mingw32.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
Member
April 14, 2017, 06:39:26 AM
when i run Activity: 76
Code: ./compile-db.sh
i m getting this error
#64
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
Legendary
June 06, 2017, 06:30:28 PM
#65
Quote from: nomadsena on April 14, 2017, 06:39:26 AM Activity: 994 FOUNDER OF BUBBLE
when i run
Code: ./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
Legendary
July 08, 2017, 03:33:07 PM
#66
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw 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. 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 --ena
gives error during configure Code: ./configure: ./configure: ./configure: ./configure: ./configure:
line line line line line
12234: 12263: 12291: 12316: 12422:
SECP_64BIT_ASM_CHECK: command not found SECP_INT128_CHECK: command not found SECP_INT128_CHECK: command not found SECP_GMP_CHECK: command not found SECP_OPENSSL_CHECK: command not found
also fails on qt build
any assistance would be welcomed
⛄
go to
cryptobetfair.com ask for a voucher
★ BUMBA C O I N
████ █████ ███ ████ ████ ██ ████ ██ ████ ████ ██ ███ █ ██ ████ ███ █ ██ ███ ███ █ ███ ██ █ ███ ███ ████ █ ██ ██ █ ██ █ ███ █ █ ██ █ ██ █ █ ███ █ ███ █ █ ███ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ ██ █ ██ █ ███ █ █ ██ █ ██ ██ █ ███ ████ ███ █ ██ ███ █ ██ ███ ███ █ ███ ████ ██ ███ █ ██ ████ ████ ██ ████ ██ ████
crypto services
MAC wallets, NODES,
bumbacoin
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
July 11, 2017, 07:07:21 AM
#67
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.
go to
⛄
cryptobetfair.com ask for a voucher
★ BUMBA C O I N
████ █████ ███ ████ ████ ██ ████ ██ ████ ████ ██ ███ █ ██ ████ ███ █ ██ ███ ███ █ ███ ██ █ ███ ███ ████ █ ██ ██ █ ██ █ ███ █ █ ██ █ ██ █ █ ███ █ ███ █ █ ███ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ ██ █ ██ █ ███ █ █ ██ █ ██ ██ █ ███ ████ ███ █ ██ ███ █ ██ ███ ███ █ ███ ████ ██ ███ █ ██ ████ ████ ██ ████ ██ ████
crypto services
MAC wallets, NODES,
gjhiggins
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
July 11, 2017, 07:26:46 AM
#68
Quote from: bumbacoin on July 08, 2017, 03:33:07 PM Activity: 1232
gives error during configure
Code: ./configure: ./configure: ./configure: ./configure: ./configure:
line line line line line
12234: 12263: 12291: 12316: 12422:
SECP_64BIT_ASM_CHECK: command not found SECP_INT128_CHECK: command not found SECP_INT128_CHECK: command not found SECP_GMP_CHECK: command not found 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
Member
August 05, 2017, 08:01:20 PM
Activity: 113
#69
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. 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
Newbie
August 06, 2017, 01:50:33 AM
#70
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw
Activity: 16
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 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
Newbie
August 15, 2017, 10:58:39 AM
#71
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
Legendary
August 15, 2017, 07:50:28 PM
Activity: 1232
./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: make: Makefile.Release: No such file or directory make: *** No rule to make target 'Makefile.Release'. Stop.
#72
command not found
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
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
#73
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
Hero Member
August 26, 2017, 01:02:49 PM
#74
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: /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: collect2: error: ld returned 1 exit status
The snake which cannot cast its skin has to die
cannot cannot cannot cannot cannot
find -lqrencode find -lboost_system-mgw46-mt-sd-1_53 find -lboost_filesystem-mgw46-mt-sd-1_53 find -lboost_program_options-mgw46-mt-sd-1_53 find -lboost_chrono-mgw46-mt-sd-1_53
any solutions ??
sudo apt-get install libqrencode-dev Whitepaper Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
August 27, 2017, 10:58:55 AM
Please Read OP Github Full Node stratisplatform.com
Quote from: D3m0nKinGx on August 26, 2017, 01:02:49 PM Activity: 27
Quote from: noreplybatam on August 26, 2017, 11:35:53 AM got this error /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot collect2: error: ld returned 1 exit status any solutions ??
sudo apt-get install libqrencode-dev
find -lqrencode find -lboost_system-mgw46-mt-sd-1_53 find -lboost_filesystem-mgw46-mt-sd-1_53 find -lboost_program_options-mgw46-mt-sd-1_53 find -lboost_chrono-mgw46-mt-sd-1_53
#75
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
Legendary
August 27, 2017, 11:39:32 AM
#76
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
Newbie
August 27, 2017, 05:06:37 PM
#77
Quote from: gjhiggins on August 27, 2017, 11:39:32 AM Activity: 27
Quote from: noreplybatam on August 27, 2017, 10:58:55 AM /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 August 27, 2017, 05:22:50 PM
#78
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
Newbie
August 28, 2017, 04:36:39 AM
#79
Quote from: gjhiggins on August 27, 2017, 05:22:50 PM Activity: 27
Quote from: noreplybatam on August 27, 2017, 05:06:37 PM 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
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
#80
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
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 for instructions. make: *** [build/addressbookpage.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) *** [build/coincontroltreewidget.o] Error 4Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/sendcoinsdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/coincontroldialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report,
#81
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw
with preprocessed source if appropriate. See for instructions. make: *** [build/editaddressdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/signverifymessagedialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/optionsdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/aboutdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/txdb-bdb.o] Error 4
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
what i missed ?? please help me
D3m0nKinGx
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
August 28, 2017, 03:20:13 PM
Quote from: noreplybatam on August 28, 2017, 03:14:39 PM Activity: 672
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 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
#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 for instructions. make: *** [build/addressbookpage.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) *** [build/coincontroltreewidget.o] Error 4Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/sendcoinsdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/coincontroldialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/editaddressdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/signverifymessagedialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/optionsdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/aboutdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/txdb-bdb.o] Error 4
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
BaaS
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
August 28, 2017, 03:34:41 PM
Please Read OP Github Full Node stratisplatform.com
Quote from: D3m0nKinGx on August 28, 2017, 03:20:13 PM Activity: 27
Quote from: noreplybatam on August 28, 2017, 03:14:39 PM 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 for instructions. make: *** [build/addressbookpage.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) *** [build/coincontroltreewidget.o] Error 4Please submit a full bug report, with preprocessed source if appropriate. See for instructions.
#83
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: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/coincontroldialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/editaddressdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/signverifymessagedialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/optionsdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/aboutdialog.o] Error 4 i686-w64-mingw32.static-g++: internal compiler error: Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/txdb-bdb.o] Error 4
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
Segmentation fault (program cc1plus)
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
Hero Member
August 28, 2017, 03:38:26 PM
#84
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 Activity: 672
Whitepaper Exchange
▬◇
STRATIS
███
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS
◇▬
Please Read OP Github Full Node
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
Newbie
August 28, 2017, 04:15:02 PM
#85
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
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 for instructions. See for instructions. make: *** [build/signverifymessagedialog.o] Error 1 make: *** [build/optionsdialog.o] Error 1 make: *** [build/editaddressdialog.o] Error 1 0x86ccff0 crash_signal /mnt/mxe/tmp-gcc-i686-w64-mingw32.static/gcc-5.2.0/gcc/toplev.c:383 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. In file included from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/limits.hpp:19:0, from /mnt/mxe/usr/i686-w64-mingw32.static/include/boost/date_time/posix_time/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
#86
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
Newbie
August 28, 2017, 04:49:08 PM
#87
Code: Activity: 27
i686-w64-mingw32.static-g++ -c -DQT_GUI -DQT_NO_PRINTER -std=gnu++11 -march=i686 -Isrc -Isrc/json i686-w64-mingw32.static-g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [build/txdb-bdb.o] Error 4
very frustate compiling this
D3m0nKinGx
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
August 28, 2017, 05:03:59 PM
#88
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
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:
Please Read OP Github Full Node stratisplatform.com
#89
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
Hero Member
August 28, 2017, 05:13:38 PM
#90
Quote from: noreplybatam on August 28, 2017, 05:07:54 PM Activity: 672
Quote from: D3m0nKinGx on August 28, 2017, 05:03:59 PM 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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
D3m0nKinGx
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
August 28, 2017, 05:19:30 PM
also make a file m32test.c with the code:
Please Read OP Github Full Node stratisplatform.com
#91
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Activity: 672
The snake which cannot cast its skin has to die
Code: // Minimal C example #include 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 this will create an executable a.exe if your compiler is working Whitepaper Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
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 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
Please Read OP Github Full Node stratisplatform.com
#92
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
Hero Member
August 28, 2017, 05:32:53 PM
#93
what's the coin you are building? Activity: 672
The snake which cannot cast its skin has to die Whitepaper Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS
███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
August 28, 2017, 05:35:19 PM
Please Read OP Github Full Node stratisplatform.com
#94
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
Hero Member
August 28, 2017, 05:35:57 PM
Quote from: noreplybatam on August 28, 2017, 05:35:19 PM Activity: 672
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
#95
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
BaaS
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
August 28, 2017, 05:42:01 PM
Please Read OP Github Full Node stratisplatform.com
#96
Quote from: D3m0nKinGx on August 28, 2017, 05:35:57 PM Activity: 27
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
D3m0nKinGx
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
August 28, 2017, 05:47:38 PM
Quote from: noreplybatam on August 28, 2017, 05:42:01 PM Activity: 672
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 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
#97
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 Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS
███ ███ ███ ███ ███ ███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
noreplybatam
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
August 28, 2017, 05:49:54 PM
Please Read OP Github Full Node stratisplatform.com
#98
Quote from: D3m0nKinGx on August 28, 2017, 05:47:38 PM Activity: 27
Quote from: noreplybatam on 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 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
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.
#99
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 --
gives error during configure
Code: ./configure: ./configure: ./configure: ./configure: ./configure:
line line line line line
12234: 12263: 12291: 12316: 12422:
SECP_64BIT_ASM_CHECK: command not found SECP_INT128_CHECK: command not found SECP_INT128_CHECK: command not found SECP_GMP_CHECK: command not found 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
cryptobetfair.com
BUMBA
████ █████ ███ ████ ████ ██ ████ ██ ████ ████ ██ ███ █ ██ ████ ███ █ ██ ███ ███ █ ███ ██ █ ███ ███ ████ █ ██ ██ █ ██ █ ███ █ █ ██ █ ██ █ █ ███ █ ███ █ █ ███ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █
crypto services
MAC wallets,
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
Legendary
August 30, 2017, 08:12:20 AM
#100
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
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$
#101
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
Member
September 08, 2017, 11:37:31 AM
Activity: 70 http://eddiecoin.com
#102
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$
I have same error DONATIONS FOR EDDIE DEVELOPMENT EL6pxpN7Y7 F5RJoTsu2ThiPhf ivjXTiZZ1 THANK YOU
kurdcoin
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
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
#103
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 --
gives error during configure
Code: ./configure: ./configure: ./configure: ./configure: ./configure:
line line line line line
12234: 12263: 12291: 12316: 12422:
SECP_64BIT_ASM_CHECK: command not found SECP_INT128_CHECK: command not found SECP_INT128_CHECK: command not found SECP_GMP_CHECK: command not found 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
Legendary
September 09, 2017, 09:33:01 AM
#104
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.
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 ?
⛄
go to
cryptobetfair.com ask for a voucher
★ BUMBA C O I N
████ █████ ███ ████ ████ ██ ████ ██ ████ ████ ██ ███ █ ██ ████ ███ █ ██ ███ ███ █ ███ ██ █ ███ ███ ████ █ ██ ██ █ ██ █ ███ █ █ ██ █ ██ █ █ ███ █ ███ █ █ ███ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ ██ █ ██ █ ███ █ █ ██ █ ██ ██ █ ███ ████ ███ █ ██ ███ █ ██ ███ ███ █ ███ ████ ██ ███ █ ██ ████ ████ ██ ████ ██ ████
crypto services
MAC wallets, NODES,
MNCoin
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
September 13, 2017, 08:33:45 PM
#105
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
Legendary
September 20, 2017, 03:32:28 AM
#106
this is no good anymore Activity: 994 FOUNDER OF BUBBLE
you need to follow this guide 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
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
#107
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 Newbie
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw October 12, 2017, 01:23:36 PM
#108
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 B 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
Member
October 17, 2017, 04:09:55 PM
Quote from: bumbacoin on September 09, 2017, 09:33:01 AM Activity: 60
Quote from: kurdcoin on September 08, 2017, 05:22:38 PM 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
#109
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
Legendary
October 21, 2017, 04:26:44 PM
#110
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
⛄
go to
cryptobetfair.com ask for a voucher
★ BUMBA C O I N
████ █████ ███ ████ ████ ██ ████ ██ ████ ████ ██ ███ █ ██ ████ ███ █ ██ ███ ███ █ ███ ██ █ ███ ███ ████ █ ██ ██ █ ██ █ ███ █ █ ██ █ ██ █ █ ███ █ ███ █ █ ███ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ █ █ ████ ███ █████ █ █ ██ █ ██ █ ███ █ █ ██ █ ██ ██ █ ███ ████ ███ █ ██ ███ █ ██ ███ ███ █ ███ ████ ██ ███ █ ██ ████ ████ ██ ████ ██ ████
crypto services
MAC wallets, NODES,
hoop
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
October 21, 2017, 09:43:56 PM
I will following this topic regarding the constructive discussions in addition to valuable information. Activity: 1246
#111
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw
NOBT WNOBT
▄███ █████▄ ▀▀███████▄ ██████ ▀█████▄ ████ ▀▀█████ █████ ▀█████▄ ████ █████ ████ ▀████ ████ ████ ████ ██▄ ▀█ ██▄ ████ ████ ████▌ █████▄ ████████ ▐████ ▐████ ████████ ▀█████ ████▌ █████ ████ ▀██ █▄ ▀██ █████ █████ ████ ████▄ █████ █████▄ ████ ▀█████▄ ▄█████ ▀█████▄ ████ ▀█████▄ ██▀ ▀█████▄ ▀█████ ▀██████▄▄ ▄▄██████▀ ▀▀████████ ████████▀▀ ▀▀████ ████▀▀
Take care of your financial privacy ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
A blockchain loyalty scheme and more
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
███████████████ ███ ██████████████████ ████████████████████████████████ ███ ███ ███ ███ ███ ██ ███ ███ ██ ██ ██ ███ ███ ██ ██ ██ ███ ███ ██ ██ ██ ███ ███ ███ ███ ███ ████████████████████████████████
████ ████ █████████████████ ████████████████████████████ █████████████████████████████ ██████████████████ █████████████████████████████ ████████████████████ █████ █████████████████████████████ ██████████████████ █████████████████████████████ ████████████████████████████
▄█████▄ ▄█████████ ████ ███▌ ███ ██▌ ▐██ ███ ████ ▄███████████ ███████████▀ ████ ███ ██▌ ▐██ ███ ▐███ ████ █████████▀ ▀█████▀
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
ANN Slack Twitter Telegram Nobt-plataform
NOBT - WNOBT your saving bank◕◡◕
owner232
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Member
October 25, 2017, 09:36:05 PM
#112
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
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.
Official AltCreator
Code:
#113
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
Full Member
November 21, 2017, 04:46:45 PM
#114
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
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]
#115
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
Member
November 22, 2017, 06:12:41 PM
#116
Code: Activity: 70
:/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
D3m0nKinGx
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Hero Member
November 22, 2017, 06:20:35 PM
#117
Quote from: rewenton on November 22, 2017, 06:12:41 PM Activity: 672
Code: :/mnt/mxe# make MXE_TARGETS="i686-w64-mingw32.static" boost [create settings.mk] [check requirements] Missing requirement: libtool Missing requirement: gdk-pixbuf-csource
The snake which cannot cast its skin has to die
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
Code: sudo apt install libgdk-pixbuf2.0-dev libtool
Whitepaper Exchange Slack
▬◇ ▬◇▬◆ S T R A T I S ▬◇▬◇▬◆ Blockchain Solutions
███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
BaaS
███ ███ ███ ███ ███ ███ ███ ███ ███ ███
Blockchain as a Service
◇▬ ◆▬◇▬ ◆▬◇▬◇▬
Please Read OP Github Full Node stratisplatform.com
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
Newbie
November 23, 2017, 09:12:45 AM
#118
Quote from: rewenton on November 22, 2017, 06:12:41 PM Activity: 7
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
AnorakThaGreat
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Newbie
November 23, 2017, 09:21:44 AM
#119
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$
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
Member
November 25, 2017, 02:21:35 AM
#120
Quote from: AnorakThaGreat on November 23, 2017, 09:12:45 AM Activity: 70
Quote from: rewenton on November 22, 2017, 06:12:41 PM 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
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-
#121
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-inlinedllexport -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
Newbie
December 15, 2017, 07:42:09 PM
Activity: 5
#122
make[1]: Entering directory '/mnt/coinm-source/src/leveldb' make[1]: Nothing to be done for 'libleveldb.a'. 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
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
#123
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
Legendary
December 16, 2017, 01:58:37 PM
#124
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 'libmemen v.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
Newbie
December 16, 2017, 02:19:43 PM
#125
can you help me with this? Activity: 7
Code: /home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: /home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: /home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: /home/blackboltz/mxe/usr/bin/i686-w64-mingw32.static-ld: collect2: error: ld returned 1 exit status Makefile.Release:452: fallo en las instrucciones para el make: *** [release/Cheesecoin-qt.exe] Error 1
cannot cannot cannot cannot
find find find find
-lboost_system-mgw62-mt-s-1_57 -lboost_filesystem-mgw62-mt-s-lboost_program_options-mgw62-lboost_chrono-mgw62-mt-s-1_57
objetivo 'release/Cheesecoin-qt.exe'
altcom wallet: AGJnc773HTTt8iTLAPkFgFvLew4nDoDuZu
gjhiggins
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 16, 2017, 02:46:56 PM
Quote from: Blackboltz on December 16, 2017, 02:19:43 PM
#126
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw Activity: 1232
can you help me with this?
/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
Newbie
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
gjhiggins
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
Legendary
December 20, 2017, 02:24:01 PM
Quote from: thepcb on December 20, 2017, 10:36:35 AM Activity: 1232
#127
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
#128
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
Newbie
December 20, 2017, 02:32:04 PM
#129
Quote from: gjhiggins on December 20, 2017, 02:24:01 PM Activity: 5
Quote from: thepcb on December 20, 2017, 10:36:35 AM 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
Newbie
December 23, 2017, 12:09:00 PM
#130
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« wir 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/i38
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
Newbie
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
#131
1/3/2018
[HOWTO] compile altcoin for windows on linux using mxe and mingw
Removed plural forms as the target language ha s 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
Legendary
December 28, 2017, 12:35:43 PM
#132
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
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
Newbie
December 28, 2017, 12:49:42 PM
#133
Quote from: gjhiggins on December 28, 2017, 12:35:43 PM Activity: 5
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=v816__&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
Legendary
December 28, 2017, 05:09:17 PM
#134
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.
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
Legendary
December 28, 2017, 05:27:53 PM
#135
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=v816__&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