If sodium is installed, then it uses this...#1411
If sodium is installed, then it uses this...#1411cnngimenez wants to merge 2 commits intoirungentoo:masterfrom cnngimenez:master
Conversation
|
check the path libsodium builds fine as does toxcore on my Fedora 22 |
|
I didn't build sodium from sources, I have it already from my repos(version 1.0.3)... But the precompiler doesn't add it anywhere: there's no I understand that the But what happen when If there's something I missed from the INSTALL.md, please tell me. Maybe I should change the title: "If sodium is installed on your repos, just add it." |
|
@cnngimenez if you're still having this build issue, let me know and I'll track down the issue and decide what to do with this. |
|
@GrayHatter still having this issue. I have clonned the latest master b9ef248 and have the same error messages. DNF says that libsodium is installed and: @linux-modder what did you do for compiling succesfully? I did this: I tried even with |
|
Is this PR correct? Why is it only required on Fedora? |
|
@cnngimenez is this PR still required? |
|
I was getting the same error message when trying to compile tox 0.1.10 here in Gentoo land. Adding those three #include lines fixed things for me. (I have libsodium 1.0.16 installed.) |
... But if not uses the one included.
For some reason, on Fedora, compiling toxcore gives this error:
This means that sodium's definitions are not included, so I added these lines and it worked fine.