Bitcoin Forum
May 01, 2024, 11:45:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 »  All
  Print  
Author Topic: [HOWTO] compile altcoin for windows on linux using mxe and mingw  (Read 49056 times)
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
March 18, 2017, 10:41:01 PM
 #61

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

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

a@a-VirtualBox:/mnt/blackcoin$ echo $PATH
/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

.
.
.
▬◇
▬◇▬◆
▬◇▬◇▬◆
.
.







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
1714607147
Hero Member
*
Offline Offline

Posts: 1714607147

View Profile Personal Message (Offline)

Ignore
1714607147
Reply with quote  #2

1714607147
Report to moderator
1714607147
Hero Member
*
Offline Offline

Posts: 1714607147

View Profile Personal Message (Offline)

Ignore
1714607147
Reply with quote  #2

1714607147
Report to moderator
1714607147
Hero Member
*
Offline Offline

Posts: 1714607147

View Profile Personal Message (Offline)

Ignore
1714607147
Reply with quote  #2

1714607147
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714607147
Hero Member
*
Offline Offline

Posts: 1714607147

View Profile Personal Message (Offline)

Ignore
1714607147
Reply with quote  #2

1714607147
Report to moderator
1714607147
Hero Member
*
Offline Offline

Posts: 1714607147

View Profile Personal Message (Offline)

Ignore
1714607147
Reply with quote  #2

1714607147
Report to moderator
1714607147
Hero Member
*
Offline Offline

Posts: 1714607147

View Profile Personal Message (Offline)

Ignore
1714607147
Reply with quote  #2

1714607147
Report to moderator
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
March 21, 2017, 11:43:51 AM
 #62

anyone found a way for this ?


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


Here's a copy of my Ubuntu 14.04 32-bit VMware Image for anyone that wants it. You will need atleast VMware 10 installed.

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

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

The user password is Password1

The root password is Password1

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

There is a problem, i tried to do this many time and i always ended with different issues, so i came up to the 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.
MickGhee
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000

Fucker of "the system"


View Profile
April 05, 2017, 12:56:56 AM
Last edit: May 29, 2017, 11:15:33 PM by MickGhee
 #63

I'm getting this

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-w64-mingw32.static/include  am I right?  doi just copy boost there??  im using an ubuntu server on digital ocean with node if that means anything.  I'm trying to copy over now plus I am dl the VM to see if I have better luck.

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


fixed  needed to set PATH

Last night, while you were sleeping. I fucked the system!
nomadsena
Member
**
Offline Offline

Activity: 93
Merit: 10


View Profile
April 14, 2017, 06:39:26 AM
 #64

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
MickGhee
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000

Fucker of "the system"


View Profile
June 06, 2017, 06:30:28 PM
 #65

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

Last night, while you were sleeping. I fucked the system!
bumbacoin
Legendary
*
Offline Offline

Activity: 1638
Merit: 1036



View Profile
July 08, 2017, 03:33:07 PM
Last edit: July 09, 2017, 02:47:57 AM by bumbacoin
 #66

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 --enable-static --disable-shared

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

also fails on qt build



any assistance would be welcomed Smiley

💦☔️🐳💚💖💛
go to
cryptobetfair.com
ask for a voucher

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
bumbacoin
Legendary
*
Offline Offline

Activity: 1638
Merit: 1036



View Profile
July 11, 2017, 07:07:21 AM
 #67

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

████████████████
██████████████
█████████████
██████████████
██████████████
███████████
█████████
███████████
████████████
████████████
███████████
█████████████
██████████████
███████████████
████████████████
████████████████
🐠👻🍗🌳🐵
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
July 11, 2017, 07:26:46 AM
 #68

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

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

Cheers

Graham
dekm0101
Member
**
Offline Offline

Activity: 148
Merit: 11


View Profile WWW
August 05, 2017, 08:01:20 PM
 #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
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
August 06, 2017, 01:50:33 AM
 #70

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
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 15, 2017, 10:58:39 AM
 #71

I'm getting:

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

Made sure I did:

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

Using ubuntu/bash for windows 10
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 15, 2017, 07:50:28 PM
 #72

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


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

Cheers

Graham
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 26, 2017, 11:35:53 AM
 #73

got this error

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

any solutions ??
D3m0nKinGx
Hero Member
*****
Offline Offline

Activity: 1638
Merit: 507


The snake which cannot cast its skin has to die


View Profile
August 26, 2017, 01:02:49 PM
 #74

got this error

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

any solutions ??

sudo apt-get install libqrencode-dev

.
.
.
▬◇
▬◇▬◆
▬◇▬◇▬◆
.
.







███
███░░░███
███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░░░░░░░███
███░░░░░░░░░░░░░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░███░░░░░░░░░░░░░░░███░░░░███
███░░░░░░░░░███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░███
███░░░░░░░░░░░░░░░███
███░░░░░░░░░███
███░░░███
███
.
.
.
◇▬
◆▬◇▬
◆▬◇▬◇▬
.
.
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 27, 2017, 10:58:55 AM
 #75

got this error

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

any solutions ??

sudo apt-get install libqrencode-dev

i already installed that
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 27, 2017, 11:39:32 AM
 #76

/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
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 27, 2017, 05:06:37 PM
 #77

/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
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 27, 2017, 05:22:50 PM
 #78

how to do that ??

See the code example upthread:

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

Cheers

Graham
noreplybatam
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
August 28, 2017, 04:36:39 AM
 #79


Ok, i almost understand what must to do.
but last thing where i can find path that missing file ?
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 28, 2017, 07:51:44 AM
 #80

Ok, i almost understand what must to do.
but last thing where i can find path that missing file ?

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

Cheers

Graham
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!