How to compile with visual studio C++ .Net 2003 and Intel Fortran 9.1 ?

Pre-requirements:

Install Visual Studio C++ .NET 2003
Install Intel Fortran 9.1.3192
Install TCL/TK 8.4(.13)
Install Java 2 JDK

1] copy tcl84.dll,tk84.dll,tcl84.lib and tk84.lib in bin directory.
2] edit Make-PVM3.mak in pvm3 directory
   and modify first line (PVM_ROOT=...) with the good path
3] copy in root of scilab directory : "tcl" directory (see below)
4] copy in routines\Javasci jni.h and jni_md.h from Java 2 JDK
5] click on scilab.sln (to launch Visual) or devenv scilab.sln /build release (via command line, to build release)


N.B:
if you have this message : "fatal error LNK1127: library is corrupt"
disable your antivirus and rebuild.

contents of the "tcl" directory:

  Rpertoire de D:\Scilab\bin

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15           798720 tcl84.dll
02/03/2004  08:15           604428 tcl84.lib
02/03/2004  08:15         1032192 tk84.dll
02/03/2004  08:15           529946 tk84.lib
               4 fichier(s)        2965286 octets

 Rpertoire de D:\Scilab\tcl

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
05/05/2004  08:28    <REP>          include
05/05/2004  08:28    <REP>          tcl8.4
05/05/2004  08:28    <REP>          tk8.4
               0 fichier(s)                0 octets

 Rpertoire de D:\Scilab\tcl\include

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             4577 iconv.h
02/03/2004  08:15             6454 itcl.h
02/03/2004  08:15             8815 itclDecls.h
02/03/2004  08:15            11159 itclInt.h
02/03/2004  08:15            41825 itclIntDecls.h
02/03/2004  08:15             3797 itk.h
02/03/2004  08:15             6771 itkDecls.h
02/03/2004  08:15             4802 jpegtcl.h
02/03/2004  08:15            16568 jpegtclDecls.h
02/03/2004  08:15             3111 jpegtclDeclsMask.h
02/03/2004  08:15             1396 jpegtclDeclsUnmask.h
05/05/2004  08:28    <REP>          libexslt
05/05/2004  08:28    <REP>          libxml
05/05/2004  08:28    <REP>          libxslt
02/03/2004  08:15             4780 pngtcl.h
02/03/2004  08:15           110391 pngtclDecls.h
02/03/2004  08:15            16752 pngtclDeclsMask.h
02/03/2004  08:15             8083 pngtclDeclsUnmask.h
02/03/2004  08:15             1221 proTbcLoad.h
02/03/2004  08:15            83320 tcl.h
02/03/2004  08:15           158651 tclDecls.h
02/03/2004  08:15             3611 tcldom-libxml2.h
02/03/2004  08:15             3876 tcldom.h
02/03/2004  08:15             1348 tcldomDecls.h
02/03/2004  08:15             2835 tcldomxmlDecls.h
02/03/2004  08:15             5752 tclExtend.h
02/03/2004  08:15            94049 tclInt.h
02/03/2004  08:15            49247 tclIntDecls.h
02/03/2004  08:15            20592 tclIntPlatDecls.h
02/03/2004  08:15             6254 tclPlatDecls.h
02/03/2004  08:15            11590 tclxml.h
02/03/2004  08:15             2324 tclxslt.h
02/03/2004  08:15             4802 tifftcl.h
02/03/2004  08:15            42494 tifftclDecls.h
02/03/2004  08:15             7491 tifftclDeclsMask.h
02/03/2004  08:15             3538 tifftclDeclsUnmask.h
02/03/2004  08:15            57195 tk.h
02/03/2004  08:15            90179 tkDecls.h
02/03/2004  08:15             5819 tkimg.h
02/03/2004  08:15             7289 tkimgDecls.h
02/03/2004  08:15            93044 tkIntXlibDecls.h
02/03/2004  08:15            10202 tkPlatDecls.h
02/03/2004  08:15            24283 tkTable.h
02/03/2004  08:15            31570 transform.h
02/03/2004  08:15             4181 trfDecls.h
05/05/2004  08:28    <REP>          X11
02/03/2004  08:15            20829 xmlparse.h
02/03/2004  08:15             3836 xmlrole.h
02/03/2004  08:15            11189 xmltok.h
02/03/2004  08:15             4798 zlibtcl.h
02/03/2004  08:15            11312 zlibtclDecls.h
02/03/2004  08:15             1765 zlibtclDeclsMask.h
02/03/2004  08:15               728 zlibtclDeclsUnmask.h
              49 fichier(s)        1130495 octets

 Rpertoire de D:\Scilab\tcl\include\libexslt

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             1446 exslt.h
02/03/2004  08:15             1594 exsltconfig.h
02/03/2004  08:15             1594 exsltwin32config.h
               3 fichier(s)            4634 octets

 Rpertoire de D:\Scilab\tcl\include\libxml

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             2218 c14n.h
02/03/2004  08:15             4049 catalog.h
02/03/2004  08:15             3909 debugXML.h
02/03/2004  08:15             2777 DOCBparser.h
02/03/2004  08:15             7849 encoding.h
02/03/2004  08:15             3460 entities.h
02/03/2004  08:15             8468 globals.h
02/03/2004  08:15             5028 hash.h
02/03/2004  08:15             3541 HTMLparser.h
02/03/2004  08:15             2825 HTMLtree.h
02/03/2004  08:15             3241 list.h
02/03/2004  08:15               776 Makefile.am
02/03/2004  08:15             8626 Makefile.in
02/03/2004  08:15             2842 nanoftp.h
02/03/2004  08:15             1440 nanohttp.h
02/03/2004  08:15            27196 parser.h
02/03/2004  08:15            12068 parserInternals.h
02/03/2004  08:15             3488 SAX.h
02/03/2004  08:15             6998 schemasInternals.h
02/03/2004  08:15             1216 threads.h
02/03/2004  08:15            25502 tree.h
02/03/2004  08:15             1746 uri.h
02/03/2004  08:15             9329 valid.h
02/03/2004  08:15               471 xinclude.h
02/03/2004  08:15             4929 xlink.h
02/03/2004  08:15             2577 xmlautomata.h
02/03/2004  08:15             4617 xmlerror.h
02/03/2004  08:15             8268 xmlIO.h
02/03/2004  08:15             4135 xmlmemory.h
02/03/2004  08:15             1735 xmlregexp.h
02/03/2004  08:15             2950 xmlschemas.h
02/03/2004  08:15             1082 xmlschemastypes.h
02/03/2004  08:15             5571 xmlunicode.h
02/03/2004  08:15             5112 xmlversion.h
02/03/2004  08:15             5106 xmlversion.h.in
02/03/2004  08:15             5112 xmlwin32version.h
02/03/2004  08:15             4511 xmlwin32version.h.in
02/03/2004  08:15            12369 xpath.h
02/03/2004  08:15            17807 xpathInternals.h
02/03/2004  08:15             2531 xpointer.h
              40 fichier(s)          237475 octets

 Rpertoire de D:\Scilab\tcl\include\libxslt

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15               108 acconfig.h
02/03/2004  08:15               694 attributes.h
02/03/2004  08:15               919 documents.h
02/03/2004  08:15             5605 extensions.h
02/03/2004  08:15             1585 extra.h
02/03/2004  08:15             1700 functions.h
02/03/2004  08:15             1571 imports.h
02/03/2004  08:15               862 keys.h
02/03/2004  08:15               716 libxslt.h
02/03/2004  08:15               979 namespaces.h
02/03/2004  08:15             1628 numbersInternals.h
02/03/2004  08:15             1528 pattern.h
02/03/2004  08:15               667 preproc.h
02/03/2004  08:15             1601 templates.h
02/03/2004  08:15             4964 transform.h
02/03/2004  08:15             2206 variables.h
02/03/2004  08:15             2052 win32config.h
02/03/2004  08:15             1745 xslt.h
02/03/2004  08:15             2383 xsltconfig.h
02/03/2004  08:15            16141 xsltInternals.h
02/03/2004  08:15             5057 xsltutils.h
02/03/2004  08:15             2383 xsltwin32config.h
              22 fichier(s)           57094 octets

 Rpertoire de D:\Scilab\tcl\include\X11

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             1953 cursorfont.h
02/03/2004  08:15             1501 keysym.h
02/03/2004  08:15            52429 keysymdef.h
02/03/2004  08:15            18697 X.h
02/03/2004  08:15             2518 Xatom.h
02/03/2004  08:15             1720 Xfuncproto.h
02/03/2004  08:15            40988 Xlib.h
02/03/2004  08:15            20273 Xutil.h
               8 fichier(s)          140079 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15            19529 auto.tcl
