mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #308 from jaekwon/bleh
various fixes for first time user
This commit is contained in:
commit
6f0ae0dbb4
|
@ -101,6 +101,7 @@ Grab the following packages:
|
||||||
* http://www.gnu.org/software/automake/
|
* http://www.gnu.org/software/automake/
|
||||||
* http://www.cmake.org/
|
* http://www.cmake.org/
|
||||||
* https://github.com/jedisct1/libsodium
|
* https://github.com/jedisct1/libsodium
|
||||||
|
* http://www.hyperrealm.com/libconfig/
|
||||||
|
|
||||||
Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
|
Uncompress and install them all. Make sure to follow the README as the instructions change, but they all follow the same pattern below:
|
||||||
|
|
||||||
|
@ -118,7 +119,7 @@ make
|
||||||
```
|
```
|
||||||
|
|
||||||
Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
|
Do not install them from macports (or any dependencies for that matter) as they get shoved in the wrong directory
|
||||||
and make your life more annoying.
|
(or the wrong version gets installed) and make your life more annoying.
|
||||||
|
|
||||||
Another thing you may want to install is the latest gcc, this caused me a few problems as XCode from 4.3
|
Another thing you may want to install is the latest gcc, this caused me a few problems as XCode from 4.3
|
||||||
no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at
|
no longer includes gcc and instead uses LLVM-GCC, a nice install guide can be found at
|
||||||
|
|
|
@ -17,3 +17,4 @@ set(core_sources
|
||||||
Messenger.c)
|
Messenger.c)
|
||||||
|
|
||||||
add_library(toxcore SHARED ${core_sources})
|
add_library(toxcore SHARED ${core_sources})
|
||||||
|
target_link_libraries(toxcore ${SODIUM_LIBRARY})
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* DHT.c
|
/* DHT.c
|
||||||
*
|
*
|
||||||
* An implementation of the DHT as seen in docs/DHT.txt
|
* An implementation of the DHT as seen in http://wiki.tox.im/index.php/DHT
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Tox project All Rights Reserved.
|
* Copyright (C) 2013 Tox project All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* DHT.h
|
/* DHT.h
|
||||||
*
|
*
|
||||||
* An implementation of the DHT as seen in docs/DHT.txt
|
* An implementation of the DHT as seen in http://wiki.tox.im/index.php/DHT
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Tox project All Rights Reserved.
|
* Copyright (C) 2013 Tox project All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Lossless_UDP.c
|
/* Lossless_UDP.c
|
||||||
*
|
*
|
||||||
* An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt
|
* An implementation of the Lossless_UDP protocol as seen in http://wiki.tox.im/index.php/Lossless_UDP
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Tox project All Rights Reserved.
|
* Copyright (C) 2013 Tox project All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
@ -467,7 +467,7 @@ uint32_t missing_packets(int connection_id, uint32_t * requested)
|
||||||
/*
|
/*
|
||||||
* BEGIN Packet sending functions
|
* BEGIN Packet sending functions
|
||||||
* One per packet type.
|
* One per packet type.
|
||||||
* see docs/Lossless_UDP.txt for more information.
|
* see http://wiki.tox.im/index.php/Lossless_UDP for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int send_handshake(IP_Port ip_port, uint32_t handshake_id1, uint32_t handshake_id2)
|
int send_handshake(IP_Port ip_port, uint32_t handshake_id1, uint32_t handshake_id2)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Lossless_UDP.h
|
/* Lossless_UDP.h
|
||||||
*
|
*
|
||||||
* An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt
|
* An implementation of the Lossless_UDP protocol as seen in http://wiki.tox.im/index.php/Lossless_UDP
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Tox project All Rights Reserved.
|
* Copyright (C) 2013 Tox project All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* net_crypto.c
|
/* net_crypto.c
|
||||||
*
|
*
|
||||||
* Functions for the core network crypto.
|
* Functions for the core network crypto.
|
||||||
* See also: docs/Crypto.txt
|
* See also: http://wiki.tox.im/index.php/DHT
|
||||||
*
|
*
|
||||||
* NOTE: This code has to be perfect. We don't mess around with encryption.
|
* NOTE: This code has to be perfect. We don't mess around with encryption.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user