Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
188 stars 31 forks source link

Cannot build solution #33

Closed romaniy173 closed 4 years ago

romaniy173 commented 4 years ago

Description

Hi,

I am trying to build solution from description, and I have some issues:

  1. I want to have local version of project which I could run and see if I could make some changes on it. I am working on Ubuntu 18.04 on Parallel. So I am not very sure I do right thing, besides instruction with docker is slightly difficult to understand, because I wasn't use it before. Could someone suggest, what I should do if I just want to make debug build in Qt creator and make possibility to add my functionality to test it over solution like now?

  2. The build with linux Debug builds with symbols works for me, but in the end I have only the target image, without synced version of Qt and GDK. Want to rich them out somehow.

  3. Instruction for windows have a little mistake docker run -v $PWD:/ga greenaddress/ci@sha256:d0484f3fe4d0acdc83ba17f8799b957502be90996dbd386900db5851f964e92b /bin/sh -c "cd /ga && ./tools/buildgreen.sh Windows && cp build-mingw-w64/release/Green.exe /ga/Green.exe" and there is capital W for Windows, while script expected to have windows as an argument. But even after I got an error , when trying to build it: /usr/bin/x86_64-w64-mingw32-ld: .rsrc merge failure: duplicate leaf: type: 10 (VERSION) name: 1 lang: 409 make[1]: Leaving directory '/docker_bld_root/build-mingw-w64' cp: cannot stat 'build-mingw-w64/release/Green.exe': No such file or directory

Not sure if that much technical issues here, but I kind of trying to figured out how I should build and work in Qt creator with this solution. I have also trying to just run ./tools/buildgreen.sh linux allsymbolsunstripped and after fixing all dependency I was succeeded to build qt version and GDK with success, but script was finished with error. And now I could work in Qt creator but I need the variable BUILDROOT & GDK_PATH because there is no reference GDKBLDID in solution.

Thank you in advance!