From ce49c84f3a26f016f9232d2bffdc830d7fd6169f Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 30 Aug 2014 11:37:47 +0000 Subject: Tox: - switch to offline when connection is lost - file transfer support - code refactoring - project reordering - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@10340 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/tox/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 protocols/Tox/tox/README.md (limited to 'protocols/Tox/tox/README.md') diff --git a/protocols/Tox/tox/README.md b/protocols/Tox/tox/README.md new file mode 100644 index 0000000000..0879158997 --- /dev/null +++ b/protocols/Tox/tox/README.md @@ -0,0 +1,18 @@ +Prerequisites +------------- + +You will need PowerShell for preparing the `.def` file. + +### Tox-Core + +Download Tox DLL from [the CI server](https://jenkins.libtoxcore.so/job/toxcore_win32_dll/). Put that DLL into `dll` directory, copy the `include` files. + +Now you need to prepare the `.def` file for the DLL. You have to prepare the corresponding `.lib` file for the DLL. To do it, start PowerShell and enter a Visual Studio command environment. Then execute the following script: + + PS> 'EXPORTS' | Out-File .\libtox.def -Encoding ascii; dumpbin.exe /exports .\libtox.dll | % { ($_ -split '\s+')[4] } | Out-File .\libtox.def -Append -Encoding ascii + +It prepares the `def` file for the next step - the `lib` tool: + + PS> lib /def:libtox.def /out:libtox.lib /machine:x86 + +You'll get the `libtox.lib` import library in the current directory. Copy it to `lib` project directory and you're ready! -- cgit v1.2.3