dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

failed build #2338

Closed LucaPaterlini closed 4 years ago

LucaPaterlini commented 6 years ago

hello, I have tried to create a build with Travis of the Dash

https://travis-ci.org/LucaPaterlini/dash

It doesn't work, what does it mean?

thephez commented 6 years ago

It looks like your most recent build was successful. Can this issue be closed?

LucaPaterlini commented 6 years ago

hello, I have been able to compile it but now once I am opening it on windows after following the instructions for cross compiling(the only option available) then once I place it on windows and click on it do not starts.

gladcow commented 6 years ago

I'm not sure, but looks like app can't find dlls it depends on. You should start the installer first, not just copy exe file and start it. Or it starts and exits because of some error.) Does it creates log file?

LucaPaterlini commented 6 years ago

I have compiled and than copied the dash-qt file. What is the right procedure instead?

On Mon, 22 Oct 2018, 15:24 gladcow, notifications@github.com wrote:

I'm not sure, but looks like app can't find dlls it depends on. You should start the installer first, not just copy exe file and start it. Or it starts and exits because of some error.) Does it creates log file?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dashpay/dash/issues/2338#issuecomment-431850683, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2ZfMs5QgHJEh1UzPcU1z49ySJzRAXUks5undU1gaJpZM4XM6mR .

gladcow commented 6 years ago

All windows dependencies should be installed before this dash-qt can be started. I think the simplest way to do this is to start windows setup exe (from this link, for example: https://github.com/dashpay/dash/releases) before and copy new exe from travis over installed dash-qt.

LucaPaterlini commented 6 years ago

hello, what I am trying to do is to compile the wallet, I have installed all the dependencies mentioned in the guide. if you have a chance to do so, please try to compile the win wallets and let me know if you get the same strange effect, as well is there any difference in the final result if you compile with qt4 or qt5 ?

https://github.com/LucaPaterlini/dash/releases/tag/0.0.0.1

gladcow commented 6 years ago

I haven't Windows right now, will test it in several hours

LucaPaterlini commented 6 years ago

Issue still not solved and I am curios why there is a lack of interest so far, no one else compile and everyone goes with the pre compiled version? (making useless the best open source feature)

thephez commented 6 years ago

Which branch are you building? The develop branch has updated build instructions using the depends folder. If you are not building that way, I would suggest trying it.

LucaPaterlini commented 6 years ago

from the master branch and I have followed those commands to reach the shown result https://github.com/dashpay/dash/blob/develop/doc/build-cross.md for win64 on a lubuntu 16.04

LucaPaterlini commented 6 years ago

I have just found out that I have not executed this line in the previous attempt, $ sudo apt-get install nsis wine wine64 bc and now I am facing the fact that from what I have understood wine64 is no more available on public repo

https://askubuntu.com/questions/880832/wine-and-wine64

gladcow commented 6 years ago

Yes, your file is not starting, I can't understand why (not dll dependencies, I've checked it). It can be some QT incompatibility, your exe is 48 MB, official is 34 MB, so your one was built with other options. I have checked cross-build on my PC it gives the same exe like in official packet. I need some more time to debug this case.

gladcow commented 6 years ago

Try to build with this instructions (build depends first, then configure dashcore with path to depends folder) for develop branch. Is it working?

LucaPaterlini commented 6 years ago

sudo apt-get install nsis wine wine64 bcReading package lists... Done Building dependency tree
Reading state information... Done Package wine64 is a virtual package provided by: winehq-staging 3.18.0~xenial winehq-stable 3.0.3~xenial winehq-devel 3.18.0~xenial You should explicitly select one to install.

E: Package 'wine64' has no installation candidate

https://www.tecmint.com/install-wine-on-ubuntu-and-linux-mint/ this is what I have done following the ubuntu but still I get the mentioned error

LucaPaterlini commented 6 years ago

libtool: warning: remember to run 'libtool --finish /home/pater92/Desktop/dash/depends/x86_64-w64-mingw32/lib' I have tried to continue avoiding to install the win64 package and during the depends make I got a wizard from wine asking to dowload itslef and a package fo coingeko or something like that. then I got a warning libtool: warning: remember to run 'libtool --finish ./depends/x86_64-w64-mingw32/lib'

gladcow commented 6 years ago

So, now you can't compile the sources?

LucaPaterlini commented 6 years ago

Still can't decently still having the intro slide transparent instead of white. And I have changes for 18.04 ubuntu OS. I have stopped Tring on 16.04

oti-dev commented 6 years ago

Hello, have you managed to solve the issue? I think I have the same one - dash-qt.exe process closes after 3 seconds without generating any logs, while dashd starts correctly.

gladcow commented 6 years ago

@oti-dev , is it self-built dash-qt? If yes, does dash-qt from here is working?

oti-dev commented 6 years ago

Yes it is self-built, and yes, the downloaded version works.

Actually I managed to get this to work with this configure invocation: ./configure "CXXFLAGS=-Og -g" "CFLAGS=-Og -g" --disable-hardening --disable-gcc-hardening --disable-linker-hardening --prefix=$HOME/build/win64/dash/depends/x86_64-w64-mingw32/

The obvious drawback is that the dash-qt file is 400MB. But after stripping the debug symbols it's back to 31MB, so I guess I'll work with it for now.

Edit: I used that invocation and it worked, though I'm not sure if all the options are necessary. I just wanted to debug it following these instructions: https://github.com/zcoinofficial/zcoin/blob/master/doc/debug-vs2017.txt

nmarley commented 4 years ago

Closing as this seems resolved now. Please be sure and use the depends system to build and re-open a new issue if necessary.