Bitcoin Forum
April 24, 2024, 10:58:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Self compiled build won't run on Windows?  (Read 538 times)
BitProton (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 14, 2017, 09:30:30 AM
 #1

I am currently trying to compile a build for Windows using Ubuntu 16.04 LTS and Wine 2.0.1, following the guide in the git repo.

The build compiles just fine, no errors thrown but once I try to launch any of the .exe files nothing will happen. No error, no nothing. No line of code was changed and when trying to install the same source on Ubuntu with "python setup.py install" and try to launch it, it works just fine. Any Idead what could cause this?

Used the current lastest commit in Github, used the 2.8.3 commit in Github and used the source files directly provided on electurm.org.

1713956302
Hero Member
*
Offline Offline

Posts: 1713956302

View Profile Personal Message (Offline)

Ignore
1713956302
Reply with quote  #2

1713956302
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
July 14, 2017, 03:12:21 PM
 #2

Are you able to run the pre-compiled binary available for download on electrum.org using the Ubuntu 16.04 LTS and Wine 2.0.1 combination? Just wanting to rule out possible issues with attempting to run the Windows version under Wine.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BitProton (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 14, 2017, 04:07:14 PM
 #3

Yes, the binary from electrum.org works just fine. I just checked and for some reason my build is also about 200-300 kb bigger.

It seems there is something wrong with either my setup or my workflow. Considering there is no debug tool in Electrum on Windows it's really hard to find the problem.

Would someone who managed to create a running build write down their exact workflow from download of the source to binary? I'd pay a few bucks for such an explanation!
jonald_fyookball
Legendary
*
Offline Offline

Activity: 1302
Merit: 1004


Core dev leaves me neg feedback #abuse #political


View Profile
July 14, 2017, 09:15:11 PM
 #4

having the same exact problem, also willing to pay a bounty for a fix.

mine is 29,494 KB  version 2.8.2

the binary from electrum is 29,796 - so mine is actually smaller.

Not sure what i'm doing wrong or what to look for in all of the commands leading up to the final build.
Some of the commands produced warning of different kinds but the exe was built

BitProton (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 15, 2017, 01:04:45 PM
 #5

Nice to know that I am not alone Cheesy Yet I'd love to see some answer or atleast get an idea what causes that problem.
BitProton (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 15, 2017, 06:53:12 PM
 #6

Opened an issue on Github:
https://github.com/spesmilo/electrum/issues/2610

There seems to be an already closed issue with the same problem. It actually seems like the created was able to fix the problem but closed the issue without providing the fix.
https://github.com/spesmilo/electrum/issues/2532
BitProton (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 20, 2017, 01:13:41 PM
 #7

Offer 250$ in Bitcoin for anyone who can solve this problem for me.
jonald_fyookball
Legendary
*
Offline Offline

Activity: 1302
Merit: 1004


Core dev leaves me neg feedback #abuse #political


View Profile
July 20, 2017, 06:32:05 PM
 #8

i sent you a PM

RealBitcoin
Hero Member
*****
Offline Offline

Activity: 854
Merit: 1007


JAYCE DESIGNS - http://bit.ly/1tmgIwK


View Profile
July 20, 2017, 06:32:12 PM
 #9

I am currently trying to compile a build for Windows using Ubuntu 16.04 LTS and Wine 2.0.1, following the guide in the git repo.

The build compiles just fine, no errors thrown but once I try to launch any of the .exe files nothing will happen. No error, no nothing. No line of code was changed and when trying to install the same source on Ubuntu with "python setup.py install" and try to launch it, it works just fine. Any Idead what could cause this?

Used the current lastest commit in Github, used the 2.8.3 commit in Github and used the source files directly provided on electurm.org.



I never have any luck compiling anything on Linux, there is alway some library that is missing, or some memory leak that makes the software crash....

flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
July 23, 2017, 09:02:09 AM
 #10

Offer 250$ in Bitcoin for anyone who can solve this problem for me.


I don't have a Ubuntu / Wine setup at hand. Would you be happy with a pure Windows procedure?
flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
July 23, 2017, 10:35:04 AM
Last edit: July 25, 2017, 04:22:41 PM by flatfly
 #11

OK I've made a quick patch to the building process:
 https://github.com/flatfly/electrum/blob/c08657259dc8e5848e33b66e1f829fbd502a1445contrib/build-wine/build-electrum-git.sh

Just replace your copy of build-electrum-git.sh with this one, and try again to see where the error is (hopefully).
kandy.ye
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
September 30, 2017, 04:06:09 AM
 #12

I have met the same problem as you, and I have solved it.

https://bitcointalk.org/index.php?topic=2214695.new#new
Pages: [1]
  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!