Revision 2274
trunk/libraries/libjni-readecw-linux/doc/link_Libs_Info.txt | ||
---|---|---|
2 | 2 |
ECW SOURCE COMPILATION IN LINUX |
3 | 3 |
-------------------------------- |
4 | 4 |
|
5 |
You must download ecw sdk source from http://www.ermapper.com
|
|
6 |
You must modify the makefile.inc file in the NCSNighttlyBuild directory
|
|
5 |
You have download ecw sdk source from http://www.ermapper.com
|
|
6 |
You have modify the makefile.inc file in the NCSNighttlyBuild directory
|
|
7 | 7 |
GCC_LIB_PATH = write your gcc path |
8 |
NCSTOP = Source path
|
|
8 |
NCSTOP = Path to the source
|
|
9 | 9 |
|
10 | 10 |
Compiling reading libraries |
11 | 11 |
Go to NCSCnet3 directory and do make |
... | ... | |
28 | 28 |
|
29 | 29 |
COMPILING COMPRESSOR |
30 | 30 |
|
31 |
You must create a makefile to the compressor compilation in NCSEcw/shared_src directory and you write your host includes
|
|
31 |
You'll have to create the makefile to compile the compressor inside the NCSEcw/shared_src directory and put there your host specific includes
|
|
32 | 32 |
|
33 | 33 |
INCLUDE = -I../../../include -I/usr/local/include/g++-v3 -I/usr/local/j2sdk1.4.2_03/include/ -I/usr/local/j2sdk1.4.2_03/include/linux -I../lcms/include |
34 | 34 |
DIR_LIBS = -L/usr/lib/gcc-lib/i486-linux/3.3.5 -L/usr/lib -L/usr/local/lib -L/home/flus/gdal/SourceC_ecw/bin/linux |
... | ... | |
50 | 50 |
ECW SOURCE COMPILATION IN WINDOWS |
51 | 51 |
---------------------------------- |
52 | 52 |
|
53 |
Ermapper suppy support to the dll compilation. There are Visual C proyects for compile and link inside the sdk. |
|
54 |
You must create a makefile.w32 file inside NCSEcw directory for jecw.dll generation with this content: |
|
53 |
Ermapper includes support for the dll's compilation. |
|
54 |
There are some projects within the source files for Visual C for compile and link the libraries that come with the sdk |
|
55 |
You must create a makefile.w32 file inside the NCSEcw directory in order to generate jecw.dll with this content: |
|
55 | 56 |
|
57 |
|
|
56 | 58 |
#***************************************** |
57 | 59 |
|
58 | 60 |
LIBR = /LIBPATH:"C:\Archivos de programa\Microsoft Visual Studio .NET 2003\Vc7\lib" /LIBPATH:"C:\Archivos de programa\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\lib" |
... | ... | |
95 | 97 |
|
96 | 98 |
#***************************************** |
97 | 99 |
|
98 |
You check that the includes paths are agree with your Visual C
|
|
100 |
Check that the paths of the includes match with our Visual C
|
|
99 | 101 |
|
100 | 102 |
Execute this command inside NCSEcw directory: |
101 | 103 |
nmake /f makefile.w32 |
Also available in: Unified diff