Changes between Version 9 and Version 10 of Building/libtorrent
- Timestamp:
- 11/26/2014 08:00:29 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/libtorrent
v9 v10 33 33 }}} 34 34 35 If you encounter an !ImportError relating to opening libtorrent-rasterbar.so, you may need to run `sudo ldconfig` or ensure python is searching thepath to the library.35 If you encounter an `!ImportError` relating to opening `libtorrent-rasterbar.so`, you may need to run `sudo ldconfig` or ensure Python is searching the correct path to the library. 36 36 37 37 == Windows == … … 51 51 * [http://www.libtorrent.org/ libtorrent-rasterbar] 52 52 53 4. Build boost - Open a command prompt and execute the following commands: 53 4. Boost build - Open a command prompt and execute the following commands: 54 55 ''If using 'Compiler for Python' you need to run `vcvarsall.bat` to setup compiler paths.'' 54 56 {{{ 55 57 bootstrap.bat 56 58 b2 57 59 }}} 58 Note: Building Boost takes a while and can use several gigabytes of space. 59 Note2: If using just the compiler for Python you need to run `vcvarsall.bat` before running bootstrap.bat. 60 ''Building Boost can take a long time and uses 2-3 gigabytes of disk space.'' 60 61 61 5. Create a `user-config.jam` file in `BOOST_ROOT` (i.e. `C:\boost`) with the following to force `msvc` version:62 5. Create a Boost `user-config.jam` file in `BOOST_ROOT` (i.e. `C:\boost`) with the following to force `msvc` version: 62 63 63 64 {{{ … … 65 66 }}} 66 67 67 6. From command prompt: 68 a. Setup the environmental variables 68 6. libtorrent Build: 69 70 a. Setup the Environmental Variables: 69 71 {{{ 70 72 set INCLUDE=C:\OpenSSL-Win32\include;%INCLUDE% … … 74 76 set PATH=%BOOST_ROOT%;%PATH% 75 77 }}} 76 b. Navigate to libtorrent python bindings folder 78 b. Navigate to libtorrent python bindings folder: 77 79 {{{ 78 80 cd C:\libtorrent-rasterbar\bindings\python