-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI build breaking on Windows 8.1 with mingw64 #1559
Comments
Update.... However, When I try to run the monero daemon or GUI I get a |
how did you get this to compile? I have been unsuccessful 3 times now on 2 different systems on msys2 64 win10? get_libwallet_api.sh runs and only compiles RPC and Daemon same as on aeon (aeonix#15) : |
@cryptobarbossa : I have the same problem, and I would be very interested how you managed to finally compile. I wonder which recent code or make file change brought this problem with it. |
https://github.com/monero-project/monero-gui/tree/v0.13.0.2 The above (new) tag is known to compile correctly using |
I will uninstall qt and reinstall that package when I am available. Probably tomorrow. I will let you know what happens |
@Lafudoci was able to correctly build using specifically this mingw/qt version on Windows 10 64bit, using the 0.13.0.2 tag. |
looks like Msys issue not finding the package anymore.
But I have downloaded the tar from their old repo - |
@BigslimVdub Let me know if that works. In addition, perhaps we (you) could also update the README, which contains |
ahh,, figured it out. SO I had to download the tar from their repo and then CD to that folder on Mingw64 and then run the install line I will try to clone again and build after qt installs and see what happens. May have dependency issues though since all my other packages are up to date. edit: if this works for building I will pr the readme to include this. thanks |
@skftn, @BigslimVdub: That problem with the latest Qt version from MSYS2 package might be already over in only a few days when an update arrives from the MSYS2 people, so maybe it would be a little premature to change the ReadMe. And after all the latest-at-a-given-moment package worked for months now. |
Well tested with and without --recursive and both fail still at -
It seems it can't link anything together. I had the identical error on the latest QT package so I don't believe its QT package related.
But I am unable to change policies in any way. Cmake_policy does not have an option in msys2 to edit the policy. |
@BigslimVdub this command will do the downgrade for you.
or you'll like to remove current one before downgrade for avoiding some downgrade issue.
Also make sure you qt is in default path, then the 5.11.2 issue should be good now.
But for the last qmlcachegen.exe issue, it's the same with my previous issue #1636, it's still unsolved on one of my machine. |
Ok I will wait for resolution on 1636 then |
I've tested a few downgraded versions and found 5.10.0 to be the latest working one:
Edit: Looks like I have to manually copy libicu*58.dll due to the use of the old Qt version. |
fwiw, On windows, I've fixed qmlcachegen.exe issues by deleting one file, monero-gui/build/qml_qmlcache.qrc then build.sh works as expected, again. $ qmake -v
|
I realized that the build with the latest version
also succeeds. I find this workaround weird and ugly, but perhaps it's worth updating the build instruction in README? |
+resolved |
+resolved |
Setup:
Windows 8.1 x64
8GB RAM
100GB+ storage
Boost 1.68.0-1
QT 5.11.1-3
Instructions followed:
Install MSYS2 64-bit and open mingw64
run 'pacman -Syuu' then exit mingw64
open mingw64 and run 'pacman -Syuu' again
'pacman -S mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium'
'pacman -S mingw-w64-x86_64-qt5'
'pacman -S git'
git clone --recursive https://github.com/monero-project/monero-gui.git
cd monero-gui
./build.sh
Following errors occurred whilst building:
Link to full log
Bdynamic -lwinscard -lws2_32 -lwsock32 -lIphlpapi -lgdi32 C:/msys64/mingw64/lib/libQt5Quick.dll.a C:/msys64/mingw64/lib/libQt5Widgets.dll.a C:/msys64/mingw64/lib/libQt5Gui.dll.a C:/msys64/mingw64/lib/libQt5Qml.dll.a C:/msys64/mingw64/lib/libQt5Network.dll.a C:/msys64/mingw64/lib/libQt5Core.dll.a C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/lad/monero-gui/monero/lib/libwallet_merged.a(wallet.cpp.obj):wallet.cpp:(.text+0x4ee): undefined reference to
__stack_chk_fail'C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/lad/monero-gui/monero/lib/libwallet_merged.a(wallet.cpp.obj):wallet.cpp:(.text+0x55a): undefined reference to
__stack_chk_fail' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/lad/monero-gui/monero/lib/libwallet_merged.a(wallet.cpp.obj):wallet.cpp:(.text+0x5be): undefined reference to
__stack_chk_fail'C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/lad/monero-gui/monero/lib/libwallet_merged.a(wallet.cpp.obj):wallet.cpp:(.text+0x62e): undefined reference to
__stack_chk_fail' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/lad/monero-gui/monero/lib/libwallet_merged.a(wallet.cpp.obj):wallet.cpp:(.text+0x677): undefined reference to
__stack_chk_fail'C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/lad/monero-gui/monero/lib/libwallet_merged.a(wallet.cpp.obj):wallet.cpp:(.text+0x707): more undefined references to
__stack_chk_fail' follow collect2.exe: error: ld returned 1 exit status make[1]: *** [Makefile.Release:396: release/bin/monero-wallet-gui.exe] Error 1 make[1]: Leaving directory '/home/lad/monero-gui/build' make: *** [Makefile:36: release] Error 2
The text was updated successfully, but these errors were encountered: