From d6f6d4e860bbc87babe43dea5530c0169b62733d Mon Sep 17 00:00:00 2001 From: sometwo Date: Thu, 18 Jul 2013 17:03:49 -0300 Subject: [PATCH 1/2] Update TODO.txt --- docs/TODO.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/TODO.txt b/docs/TODO.txt index 92817a18..5d65e12f 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -27,7 +27,9 @@ Things to do now: Things to do later: --Figure out the whole sound and video transmission. +-Figure out the whole sound and video transmission. (encrypted and fast) + +-File transfer (encrypted and fast) Less important. From 70da85875832a06fe6ad14822ae52a43781ba2d5 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Thu, 18 Jul 2013 16:29:59 -0400 Subject: [PATCH 2/2] Added installation guide --- INSTALL.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 INSTALL.md diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 00000000..b4e28379 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,52 @@ +##Installation + +###Linux: + +You should get and install [libsodium](https://github.com/jedisct1/libsodium): +```bash +git clone git://github.com/jedisct1/libsodium.git +cd libsodium +git checkout tags/0.4.2 +./autogen.sh +./configure && make check +sudo make install +sudo ldconfig +``` + +Then clone this repo and run: +```bash +cmake CMakeLists.txt +``` + +Then you can build any of the [`/testing`](/testing) and [`/other`](/other) by running: +```bash +make name_of_c_file +``` +For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would run: +```bash +make Messenger_test +``` + +###Windows: + +You should install: + - [MinGW](http://sourceforge.net/projects/mingw/)'s C compiler + - [CMake](http://www.cmake.org/cmake/resources/software.html) + +Then you should either clone this repo by using git, or just download a [zip of current Master branch](https://github.com/irungentoo/ProjectTox-Core/archive/master.zip) and extract it somewhere. + +After that you should get precompiled packages of libsodium from [here](https://download.libsodium.org/libsodium/releases/) and extract the archive into this repo's root. That is, `sodium` folder should be along with `core`, `testing` and other folders. + +Navigate in `cmd` to this repo and run: +```cmd +cmake -G "MinGW Makefiles" CMakeLists.txt +``` + +Then you can build any of the [`/testing`](/testing) and [`/other`](/other) by running: +```cmd +mingw32-make name_of_c_file +``` +For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would run: +```cmd +mingw32-make Messenger_test +``` \ No newline at end of file