05/05/2004  08:28    <REP>          encoding
02/03/2004  08:15             9108 history.tcl
05/05/2004  08:28    <REP>          http1.0
05/05/2004  08:28    <REP>          http2.4
02/03/2004  08:16            23427 init.tcl
02/03/2004  08:15             6802 ldAout.tcl
05/05/2004  08:28    <REP>          msgcat1.3
05/05/2004  08:28    <REP>          opt0.4
02/03/2004  08:15            24008 package.tcl
02/03/2004  08:15               882 parray.tcl
02/03/2004  08:15            27614 safe.tcl
02/03/2004  08:15             6097 tclIndex
05/05/2004  08:28    <REP>          tcltest2.2
02/03/2004  08:15             4375 word.tcl
               9 fichier(s)          121842 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4\encoding

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             1090 ascii.enc
02/03/2004  08:15            92873 big5.enc
02/03/2004  08:15             1091 cp1250.enc
02/03/2004  08:15             1091 cp1251.enc
02/03/2004  08:15             1091 cp1252.enc
02/03/2004  08:15             1091 cp1253.enc
02/03/2004  08:15             1091 cp1254.enc
02/03/2004  08:15             1091 cp1255.enc
02/03/2004  08:15             1091 cp1256.enc
02/03/2004  08:15             1091 cp1257.enc
02/03/2004  08:15             1091 cp1258.enc
02/03/2004  08:15             1090 cp437.enc
02/03/2004  08:15             1090 cp737.enc
02/03/2004  08:15             1090 cp775.enc
02/03/2004  08:15             1090 cp850.enc
02/03/2004  08:15             1090 cp852.enc
02/03/2004  08:15             1090 cp855.enc
02/03/2004  08:15             1090 cp857.enc
02/03/2004  08:15             1090 cp860.enc
02/03/2004  08:15             1090 cp861.enc
02/03/2004  08:15             1090 cp862.enc
02/03/2004  08:15             1090 cp863.enc
02/03/2004  08:15             1090 cp864.enc
02/03/2004  08:15             1090 cp865.enc
02/03/2004  08:15             1090 cp866.enc
02/03/2004  08:15             1090 cp869.enc
02/03/2004  08:15             1090 cp874.enc
02/03/2004  08:15            48207 cp932.enc
02/03/2004  08:15           132509 cp936.enc
02/03/2004  08:15           130423 cp949.enc
02/03/2004  08:15            91831 cp950.enc
02/03/2004  08:15             1093 dingbats.enc
02/03/2004  08:15             1054 ebcdic.enc
02/03/2004  08:15            85574 euc-cn.enc
02/03/2004  08:15            82537 euc-jp.enc
02/03/2004  08:15            93918 euc-kr.enc
02/03/2004  08:15            86619 gb12345.enc
02/03/2004  08:15             1091 gb1988.enc
02/03/2004  08:15            84532 gb2312-raw.enc
02/03/2004  08:15            85574 gb2312.enc
02/03/2004  08:15               192 iso2022-jp.enc
02/03/2004  08:15               115 iso2022-kr.enc
02/03/2004  08:15               226 iso2022.enc
02/03/2004  08:15             1094 iso8859-1.enc
02/03/2004  08:15             1095 iso8859-10.enc
02/03/2004  08:15             1095 iso8859-13.enc
02/03/2004  08:15             1095 iso8859-14.enc
02/03/2004  08:15             1095 iso8859-15.enc
02/03/2004  08:15             1095 iso8859-16.enc
02/03/2004  08:15             1094 iso8859-2.enc
02/03/2004  08:15             1094 iso8859-3.enc
02/03/2004  08:15             1094 iso8859-4.enc
02/03/2004  08:15             1094 iso8859-5.enc
02/03/2004  08:15             1094 iso8859-6.enc
02/03/2004  08:15             1094 iso8859-7.enc
02/03/2004  08:15             1094 iso8859-8.enc
02/03/2004  08:15             1094 iso8859-9.enc
02/03/2004  08:15             1092 jis0201.enc
02/03/2004  08:15            80459 jis0208.enc
02/03/2004  08:15            70974 jis0212.enc
02/03/2004  08:15             1091 koi8-r.enc
02/03/2004  08:15             1091 koi8-u.enc
02/03/2004  08:15            92877 ksc5601.enc
02/03/2004  08:15             1096 macCentEuro.enc
02/03/2004  08:15             1096 macCroatian.enc
02/03/2004  08:15             1096 macCyrillic.enc
02/03/2004  08:15             1096 macDingbats.enc
02/03/2004  08:15             1093 macGreek.enc
02/03/2004  08:15             1095 macIceland.enc
02/03/2004  08:15            48028 macJapan.enc
02/03/2004  08:15             1093 macRoman.enc
02/03/2004  08:15             1095 macRomania.enc
02/03/2004  08:15             1092 macThai.enc
02/03/2004  08:15             1095 macTurkish.enc
02/03/2004  08:15             1095 macUkraine.enc
02/03/2004  08:15            41862 shiftjis.enc
02/03/2004  08:15             1091 symbol.enc
02/03/2004  08:15             1091 tis-620.enc
              78 fichier(s)        1413736 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4\http1.0

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             9759 http.tcl
02/03/2004  08:15               735 pkgIndex.tcl
               2 fichier(s)           10494 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4\http2.4

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15            23865 http.tcl
02/03/2004  08:15               726 pkgIndex.tcl
               2 fichier(s)           24591 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4\msgcat1.3

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15            12816 msgcat.tcl
02/03/2004  08:15               134 pkgIndex.tcl
               2 fichier(s)           12950 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4\opt0.4

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15            33022 optparse.tcl
02/03/2004  08:15               609 pkgIndex.tcl
               2 fichier(s)           33631 octets

 Rpertoire de D:\Scilab\tcl\tcl8.4\tcltest2.2

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15               610 pkgIndex.tcl
02/03/2004  08:15            98064 tcltest.tcl
               2 fichier(s)           98674 octets

 Rpertoire de D:\Scilab\tcl\tk8.4

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             9128 bgerror.tcl
02/03/2004  08:15            16698 button.tcl
02/03/2004  08:15             8985 choosedir.tcl
02/03/2004  08:15            21366 clrpick.tcl
02/03/2004  08:15             7698 comdlg.tcl
02/03/2004  08:15            26942 console.tcl
05/05/2004  08:28    <REP>          demos
02/03/2004  08:15             6827 dialog.tcl
02/03/2004  08:15            17019 entry.tcl
02/03/2004  08:15             5072 focus.tcl
05/05/2004  08:28    <REP>          images
02/03/2004  08:15            14121 listbox.tcl
02/03/2004  08:15            37364 menu.tcl
02/03/2004  08:15            27260 mkpsenc.tcl
02/03/2004  08:15            15934 msgbox.tcl
05/05/2004  08:28    <REP>          msgs
02/03/2004  08:15               803 obsolete.tcl
02/03/2004  08:15             1659 optMenu.tcl
02/03/2004  08:15             8004 palette.tcl
02/03/2004  08:15             5040 panedwindow.tcl
02/03/2004  08:15               141 pkgIndex.tcl
02/03/2004  08:15             9568 prolog.ps
02/03/2004  08:15             7540 safetk.tcl
02/03/2004  08:15             7866 scale.tcl
02/03/2004  08:15            12254 scrlbar.tcl
02/03/2004  08:15            15154 spinbox.tcl
02/03/2004  08:15            22210 tclIndex
02/03/2004  08:15             4675 tearoff.tcl
02/03/2004  08:15            31369 text.tcl
02/03/2004  08:15            17086 tk.tcl
02/03/2004  08:15             3855 tkAppInit.c
02/03/2004  08:15            49199 tkfbox.tcl
02/03/2004  08:15            11462 unsupported.tcl
02/03/2004  08:15            25258 xmfbox.tcl
              31 fichier(s)          447557 octets

 Rpertoire de D:\Scilab\tcl\tk8.4\demos

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             8138 arrow.tcl
02/03/2004  08:15             3086 bind.tcl
02/03/2004  08:15             1627 bitmap.tcl
02/03/2004  08:15             1797 browse
02/03/2004  08:15             1484 button.tcl
02/03/2004  08:15             1369 check.tcl
02/03/2004  08:15             1626 clrpick.tcl
02/03/2004  08:15             5193 colors.tcl
02/03/2004  08:15             3194 cscroll.tcl
02/03/2004  08:15             5068 ctext.tcl
02/03/2004  08:15               731 dialog1.tcl
02/03/2004  08:15               680 dialog2.tcl
02/03/2004  08:15             1583 entry1.tcl
02/03/2004  08:15             2309 entry2.tcl
02/03/2004  08:15             6134 entry3.tcl
02/03/2004  08:15             2133 filebox.tcl
02/03/2004  08:15            79359 floor.tcl
02/03/2004  08:15             1242 form.tcl
02/03/2004  08:15               547 hello
02/03/2004  08:15             1691 hscale.tcl
02/03/2004  08:15             2206 icon.tcl
02/03/2004  08:15             1148 image1.tcl
02/03/2004  08:15             3355 image2.tcl
05/05/2004  08:28    <REP>          images
02/03/2004  08:15             9864 items.tcl
02/03/2004  08:15             8206 ixset
02/03/2004  08:15             1462 label.tcl
02/03/2004  08:15             2087 labelframe.tcl
02/03/2004  08:15             6803 menu.tcl
02/03/2004  08:15             4531 menubu.tcl
02/03/2004  08:15             2175 msgbox.tcl
02/03/2004  08:15             1304 paned1.tcl
02/03/2004  08:15             2413 paned2.tcl
02/03/2004  08:15             2950 plot.tcl
02/03/2004  08:15             2801 puzzle.tcl
02/03/2004  08:15             2412 radio.tcl
02/03/2004  08:15             2135 README
02/03/2004  08:15             5310 rmt
02/03/2004  08:15             8109 rolodex
02/03/2004  08:15             5369 ruler.tcl
02/03/2004  08:15             2397 sayings.tcl
02/03/2004  08:15             4596 search.tcl
02/03/2004  08:15             1967 spin.tcl
02/03/2004  08:15             1224 square
02/03/2004  08:15             1865 states.tcl
02/03/2004  08:15             6962 style.tcl
02/03/2004  08:15             4354 tclIndex
02/03/2004  08:15            11539 tcolor
02/03/2004  08:15             3638 text.tcl
02/03/2004  08:15             1128 timer
02/03/2004  08:15             6753 twind.tcl
02/03/2004  08:15             2769 unicodeout.tcl
02/03/2004  08:15             1671 vscale.tcl
02/03/2004  08:15            12557 widget.tcl
              53 fichier(s)          267051 octets

 Rpertoire de D:\Scilab\tcl\tk8.4\demos\images

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15            51712 earth.gif
02/03/2004  08:15             6343 earthris.gif
02/03/2004  08:15            12720 face.bmp
02/03/2004  08:15             1886 flagdown.bmp
02/03/2004  08:15             1880 flagup.bmp
02/03/2004  08:15               275 gray25.bmp
02/03/2004  08:15             1883 letters.bmp
02/03/2004  08:15             1889 noletter.bmp
02/03/2004  08:15               272 pattern.bmp
02/03/2004  08:15             2341 tcllogo.gif
02/03/2004  08:15           196623 teapot.ppm
              11 fichier(s)          277824 octets

 Rpertoire de D:\Scilab\tcl\tk8.4\images

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15            18083 ActiveTclSplash.gif
02/03/2004  08:15            32900 logo.eps
02/03/2004  08:15             2341 logo100.gif
02/03/2004  08:15             1670 logo64.gif
02/03/2004  08:15            11000 logoLarge.gif
02/03/2004  08:15             3889 logoMed.gif
02/03/2004  08:15            27809 pwrdLogo.eps
02/03/2004  08:15             1615 pwrdLogo100.gif
02/03/2004  08:15             2489 pwrdLogo150.gif
02/03/2004  08:15             2981 pwrdLogo175.gif
02/03/2004  08:15             3491 pwrdLogo200.gif
02/03/2004  08:15             1171 pwrdLogo75.gif
02/03/2004  08:15               388 README
02/03/2004  08:15             5473 tai-ku.gif
02/03/2004  08:15             4710 uninstall.ico
              15 fichier(s)          120010 octets

 Rpertoire de D:\Scilab\tcl\tk8.4\msgs

05/05/2004  08:28    <REP>          .
05/05/2004  08:28    <REP>          ..
02/03/2004  08:15             3831 cs.msg
02/03/2004  08:15             3728 de.msg
02/03/2004  08:15             8610 el.msg
02/03/2004  08:15             2540 en.msg
02/03/2004  08:15                63 en_gb.msg
02/03/2004  08:15             3845 eo.msg
02/03/2004  08:15             3704 es.msg
02/03/2004  08:15             3727 fr.msg
02/03/2004  08:15             3544 it.msg
02/03/2004  08:15             7095 nl.msg
02/03/2004  08:15             3948 pl.msg
02/03/2004  08:15             7105 ru.msg
              12 fichier(s)           51740 octets
