-
sarang
Research meeting in -lab starts at 18:00 UTC (15 minutes from now)
-
rating89us
hi
-
rating89us
my mingw64 is closing after trying to build using source ./build.sh release-static
-
rating89us
where can I see a log error?
-
selsta
rating89us: Is the monero-gui folder in C:/ ?
-
selsta
Is it top level directory?
-
selsta
Also can you try `./build.sh release`
-
selsta
without source and static and without make deploy
-
janowitz
test
-
asymptotically
test failed
-
janowitz
thanks!
-
rating89us
Now I get '/mingw64/bin/libicudt64.dll': No such file or directory
-
rating89us
there is a libicutud65.dll in my dir
-
rating89us
do I need to downgrade?
-
selsta
What is the exact you used?
-
selsta
exact command?
-
rating89us
all files in my dir are version 65
-
rating89us
make deploy
-
rating89us
-
rating89us
cd monero-guisource ./build.sh release-staticcd buildmake deploy
-
iDunk
monero-gui does not expect you to have an up-to-date MSYS2. I feel like it's always been that way.
-
iDunk
Modify windeploy_helper.sh accordingly.
-
selsta
I think you just do `./build.sh release`
-
iDunk
-
selsta
no make deploy step is necessary
-
iDunk
make deploy is necessary.
-
rating89us
Now when I open monero-wallet-gui.exe I get can't find libzstd.dll
-
iDunk
Have a look at my paste.
-
selsta
I’m trying to compile in a Windows VM currently. Will update the repo if some steps are necessary.
-
selsta
-
selsta
that’s why I thought make deploy is not necessary.
-
rating89us
iDunk: thanks, it worked with your windeploy_helper.sh
-
iDunk
I mean, it's necessary if you want to run monero-gui outside of MSYS2.
-
selsta
rating89us: Btw you should join #monero-gui
-
selsta
iDunk: oh btw you seem familiar with Windows
-
selsta
do you want to help me debug why cmake can’t find openssl
-
iDunk
64 bit build ?
-
selsta
I added Windows support here
monero-project/monero #6270
-
selsta
-
selsta
but it kept failing with cmake not finding openssl, the gui builds fine with exactly the same setup
-
selsta
-
iDunk
Is "update pacman" step handled accordingly ?
-
selsta
-
selsta
`msys2do pacman -Syu --noconfirm` looks correct
-
iDunk
L46-L48
-
iDunk
You have to terminate MSYS2 (not exit), and run pacman -Syu again.
-
selsta
the GUI script writes the same so I’m not sure if that’s the problem
-
selsta
-
iDunk
L15 in build "-D MSYS2_FOLDER= ". Is the gui script using 6267 ?
-
selsta
-
iDunk
Maybe add "echo $MINGW_PREFIX" somewhere at the beginning of the script to see whare it thinks it is.
-
selsta
ok will try thanks
-
iDunk
Anyway, I don't think $MSYS2_FOLDER is being set correctly.
-
selsta
iDunk: $MINGW_PREFIX is empty
-
selsta
weird thing is it also adds `"-D MSYS2_FOLDER=` for the GUI and it works fine, this whole thing is just confusing
-
iDunk
The problem may be the non-interactive shell, as you can see in lines 12 and 13 in build step.
-
selsta
it says that for every step, I don’t think it is the problem, anyway thanks for looking into it
-
iDunk
Every time cmake config cannot find openssl here is when I build the 32 bit release. I immediatelly know I forgot to fix the "-D MSYS2_FOLDER=" in Makefile. 6267 is supposed to fix that, but could be it doesn't work so well in non-interactive shells.
-
selsta
right that sounds plausible but the GUI uses the same non-interactive shell and builds the same monero (just with GUI-DEPS) and it finds openssl there
-
selsta
but I have a few more ideas I’ll try now
-
koe
hi, Im wondering about this function get_last_n_blocks_weights() which leads to BlockchainLMDB::get_block_info_64bit_fields(). It is used for calculating max block size. Does it return the 100 blocks PREVIOUS to the current block, or INCLUDING the current block?
-
koe
also used for penalty and fees
-
smooth
depends what you mean by 'current block'
-
smooth
If you mean the block in the process of being mined then no that wouldn't be included
-
smooth
if you mean the most recent block added to the chain then yes it would
-
koe
is update_next_cumulative_weight_limit() used when someone wants to sync a new node (i.e. to verify block weights and so on)? If so, it seems pretty inefficient since every block seems to calculate the long term median twice (to get block B's long term weight it calculates the previous block's long term median, and then to get the cumulative median
-
koe
for block B it calculates the long term median for B... move on to block C which will recalculate block B's long term median. Am I missing something here?
-
koe
Is the median of 100000 blocks meaninglessly fast?
-
moneromooo
Fairly slow, but there's an incremental mode for the common case of pushing one block.
-
koe
yeah that much makes sense, is there some other function used for syncing? Or are my premises flawed..