-
xmr-pr
Gingeropolous opened issue #8199: ZMQ DESTROYED by p2pool daemon.
-
xmr-pr
-
xmr-pr
mj-xmr opened pull request #8200: Compil. time: http_client.h -> abstract_http_client.h
-
xmr-pr
-
mj-xmr[m]
<xmr-pr> ">
github.com/monero-..." <- selsta: Somehow more efficient -10% of build time than those poor Boost changes.
-
selsta
mj-xmr[m]: will test it
-
jeffro256[m]
Does anyone else get this error when trying to build on Msys2?:
-
jeffro256[m]
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool
-
jeffro256[m]
I was able to resolve it with:
-
jeffro256[m]
pacman -S mingw-w64-x86_64-ninja
-
jeffro256[m]
Should we put this in the build instructions?
-
moneromooo
Unlikely.
-
moneromooo
Are you sure you followed instructions ?
-
hocuspocusoutoff
sounds like git submodules didnt sync
-
jeffro256[m]
moneromooo I'm pretty sure I followed all the instructions
-
jeffro256[m]
I did it twice, once on a VM and the other on a native installation and ran into the same problem
-
jeffro256[m]
hocus pocus out of focus that wasn't the issue
-
hocuspocusoutoff
no idea what ninja is but mingw is a winblows thing isnt it?
-
jeffro256[m]
Unless git --recursive didn't sync ninja but I did a clean clone
-
moneromooo
Ninja is a build system, like make. I'm surprised it'd now be required, but if you're really really sure you did the right steps, then I guess adding to docs is right.
-
jeffro256[m]
If I added the mingw-w64-x86_64-ninja to the Windows build dependencies, worst thing that could happen is that its redudant, right?
-
moneromooo
Once a windows using person we know has confirmed :)
-
moneromooo
AFAIK yes.
-
jeffro256[m]
I'll create a PR and someone smarter than me can approve it
-
zeroplissken[m]
can i ask about an error im getting when building from source in here, or is there a better room?
-
moneromooo
Here is fine. If it turns out it's not interesting for this channel, we'll tell you :)
-
moneromooo
Paste long stuff to paste.debian.net btw.
-
moneromooo
Oh, and I guess make sure you've got all the dependencies included from the README.md file.
-
zeroplissken[m]
I'm trying to cross compile to android 64 using WSL2 so I think it's a toolchain issue as I've had to install some extra things along the way. I'm getting a 'configure:3819: error: C compiler cannot create executables' error
-
zeroplissken[m]
in the config.log I have a string of errors like './configure: line 3719: aarch64-linux-android-clang: command not found' right before the failed program
-
moneromooo
Do you have thar cross compiler installed, in your PATH etc ?
-
moneromooo
(or specified with path)
-
zeroplissken[m]
-
moneromooo
Also, there's an android target in the Makefile, are you using it ?
-
mj-xmr[m]
<jeffro256[m]> "CMake Error: CMake was unable to..." <- This is weird and means, that CMake resorts to default to Ninja for some reason, which is wrong.
-
moneromooo
If not, use it. If yes... wait for someone who knows about it, I don't.
-
zeroplissken[m]
probably not. is that gonna be a pretty standard thing to do?
-
zeroplissken[m]
I'm using make depends target=aarch64-linux-android
-
jeffro256[m]
mj-xmr What is it supposed to use as a build tool?
-
zeroplissken[m]
zeroplissken[m]: in reference to the PATH question
-
moneromooo
Ah, that might be ok also... I don't know.
-
mj-xmr[m]
jeffro256[m]: simply `make`
-
mj-xmr[m]
Could you check if it's in your path from the msys2 shell?
-
moneromooo
About PATH, cmake would need to find the compiler. So you either tell cmake the path to it, or add its directory to PATH so it's found. Either should work.
-
jeffro256[m]
mj-xmr Yeah it's at /usr/bin/make
-
mj-xmr[m]
What was the exact build command that you issued?
-
jeffro256[m]
make release-static-win64
-
xmr-pr
jeffro256 opened pull request #8201: Add Ninja to list of Mingw dependencies in README.md
-
xmr-pr
-
zeroplissken[m]
moneromooo: ok I think that might be my issue then. I'll look into it as I'm not sure how to do that quite yet. Thanks for the help!
-
mj-xmr[m]
jeffro256[m]: jeffro256[m]: Could you switch back to master, write `make release-static-win64` and then `cd build/(..)/master/` and then `cmake ../../.. -D CMAKE_MAKE_PROGRAM=make` ? Then `make` should work from this build directory
-
mj-xmr[m]
It seems that for some reason it can't find the make program
-
mj-xmr[m]
So we'll force it and see what it says.
-
jeffro256[m]
Okay gimme a sec, I'm gonna start with a clean version of msys2 so I can reproduce the error I was having first
-
jeffro256[m]
Sorry it's taking a while. Running Msys2 on a Windows installation in Virtualbox on Ubuntu is slow...
-
hyc
that's why we now just cross-compile windows builds from linux
-
hyc
takes way too long to build on windows.
-
hyc
In OpenLDAP we're even talking about deprecating windows support entirely. since you can run Linux binaries in WSL2 there's no real reason to put in the effort for native windows support
-
jeffro256[m]
WSL2 is awesome in that respect. The fewer systems you have to explicit develop and compile for the better.
-
hyc
as a base OS windows sucks for software developers.
-
hyc
I suppose some folks are addicted to graphical IDEs
-
mj-xmr[m]
Agreed.
-
mj-xmr[m]
They are available under Linux as well.
-
hyc
but from a perspective of speed of process invocation, to launch the multiple phases of compilation, its performance is shit
-
mj-xmr[m]
I must say here though, that MS C++ compiler beats MinGW. At least it had in 2007 when I last compared them.
-
hyc
for quality of generated code?
-
mj-xmr[m]
For its speed.
-
hyc
I suppose that's possible
-
mj-xmr[m]
Having a compiler restricted to 1 OS only (as opposed to GNU's) gives OS-specific opportunities. They'd be dumb, if they hadn't leveraged them.
-
laris
Shit i want someone to draw what this guy just said
-
laris
No cap i ain't reading anyting
-
jeffro256[m]
mj-xmr I genuinely can't reproduce this, it's driving me crazy
-
jeffro256[m]
Suffering from success
-
jeffro256[m]
Okay if I remove the make package then type `cmake .` then I get the same error
-
jeffro256[m]
So that's a clue, but I wasn't using the cmake command to build when I initially got the error
-
moneromooo
"make" calls cmake. If you did not have make, you could not have run it canonically.
-
moneromooo
(when using the top level Makefile)
-
jeffro256[m]
yeah that's what weird. I could use the make command, but apparently cmake couldn't find it. Idk, I hope it doesn't show up again
-
jeffro256[m]
moneromooo what's SCARECROW in regards to memwipe.c?
-
jeffro256[m]
-
jeffro256[m]
Ah, it scares away compiler optimizations. nvm
-
luigi1112
.merges
-
xmr-pr
7084 7877 8052 8145 8161 8163