-
Guest13
hello
-
Guest13
anyone here knows how to compile mac static build
-
Guest13
non-static build and work well but static cant because of qt
-
selsta
I sent you the tutorial link yesterday. That's what we use for Mac release binderies. Did something not work?
-
Guest13
yes
-
Guest13
CMake Error at CMakeLists.txt:287 (find_library):
-
Guest13
Could not find Qt5QuickTemplates2_LIBRARY using the following names:
-
selsta
Did you set the correct cmake prefix path?
-
Guest13
i did find / -name clang_64
-
Guest13
but this file was not found
-
selsta
it's the path where you install qt5
-
Guest13
i added bin path
-
Guest13
i checked and qmake -v was working
-
selsta
no
-
selsta
bin path is wrong
-
selsta
you have to set the clang_64 folder
-
selsta
else it misses the libraries...
-
Guest13
yes but find / -name clang_64 didnt find smth
-
selsta
send me your full bin path
-
Guest13
ok
-
Guest13
"/usr/local/Cellar/qt@5/5.15.2/lib"
-
Guest13
output from qmake -v
-
selsta
Guest13: you can't use brew Qt for this
-
selsta
you have to install with the installer
-
Guest13
ok!
-
Guest13
i even edit cask file and insert "-static" but even this didnt work
-
selsta
no
-
selsta
installer is required
-
Guest13
yes i downloaded
-
Guest13
but requires xcode
-
Guest13
xcode need appstore appstore need id that i dont remember
-
Guest13
hell really
-
selsta
as far as I know xcode isn't required
-
selsta
it will say xcode is required but you can continue
-
selsta
i did the same in my VM, I don't have xcode installed
-
Guest13
yep!
-
Guest13
is possible to download 5.15 or is no difference
-
selsta
I tried with 5.12
-
selsta
don't know about 5.15
-
Guest13
" CMAKE_PREFIX_PATH=/Users/name/Qt5.12.11/5.12.11/clang_64 make release-static"
-
Guest13
same error
-
selsta
you have to do make release not make release-static
-
Guest13
make release will create a static build?
-
selsta
it will create an .app bundle that you can open on a different computer
-
selsta
the libraries are included in the .app
-
Guest13
ok so brew create executables only that needs library
-
Guest13
if i find libraries and insert on folder executable will work?
-
Guest13
like inserting all dll manually that windows need
-
Guest13
compile finished but no .app in build folder
-
selsta
did you do the make deploy step?
-
Guest13
sorry confused
-
Guest13
now i'll do it
-
Guest13
i forgot to do make deploy
-
Guest13
i thought that make release was enough
-
Guest13
after running codesign --deep --force --verify --verbose --options runtime --timestamp --entitlements entitlements.plist --sign 'XXXXXXXXXX' monero-wallet-gui.app \i have error: "The specified item could not be found in the keychain."
-
Guest13
what i need to insert on xxxxxxxx
-
selsta
you don't need "Codesigning and notarizing" part
-
selsta
it requires an apple developer account
-
Guest13
the other steps yes?
-
selsta
make deploy should be enough
-
selsta
now copy it to the other mac and test it
-
Guest13
all bin folder right?
-
selsta
monero-wallet-gui.app is enough
-
Guest13
i must?? Replace the monerod binary inside monero-wallet-gui.app/Contents/MacOS/ with one built using deterministic builds / gitian
-
selsta
I don't know
-
Guest13
who wrote that?
-
Guest13
must be some reason
-
selsta
I wrote it
-
selsta
we do it for release binaries
-
selsta
I don't know if it's necessary
-
Guest13
ok
-
Guest13
thnx a lot selsta
-
mmx0x7[m]
Hello, is this the appropriate channel for GUI wallet support?
-
moneromooo
Yes.