-
m-relay
<iamshrood:matrix.org> Hi guys I need help
-
m-relay
<iamshrood:matrix.org> I have a phone and I wanna start mining using termux
-
m-relay
<iamshrood:matrix.org> Can anyone tell me how to do it
-
m-relay
<iamshrood:matrix.org> Hello
-
m-relay
<iamshrood:matrix.org> Is anyone here
-
moneromooo
Try asking in #monero.
-
m-relay
<iamshrood:matrix.org> #monero I need help
-
rbrunner
iamshrood, you are here in the "monero-dev" room, where mining questions are off-topic. You can switch to the general "monero" room for such questions.
-
rbrunner
But a little spoiler: You will probably mine XMR for 5 USD or so *per year* with your smartphone, maximum. And maybe your phone will die from overheating.
-
m-relay
<syntheticbird:monero.social> Are there any devs here who is able to get clangd to work over monero repository ?
-
m-relay
<syntheticbird:monero.social> It's embarassing but from the first time i pulled up monero repo to even today, I can't get clangd in my IDE to work correctly. Built it and everything but everytime it just act like the files around the one you edit don't exist
-
m-relay
<syntheticbird:monero.social> `Too many errors emitted, stopping now`
-
m-relay
<syntheticbird:monero.social> in most files
-
m-relay
-
m-relay
<syntheticbird:monero.social> my average monero repo experience
-
m-relay
<syntheticbird:monero.social> `Use of undeclared identifier`
-
m-relay
<syntheticbird:monero.social> It's been years it's like that, and I've cycled between Arch, Fedora, Debian both have libstdc++ and boost-devel installed yet clangd is shitting itself. So I'm really wondering if there is something I missed
-
m-relay
<syntheticbird:monero.social> Tried to replace `clangd` with `ccls`, same errors
-
m-relay
<syntheticbird:monero.social> 1 hour and 20 minutes in, I want too shoot myself and unironically want to murder my pet and send death threats to clang developer. Please someone tell me they got it working one day and which distro they used
-
m-relay
<syntheticbird:monero.social> How can you screw something that simple, have 0 logs and useless docs is beyond my understanding
-
m-relay
<syntheticbird:monero.social> This is the definition of hell.
-
moneromooo
#include <stdlib.h> near the top of the file.
-
moneromooo
Wait. More stuff is redlines, might not be atexit that's the problem...
-
m-relay
<syntheticbird:monero.social> hi moneromooo, I've continued to tests out of ranting. Main issue is that `ccls` or `clangd` don't manage find local imports like `#include "crypto/crypto.h"` and in cascade effect it consider a lot of the `std` or C built in functions as potentially user defined. thus these errors
-
m-relay
<syntheticbird:monero.social> If I take single .h like `common/aligned.c` no warning whatsoever
-
m-relay
<syntheticbird:monero.social> I think that's weird because Cmake is supposedly exporting a `compile_commands.json`
-
moneromooo
Did you run "make release" or similar from a *clean* tree ?
-
m-relay
<syntheticbird:monero.social> Alright, fixed, sorry for spam, anger out
-
m-relay
<syntheticbird:monero.social> Cmake compiled the compile_commands.json but in the build output directory so you have to copy it back at the root
-
moneromooo
cmake can sometimes nuke your makefile.
-
m-relay
<syntheticbird:monero.social> moneromooo: master, make -j3
-
m-relay
<syntheticbird:monero.social> now that I've copied the compile_command.json at the root everything is working perfectly fine
-
loeasy687
Hi