New environment variable (PERL5_LIB) needed as the perl library isn't always called perl.lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9f9b5aadab
commit
74afc46ccb
3 changed files with 15 additions and 9 deletions
|
|
@ -78,7 +78,7 @@ If you are interested in how the project files are set up have a look at the sec
|
|||
|
||||
|
||||
<b><tt>PYTHON_INCLUDE</tt></b> : Set this to the directory that contains python.h<br>
|
||||
<b><tt>PYTHON_LIB</tt></b> : Set this to the python library including path for linking with<p>
|
||||
<b><tt>PYTHON_LIB</tt></b> : Set this to the python library including path for linking<p>
|
||||
Example using Python 2.1.1:<br>
|
||||
<tt>
|
||||
PYTHON_INCLUDE: d:\python21\include<br>
|
||||
|
|
@ -89,7 +89,7 @@ PYTHON_LIB: d:\python21\libs\python21.lib<br>
|
|||
|
||||
|
||||
<b><tt>TCL_INCLUDE</tt></b> : Set this to the directory containing tcl.h<br>
|
||||
<b><tt>TCL_LIB</tt></b> : Set this to the TCL library including path for linking with<p>
|
||||
<b><tt>TCL_LIB</tt></b> : Set this to the TCL library including path for linking<p>
|
||||
Example using ActiveTcl 8.3.3.3 <br>
|
||||
<tt>
|
||||
TCL_INCLUDE: d:\tcl\include<br>
|
||||
|
|
@ -99,10 +99,12 @@ TCL_LIB: d:\tcl\lib\tcl83.lib<br>
|
|||
<a name="n8"></a><H4>2.2.1.3 Perl</H4>
|
||||
|
||||
|
||||
<b><tt>PERL5_INCLUDE</tt></b> : Set this to the directory containing perl.h and perl.lib<br>
|
||||
<b><tt>PERL5_INCLUDE</tt></b> : Set this to the directory containing perl.h<br>
|
||||
<b><tt>PERL5_LIB</tt></b> : Set this to the Perl library including path for linking<p>
|
||||
Example using nsPerl 5.004_04:<p>
|
||||
<tt>
|
||||
PERL5_INCLUDE: D:\nsPerl5.004_04\lib\CORE<br>
|
||||
PERL5_LIB: D:\nsPerl5.004_04\lib\CORE\perl.lib<br>
|
||||
</tt>
|
||||
|
||||
<a name="n9"></a><H4>2.2.1.4 Java</H4>
|
||||
|
|
@ -120,7 +122,7 @@ JAVA_BIN: d:\jdk1.3\bin<br>
|
|||
|
||||
|
||||
<b><tt>RUBY_INCLUDE</tt></b> : Set this to the directory containing ruby.h<br>
|
||||
<b><tt>RUBY_LIB</tt></b> : Set this to the ruby library including path for linking with<p>
|
||||
<b><tt>RUBY_LIB</tt></b> : Set this to the ruby library including path for linking<p>
|
||||
Example using Ruby 1.6.4:<br>
|
||||
<tt>
|
||||
RUBY_INCLUDE: D:\ruby\lib\ruby\1.6\i586-mswin32<br>
|
||||
|
|
@ -177,4 +179,4 @@ Starting with SWIG-1.3.12 the examples and test-suite work almost as successfull
|
|||
You may need to run <tt>./autogen.sh</tt> from the SWIG root directory before running <tt>./configure</tt> if you have the latest autotools installed and want to use them (usually recommended).
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_INCLUDE)/perl.lib /nologo /dll /debug /machine:I386 /out:"example.dll" /pdbtype:sept
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_LIB) /nologo /dll /debug /machine:I386 /out:"example.dll" /pdbtype:sept
|
||||
|
||||
!ELSEIF "$(CFG)" == "example - Win32 Release"
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_INCLUDE)/perl.lib /nologo /dll /machine:I386 /out:"example.dll"
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_LIB) /nologo /dll /machine:I386 /out:"example.dll"
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
|
@ -124,6 +124,7 @@ InputName=example
|
|||
"$(InputName)_wrap.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
echo In order to function correctly, please ensure the following environment variables are correctly set:
|
||||
echo PERL5_INCLUDE: %PERL5_INCLUDE%
|
||||
echo PERL5_LIB: %PERL5_LIB%
|
||||
echo on
|
||||
..\..\..\swig -c++ -perl5 $(InputPath)
|
||||
|
||||
|
|
@ -138,6 +139,7 @@ InputName=example
|
|||
"$(InputName)_wrap.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
echo In order to function correctly, please ensure the following environment variables are correctly set:
|
||||
echo PERL5_INCLUDE: %PERL5_INCLUDE%
|
||||
echo PERL5_LIB: %PERL5_LIB%
|
||||
echo on
|
||||
..\..\..\swig -c++ -perl5 $(InputPath)
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_INCLUDE)/perl.lib /nologo /dll /debug /machine:I386 /out:"example.dll" /pdbtype:sept
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_LIB) /nologo /dll /debug /machine:I386 /out:"example.dll" /pdbtype:sept
|
||||
|
||||
!ELSEIF "$(CFG)" == "example - Win32 Release"
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ BSC32=bscmake.exe
|
|||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_INCLUDE)/perl.lib /nologo /dll /machine:I386 /out:"example.dll"
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib $(PERL5_LIB) /nologo /dll /machine:I386 /out:"example.dll"
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
|
@ -120,6 +120,7 @@ InputName=example
|
|||
"$(InputName)_wrap.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
echo In order to function correctly, please ensure the following environment variables are correctly set:
|
||||
echo PERL5_INCLUDE: %PERL5_INCLUDE%
|
||||
echo PERL5_LIB: %PERL5_LIB%
|
||||
echo on
|
||||
..\..\..\swig -perl5 $(InputPath)
|
||||
|
||||
|
|
@ -134,6 +135,7 @@ InputName=example
|
|||
"$(InputName)_wrap.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
|
||||
echo In order to function correctly, please ensure the following environment variables are correctly set:
|
||||
echo PERL5_INCLUDE: %PERL5_INCLUDE%
|
||||
echo PERL5_LIB: %PERL5_LIB%
|
||||
echo on
|
||||
..\..\..\swig -perl5 $(InputPath)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue