mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 11:00:14 -05:00
update howto for libretroshare releated compile with msys
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1602 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
52db2c4428
commit
5de0089d18
@ -103,18 +103,49 @@ In this section we install: cygwin, mingw/msys and Qt4.5
|
||||
This is useful as it provides a standard structure to work against,
|
||||
we will update this with the required support libraries soon.
|
||||
|
||||
a) open Cygwin shell, and change to this location.
|
||||
c:/msys/1.0/home/XXX/retroshare
|
||||
a) Open MSYS Bash shell, and change to this location.
|
||||
c:/msys/1.0/home/XXX/retroshare
|
||||
b) create a working directory under this.
|
||||
c) run compile script (so it will download latest SVN code).
|
||||
1) c:/msys/1.0/home/XXX/miniupnpc-1.3
|
||||
2) c:/msys/1.0/home/XXX/pthreads-w32-2-8-0-release
|
||||
3) c:/msys/1.0/home/XXX/zlib-1.2.3
|
||||
4) c:/msys/1.0/home/XXX/gpgme-1.1.8
|
||||
5) c:/msys/1.0/home/XXX/libgpg-error-1.7
|
||||
c) Install OpenSSL to this directory (get from http://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe)
|
||||
1) c:/msys/1.0/home/XXX/OpenSSL
|
||||
d) get the latest svn trunk and unzip to (get from http://retroshare.svn.sourceforge.net/viewvc/retroshare/trunk.tar.gz) .
|
||||
1) c:/msys/1.0/home/XXX/retroshare
|
||||
|
||||
2) Compile libretroshare
|
||||
a) change to the libretroshare directory.
|
||||
1) cd c:/msys/1.0/home/XXX/retroshare/libretroshare/src
|
||||
b) modify support directory paths to point at correct locations.
|
||||
1) open scripts/config.mk and enable OS = Win # MinGw.
|
||||
2) open scripts/config-mingw.mk
|
||||
3) disable lines (line 20-29)
|
||||
4) enable lines 34-42 and 118-119
|
||||
#### Enable this section for compiling with MSYS/MINGW compile
|
||||
SRC_ROOT=/home/linux
|
||||
|
||||
SSL_DIR=$(SRC_ROOT)/OpenSSL
|
||||
GPGME_DIR=$(SRC_ROOT)/gpgme-1.1.8
|
||||
GPG_ERROR_DIR=$(SRC_ROOT)/libgpg-error-1.7
|
||||
|
||||
ZLIB_DIR=$(SRC_ROOT)/zlib-1.2.3
|
||||
UPNPC_DIR=$(SRC_ROOT)/miniupnpc-1.0
|
||||
PTHREADS_DIR=$(SRC_ROOT)/pthreads-w32-2-8-0-release
|
||||
|
||||
### Enable this for GPGME and GPG ERROR dirs
|
||||
CFLAGS += -I$(GPGME_DIR)/src
|
||||
CFLAGS += -I$(GPG_ERROR_DIR)/src
|
||||
5) Edit your SRC_ROOT to your /home/xxxx dir
|
||||
|
||||
|
||||
c) compile libretroshare
|
||||
1) make
|
||||
|
||||
3) Copy all the required support libraries into the library directory:
|
||||
c:/msys/1.0/home/XXX/retroshare/retroshare-package-v0.4.09b/lib
|
||||
c:/msys/1.0/home/XXX/lib
|
||||
|
||||
This should include:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user