|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: mkoctave MSVC 2008 ExpressDear Dr. Matsuoka and Huaizu You,
I encountered the same error message when I tried to run the oregonator.oct - File. However, I get the same error message with any other oct-File, so I don't think the problem is related to the code on your internet page. It rather seems to be an issue of the octave or MSVC configuration. Appearently some libraries required to run the oct-file cannot be found. I am using Octave 3.0.0 (MSVC) for windows and MSVC 2008 Express. I figured out that in order to compile oct-Files properly, two environment variables "LIB" and "INCLUDE" have to be defined in the Windows System (restart required!), pointing to the directories where the MSVC 9.0 and Microsoft SDK libraries and includes are located. Do you know by any chance if further symbols or environment variables need to be defined to run the .oct-files? Unfortunately I cannot find out which library is missing. I'd appreciate any comments or suggestions. Best regards, C Stehning
|
|
|
Re: mkoctave MSVC 2008 ExpressDear Huaizu You
I first ask you that you to subscribe to help@... from https://www.cae.wisc.edu/mailman/listinfo/help-octave Because this is complicated problem so that only I myself cannot solve this. So you should be involved in the open discussion as a questioner. **** This time, I have also failed. I cannot figure out why my first trail was successful. I checked the oregonator.oct created in the same directry in testOrego2.m. So I executed octave>testOrego2 The windows message "msvcp90.dll was not found" ..... appeared. I passed by it and get the error in octave screen pointed out from the questioner >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct >> error: lsode: expecting first argument to be a string >> error: evaluating assignment expression near line 6, column 3 >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' I checked where msvcp90.dll is. The msvcp90.dll exists in "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" I checked the path that "vcvarsall.bat" created PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin;c:\program files\imagemagick-6.3.5-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;D:\usr\Tatsu\program\ScriptTools;C:\Program Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program Files\wscite;C:\Program Files\Hidemaru;C:\Program Files\gnuplot-43pl0w32\gnuplot;C:\gs\gs8.60\bin;C:\gs\gs8.60\lib There is no "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT". So I added to add path to "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" ***** @echo off "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > nul path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT rem "C:\Programs\Octave-3.0.0" is the folder where the octave has been installed. "C:\Programs\Octave-3.0.0\bin\octave" ************** path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT is added. After that I tried octave>testOrego2 This time, another runtime error occurred. ++++++++++++++++++++++++++++++ Runtime Error! Program: C:\Programs\Octave-3.0.0\bin\octave.exe R6034 An application has made an attempt to load the Cruntime library incorrectly. Please contact the application's support team for more information. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I remember the threds. http://www.nabble.com/FW%3ARe%3A-note-for-mkoctfile-for-MSVC-%28MSVC2008%29-tt15126532.html#a15126532 In addtion, I cannot find the reason why my first trial was no problem. Perhaps something is different but I cannot find the reason at the moment. Regards Tatsuro ****************** Message from the questioner ****************** "Huaizu You <hyou@...>" wrote >Dear Prof. Matsuoka > >I tried the attachment, and still the same error showed up. Though I don't understand why it can't work, I got a clue which might be the cause of failure. When I typed 'help oregonator' in Octave, it showed up an error message: >error: could not find library or dependents: C:\Documents and Settings\hyou\octave\oregonator.oct > >It is strange that in that directory there is the oregonator.oct file and all others oregonator.lib, oregonator.exp, but it just can't find the library. I was thinking maybe it's because the white space in the path that results in the failure of searching. However, if so, why can I successfully compile the .cc file to .oct file using mkoctfile? It indeed generated the oregonator.oct from oregonator.cc. > >Or is it because there is something different between Octave-Forge-3.0.0 and Octave-MSVC-3.0.0? I installed octave forge 3.0.0 for Windows. And when I clicked on the link of downloading octave-msvc, it also directed to octave forge for Windows. > >Thank you very much for spending time understanding my problem and helped me solved it. I appreciate your help. > > >Best regards, >Huaizu You > >-----Original Message----- >From: Tatsuro MATSUOKA [mailto:tmacchant@...] >Sent: Saturday, March 08, 2008 12:10 AM >To: Huaizu You >Cc: help@...; 松岡辰郎 >Subject: Re: mkoctave MSVC 2008 Express > >Hello > >Thank you for your looking for my page >Mmmm.... >I have tested that the what was decribed worked. > >> error: lsode: expecting first argument to be a string >Is there any typing mistake in testOrego2.m? >The error said that the octave recognised the testOrego2.m but the script file has a bug. > >Please try the file attached. > >Regards > >Tatsuro > >--- Huaizu You <hyou@...> wrote: > >> Dear Prof. Matsuoka, >> >> I tried your method of making OCT files on octave from your website ( >> http://www.geocities.jp/tmoctwin/msvcoct.html ). >> I'm using Microsoft Visual Studio 2008 Express, and Forge Octave 3.0.0. The startup batch file >> ran successfully, and so did the mkoctfile command which generated oregonator.lib, >> oregonator.exp, oregonator.o, and oregonator.oct files in the same folder as oregonator.cc and >> testOrego2.m. (My current path was exactly the folder which contained oregonator.cc and >> testOrego2.m) However, later when I tried to run testOrego2.m on Octave, it kept saying >> >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct >> error: lsode: expecting first argument to be a string >> error: evaluating assignment expression near line 6, column 3 >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' >> >> Can you figure out what is the problem? I appreciate your help. >> >> Sincerely,the >> Huaizu You -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctave MSVC 2008 ExpressThis is a runtime library problem/mismatch, due to the fact that I compiled
the octave binary package with MSVC2005, which uses a different runtime lib than MSVC2008. This may not be a problem, except for 2 things (at least): 1) specific runtime objects will not cross DLL boundaries: for instance a FILE* created in one runtime lib will not be valid in the other one 2) runtime lib location/finding (the problem you actually have): WinXP uses a mechanism based on manifest files to find and load the correct runtime lib. This new mechanism allows MS to have several versions of the same library installed side-by-side; the manifest file is then a XML file stating which version of the DLL should be loaded for a given executable. There 2 ways to deal with manifest files: - the manifest file is a separate file installed along the executable: for an executable called prog.exe, the manifest file is prog.exe.manifest - the manifest file is embedded into the executable; I use this option to create the binary package as it does not require installing additional files. As a consequence, octave.exe is "ready" to find and load the MSVC2005 runtime libs (msvcr80.dll and msvcp80.dll); but it is not ready for the MSVC2009 runtime libs. DLL's that uses this mechanism are located in a subdir of C:\WINDOWS\WinSxS, which is the location you should look for when searching for msvcp90.dll. The DLL's found in the MSVC2009 installation dir are just provided for redistribution. However, you can't just add the DLL dir to your PATH variable, this is not the way WinXP expects to load those libs and it ends up with the error you see. The correct way is through manifest files. Now, having said that, I'm not sure if there's a way to solve your problem: using MSVC2008 with the binary package that is compiled with MSVC2005. The only way I can think of is to provide a manifest file (octave.exe.manifest); but even that I'm not sure it'll work, because octave.exe has already an embedded manifest file. However, here's what you can try: 1) create a file test.c with this content: int main(void) { return 0; } 2) compile this file with: cl -MD test.c 3) this creates a manifest file test.exe.manifest 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest 5) restart octave and try again The other solution is to rebuild octave with MSVC2008. If anybody wants to give it a try, there is a compilation script in octave-forge (admin/Windows/msvc/run_compilation.sh) that automates almost everything, including downloading and compiling dependencies. Michael. 2008/3/11 Tatsuro MATSUOKA <tmacchant@...>: > Dear Huaizu You > > I first ask you that you to subscribe to help@... from > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > Because this is complicated problem so that only I myself cannot solve this. > So you should be involved in the open discussion as a questioner. > > **** > This time, I have also failed. > I cannot figure out why my first trail was successful. > > I checked the oregonator.oct created in the same directry in testOrego2.m. > > So I executed > > octave>testOrego2 > The windows message > "msvcp90.dll was not found" ..... > appeared. I passed by it and get the error in octave screen pointed out from the questioner > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > >> error: lsode: expecting first argument to be a string > >> error: evaluating assignment expression near line 6, column 3 > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > I checked where msvcp90.dll is. > The msvcp90.dll exists in > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > I checked the path that "vcvarsall.bat" created > > PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio > 9.0\Common7\Tools;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program > Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft > SDKs\Windows\v6.0A\bin;c:\program > files\imagemagick-6.3.5-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > Files\Microsoft SQL Server\90\Tools\binn\;D:\usr\Tatsu\program\ScriptTools;C:\Program > Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program Files\wscite;C:\Program > Files\Hidemaru;C:\Program Files\gnuplot-43pl0w32\gnuplot;C:\gs\gs8.60\bin;C:\gs\gs8.60\lib > > There is no > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT". > > So I added to > add path to > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > ***** > @echo off > "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > nul > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > rem "C:\Programs\Octave-3.0.0" is the folder where the octave has been installed. > "C:\Programs\Octave-3.0.0\bin\octave" > ************** > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > is added. > > After that I tried > octave>testOrego2 > > > This time, another runtime error occurred. > ++++++++++++++++++++++++++++++ > Runtime Error! > > Program: C:\Programs\Octave-3.0.0\bin\octave.exe > > R6034 > An application has made an attempt to load the Cruntime library incorrectly. > Please contact the application's support team for more information. > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > I remember the threds. > > http://www.nabble.com/FW%3ARe%3A-note-for-mkoctfile-for-MSVC-%28MSVC2008%29-tt15126532.html#a15126532 > > In addtion, I cannot find the reason why my first trial was no problem. > Perhaps something is different but I cannot find the reason at the moment. > > Regards > > Tatsuro > > ****************** > Message from the questioner > ****************** > "Huaizu You <hyou@...>" wrote > > > >Dear Prof. Matsuoka > > > >I tried the attachment, and still the same error showed up. Though I don't understand why it can't > work, I got a clue which might be the cause of failure. When I typed 'help oregonator' in Octave, it > showed up an error message: > >error: could not find library or dependents: C:\Documents and Settings\hyou\octave\oregonator.oct > > > >It is strange that in that directory there is the oregonator.oct file and all others oregonator.lib, > oregonator.exp, but it just can't find the library. I was thinking maybe it's because the white space > in the path that results in the failure of searching. However, if so, why can I successfully compile > the .cc file to .oct file using mkoctfile? It indeed generated the oregonator.oct from oregonator.cc. > > > >Or is it because there is something different between Octave-Forge-3.0.0 and Octave-MSVC-3.0.0? I > installed octave forge 3.0.0 for Windows. And when I clicked on the link of downloading octave-msvc, > it also directed to octave forge for Windows. > > > >Thank you very much for spending time understanding my problem and helped me solved it. I appreciate > your help. > > > > > >Best regards, > >Huaizu You > > > >-----Original Message----- > >From: Tatsuro MATSUOKA [mailto:tmacchant@...] > >Sent: Saturday, March 08, 2008 12:10 AM > >To: Huaizu You > >Cc: help@...; 松岡辰郎 > >Subject: Re: mkoctave MSVC 2008 Express > > > >Hello > > > >Thank you for your looking for my page > >Mmmm.... > >I have tested that the what was decribed worked. > > > >> error: lsode: expecting first argument to be a string > >Is there any typing mistake in testOrego2.m? > >The error said that the octave recognised the testOrego2.m but the script file has a bug. > > > >Please try the file attached. > > > >Regards > > > >Tatsuro > > > >--- Huaizu You <hyou@...> wrote: > > > >> Dear Prof. Matsuoka, > >> > >> I tried your method of making OCT files on octave from your website ( > >> http://www.geocities.jp/tmoctwin/msvcoct.html ). > >> I'm using Microsoft Visual Studio 2008 Express, and Forge Octave 3.0.0. The startup batch file > >> ran successfully, and so did the mkoctfile command which generated oregonator.lib, > >> oregonator.exp, oregonator.o, and oregonator.oct files in the same folder as oregonator.cc and > >> testOrego2.m. (My current path was exactly the folder which contained oregonator.cc and > >> testOrego2.m) However, later when I tried to run testOrego2.m on Octave, it kept saying > >> > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > >> error: lsode: expecting first argument to be a string > >> error: evaluating assignment expression near line 6, column 3 > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > >> > >> Can you figure out what is the problem? I appreciate your help. > >> > >> Sincerely,the > >> Huaizu You > > > > -------------------------------------- > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > http://pr.mail.yahoo.co.jp/toolbar/ > Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctave MSVC 2008 ExpressHello Michael
I strongly appreciate for your extensive explanation for this problem. I will try the following but it seem to be not easy work for me. Hello Huaizu You Do you want to try the below by yourself and to report results here ? At my web page, I described use of VC++ 2008 should be ignored at the moment. Regards Tatsuro ""Michael Goffioul" <michael.goffioul@...> Wrote >This is a runtime library problem/mismatch, due to the fact that I compiled >the octave binary package with MSVC2005, which uses a different runtime >lib than MSVC2008. This may not be a problem, except for 2 things (at >least): > >1) specific runtime objects will not cross DLL boundaries: for instance a >FILE* created in one runtime lib will not be valid in the other one > >2) runtime lib location/finding (the problem you actually have): WinXP uses >a mechanism based on manifest files to find and load the correct runtime >lib. This new mechanism allows MS to have several versions of the same >library installed side-by-side; the manifest file is then a XML file stating >which version of the DLL should be loaded for a given executable. There >2 ways to deal with manifest files: > - the manifest file is a separate file installed along the executable: for > an executable called prog.exe, the manifest file is prog.exe.manifest > - the manifest file is embedded into the executable; I use this option to > create the binary package as it does not require installing additional > files. As a consequence, octave.exe is "ready" to find and load the > MSVC2005 runtime libs (msvcr80.dll and msvcp80.dll); but it is not > ready for the MSVC2009 runtime libs. > >DLL's that uses this mechanism are located in a subdir of C:\WINDOWS\WinSxS, >which is the location you should look for when searching for msvcp90.dll. The >DLL's found in the MSVC2009 installation dir are just provided for >redistribution. >However, you can't just add the DLL dir to your PATH variable, this is not the >way WinXP expects to load those libs and it ends up with the error you see. >The correct way is through manifest files. > >Now, having said that, I'm not sure if there's a way to solve your >problem: using >MSVC2008 with the binary package that is compiled with MSVC2005. The only >way I can think of is to provide a manifest file >(octave.exe.manifest); but even that >I'm not sure it'll work, because octave.exe has already an embedded manifest >file. However, here's what you can try: > >1) create a file test.c with this content: > >int main(void) { return 0; } > >2) compile this file with: cl -MD test.c > >3) this creates a manifest file test.exe.manifest > >4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > >5) restart octave and try again > >The other solution is to rebuild octave with MSVC2008. If anybody wants to give >it a try, there is a compilation script in octave-forge >(admin/Windows/msvc/run_compilation.sh) >that automates almost everything, including downloading and compiling >dependencies. > >Michael. > -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
mkoctave MSVC 2008 Express (Again)Hello
I have been left from the University and I cannot test the below. This is because I did not install MSVC2008. Now I am in lunch time at the university. I have tested the below. > 5) restart octave At the restar, I met troubles. First time, the system tell me that msvcp80.dll was not found. At the restart an application error occured. So I add the path to the ....\bin\Microsoft.VC80.CRT After that I retry it This time system told "Application cannot be intiarized correctly (0x80000003). Finish the application to press [OK]." Mmmmm, unfortunately it is not successful. However, my windows is not in good condition so I cannot assert that the way suggest by Michael does not work. ************************************************* Are there anyone who would like to try to do it? ************************************************* Anyway I personally am not the MSVC-octave user. (I usually use octave on cygwin. ) I do not want to purchase it any longer and will delete the descriptions about MSVC2008 in my web if noone try this matter. Regarads Tatsuro. > 1) create a file test.c with this content: > > int main(void) { return 0; } > > 2) compile this file with: cl -MD test.c > > 3) this creates a manifest file test.exe.manifest > > 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > > 5) restart octave and try again > > The other solution is to rebuild octave with MSVC2008. If anybody wants to give > it a try, there is a compilation script in octave-forge > (admin/Windows/msvc/run_compilation.sh) > that automates almost everything, including downloading and compiling > dependencies. > > Michael. > > 2008/3/11 Tatsuro MATSUOKA <tmacchant@...>: > > Dear Huaizu You > > > > I first ask you that you to subscribe to help@... from > > > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > > Because this is complicated problem so that only I myself cannot solve this. > > So you should be involved in the open discussion as a questioner. > > > > **** > > This time, I have also failed. > > I cannot figure out why my first trail was successful. > > > > I checked the oregonator.oct created in the same directry in testOrego2.m. > > > > So I executed > > > > octave>testOrego2 > > The windows message > > "msvcp90.dll was not found" ..... > > appeared. I passed by it and get the error in octave screen pointed out from the questioner > > > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > >> error: lsode: expecting first argument to be a string > > >> error: evaluating assignment expression near line 6, column 3 > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > > > > I checked where msvcp90.dll is. > > The msvcp90.dll exists in > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > I checked the path that "vcvarsall.bat" created > > > > PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft > Visual Studio > > 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio > > > > > Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft > > SDKs\Windows\v6.0A\bin;c:\program > > files\imagemagick-6.3.5-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > > Files\Microsoft SQL Server\90\Tools\binn\;D:\usr\Tatsu\program\ScriptTools;C:\Program > > Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program Files\wscite;C:\Program > > Files\Hidemaru;C:\Program Files\gnuplot-43pl0w32\gnuplot;C:\gs\gs8.60\bin;C:\gs\gs8.60\lib > > > > There is no > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT". > > > > So I added to > > add path to > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > ***** > > @echo off > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > nul > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > rem "C:\Programs\Octave-3.0.0" is the folder where the octave has been installed. > > "C:\Programs\Octave-3.0.0\bin\octave" > > ************** > > > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > is added. > > > > After that I tried > > octave>testOrego2 > > > > > > This time, another runtime error occurred. > > ++++++++++++++++++++++++++++++ > > Runtime Error! > > > > Program: C:\Programs\Octave-3.0.0\bin\octave.exe > > > > R6034 > > An application has made an attempt to load the Cruntime library incorrectly. > > Please contact the application's support team for more information. > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > I remember the threds. > > > > > > > > > In addtion, I cannot find the reason why my first trial was no problem. > > Perhaps something is different but I cannot find the reason at the moment. > > > > Regards > > > > Tatsuro > > > > ****************** > > Message from the questioner > > ****************** > > "Huaizu You <hyou@...>" wrote > > > > > > >Dear Prof. Matsuoka > > > > > >I tried the attachment, and still the same error showed up. Though I don't understand why it > can't > > work, I got a clue which might be the cause of failure. When I typed 'help oregonator' in > Octave, it > > showed up an error message: > > >error: could not find library or dependents: C:\Documents and > Settings\hyou\octave\oregonator.oct > > > > > >It is strange that in that directory there is the oregonator.oct file and all others > oregonator.lib, > > oregonator.exp, but it just can't find the library. I was thinking maybe it's because the > white space > > in the path that results in the failure of searching. However, if so, why can I successfully > compile > > the .cc file to .oct file using mkoctfile? It indeed generated the oregonator.oct from > oregonator.cc. > > > > > >Or is it because there is something different between Octave-Forge-3.0.0 and > Octave-MSVC-3.0.0? I > > installed octave forge 3.0.0 for Windows. And when I clicked on the link of downloading > octave-msvc, > > it also directed to octave forge for Windows. > > > > > >Thank you very much for spending time understanding my problem and helped me solved it. I > appreciate > > your help. > > > > > > > > >Best regards, > > >Huaizu You > > > > > >-----Original Message----- > > >From: Tatsuro MATSUOKA [mailto:tmacchant@...] > > >Sent: Saturday, March 08, 2008 12:10 AM > > >To: Huaizu You > > >Cc: help@...; 松岡辰郎 > > >Subject: Re: mkoctave MSVC 2008 Express > > > > > >Hello > > > > > >Thank you for your looking for my page > > >Mmmm.... > > >I have tested that the what was decribed worked. > > > > > >> error: lsode: expecting first argument to be a string > > >Is there any typing mistake in testOrego2.m? > > >The error said that the octave recognised the testOrego2.m but the script file has a bug. > > > > > >Please try the file attached. > > > > > >Regards > > > > > >Tatsuro > > > > > >--- Huaizu You <hyou@...> wrote: > > > > > >> Dear Prof. Matsuoka, > > >> > > >> I tried your method of making OCT files on octave from your website ( > > >> http://www.geocities.jp/tmoctwin/msvcoct.html ). > > >> I'm using Microsoft Visual Studio 2008 Express, and Forge Octave 3.0.0. The startup batch > file > > >> ran successfully, and so did the mkoctfile command which generated oregonator.lib, > > >> oregonator.exp, oregonator.o, and oregonator.oct files in the same folder as oregonator.cc > and > > >> testOrego2.m. (My current path was exactly the folder which contained oregonator.cc and > > >> testOrego2.m) However, later when I tried to run testOrego2.m on Octave, it kept saying > > >> > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > >> error: lsode: expecting first argument to be a string > > >> error: evaluating assignment expression near line 6, column 3 > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > >> > > >> Can you figure out what is the problem? I appreciate your help. > > >> > > >> Sincerely,the > > >> Huaizu You > > > > > > > > -------------------------------------- > > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > > http://pr.mail.yahoo.co.jp/toolbar/ > > > _______________________________________________ > Help-octave mailing list > Help-octave@... > https://www.cae.wisc.edu/mailman/listinfo/help-octave > -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctave MSVC 2008 Express (Again)Hello
>Anyway I personally am not the MSVC-octave user. Sorry it was wrong. In unviersity lecture I will use MSVC-Octave 3.0.0. I am a user of MSVC-octave. But in the course, I cannot treat mkoctfile because of the time limitation. So it is not serious to me. ************************* Hi Micahel I would like to you to revise the readme.txt. This version of Octave has been compiled with Microsoft Visual C++ 8.0, which is available for free download from http://msdn.microsoft.com/vstudio/express/visualc/ Here we can now only download the Microsoft Visual C++ 9.0. Please change it by the below, http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E&displaylang=en Regards Tatsuro. > 1) create a file test.c with this content: > > int main(void) { return 0; } > > 2) compile this file with: cl -MD test.c > > 3) this creates a manifest file test.exe.manifest > > 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > > 5) restart octave and try again > > The other solution is to rebuild octave with MSVC2008. If anybody wants to give > it a try, there is a compilation script in octave-forge > (admin/Windows/msvc/run_compilation.sh) > that automates almost everything, including downloading and compiling > dependencies. > > Michael. > > 2008/3/11 Tatsuro MATSUOKA <tmacchant@...>: > > Dear Huaizu You > > > > I first ask you that you to subscribe to help@... from > > > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > > Because this is complicated problem so that only I myself cannot solve this. > > So you should be involved in the open discussion as a questioner. > > > > **** > > This time, I have also failed. > > I cannot figure out why my first trail was successful. > > > > I checked the oregonator.oct created in the same directry in testOrego2.m. > > > > So I executed > > > > octave>testOrego2 > > The windows message > > "msvcp90.dll was not found" ..... > > appeared. I passed by it and get the error in octave screen pointed out from the questioner > > > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > >> error: lsode: expecting first argument to be a string > > >> error: evaluating assignment expression near line 6, column 3 > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > > > > I checked where msvcp90.dll is. > > The msvcp90.dll exists in > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > I checked the path that "vcvarsall.bat" created > > > > PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft > Visual Studio > > 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio > > > > > Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft > > SDKs\Windows\v6.0A\bin;c:\program > > files\imagemagick-6.3.5-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > > Files\Microsoft SQL Server\90\Tools\binn\;D:\usr\Tatsu\program\ScriptTools;C:\Program > > Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program Files\wscite;C:\Program > > Files\Hidemaru;C:\Program Files\gnuplot-43pl0w32\gnuplot;C:\gs\gs8.60\bin;C:\gs\gs8.60\lib > > > > There is no > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT". > > > > So I added to > > add path to > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > ***** > > @echo off > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > nul > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > rem "C:\Programs\Octave-3.0.0" is the folder where the octave has been installed. > > "C:\Programs\Octave-3.0.0\bin\octave" > > ************** > > > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > is added. > > > > After that I tried > > octave>testOrego2 > > > > > > This time, another runtime error occurred. > > ++++++++++++++++++++++++++++++ > > Runtime Error! > > > > Program: C:\Programs\Octave-3.0.0\bin\octave.exe > > > > R6034 > > An application has made an attempt to load the Cruntime library incorrectly. > > Please contact the application's support team for more information. > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > I remember the threds. > > > > > > > > > In addtion, I cannot find the reason why my first trial was no problem. > > Perhaps something is different but I cannot find the reason at the moment. > > > > Regards > > > > Tatsuro > > > > ****************** > > Message from the questioner > > ****************** > > "Huaizu You <hyou@...>" wrote > > > > > > >Dear Prof. Matsuoka > > > > > >I tried the attachment, and still the same error showed up. Though I don't understand why it > can't > > work, I got a clue which might be the cause of failure. When I typed 'help oregonator' in > Octave, it > > showed up an error message: > > >error: could not find library or dependents: C:\Documents and > Settings\hyou\octave\oregonator.oct > > > > > >It is strange that in that directory there is the oregonator.oct file and all others > oregonator.lib, > > oregonator.exp, but it just can't find the library. I was thinking maybe it's because the > white space > > in the path that results in the failure of searching. However, if so, why can I successfully > compile > > the .cc file to .oct file using mkoctfile? It indeed generated the oregonator.oct from > oregonator.cc. > > > > > >Or is it because there is something different between Octave-Forge-3.0.0 and > Octave-MSVC-3.0.0? I > > installed octave forge 3.0.0 for Windows. And when I clicked on the link of downloading > octave-msvc, > > it also directed to octave forge for Windows. > > > > > >Thank you very much for spending time understanding my problem and helped me solved it. I > appreciate > > your help. > > > > > > > > >Best regards, > > >Huaizu You > > > > > >-----Original Message----- > > >From: Tatsuro MATSUOKA [mailto:tmacchant@...] > > >Sent: Saturday, March 08, 2008 12:10 AM > > >To: Huaizu You > > >Cc: help@...; 松岡辰郎 > > >Subject: Re: mkoctave MSVC 2008 Express > > > > > >Hello > > > > > >Thank you for your looking for my page > > >Mmmm.... > > >I have tested that the what was decribed worked. > > > > > >> error: lsode: expecting first argument to be a string > > >Is there any typing mistake in testOrego2.m? > > >The error said that the octave recognised the testOrego2.m but the script file has a bug. > > > > > >Please try the file attached. > > > > > >Regards > > > > > >Tatsuro > > > > > >--- Huaizu You <hyou@...> wrote: > > > > > >> Dear Prof. Matsuoka, > > >> > > >> I tried your method of making OCT files on octave from your website ( > > >> http://www.geocities.jp/tmoctwin/msvcoct.html ). > > >> I'm using Microsoft Visual Studio 2008 Express, and Forge Octave 3.0.0. The startup batch > file > > >> ran successfully, and so did the mkoctfile command which generated oregonator.lib, > > >> oregonator.exp, oregonator.o, and oregonator.oct files in the same folder as oregonator.cc > and > > >> testOrego2.m. (My current path was exactly the folder which contained oregonator.cc and > > >> testOrego2.m) However, later when I tried to run testOrego2.m on Octave, it kept saying > > >> > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > >> error: lsode: expecting first argument to be a string > > >> error: evaluating assignment expression near line 6, column 3 > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > >> > > >> Can you figure out what is the problem? I appreciate your help. > > >> > > >> Sincerely,the > > >> Huaizu You > > > > > > > > -------------------------------------- > > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > > http://pr.mail.yahoo.co.jp/toolbar/ > > > _______________________________________________ > Help-octave mailing list > Help-octave@... > https://www.cae.wisc.edu/mailman/listinfo/help-octave > -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctave MSVC 2008 Express (Need Help)Hello
As a web maintainer, my attitude of the issue in ht previous mails was not good. I would like to express my apology to related peoples. However, my ability is limited so that it is difficult to solve the issue only by myself. I really need a help by power users. For the moment, plese use vc expess 2005 and platform SDK. However, they are obsolate to the MS. So it is not easy to find them. VC http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&DisplayLang=en Platform SDK http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en I will revise my web. The web install file names are Vc vcsetup.exe (all versions have the same name, please care) Platform SDK PSDK-amd64.exe PSDK-ia64.exe PSDK-x86.exe Please select one of the above files according to kind of CPU of your computputer. I am now re-installing the VC++ 2005 but there have been some troubles at the moment. After I have finished, I will report here. Regards Tatsuro --- Tatsuro MATSUOKA <tmacchant@...> wrote: > Hello > > >Anyway I personally am not the MSVC-octave user. > Sorry it was wrong. In unviersity lecture I will use MSVC-Octave 3.0.0. > I am a user of MSVC-octave. But in the course, I cannot treat mkoctfile because of the time > limitation. So it is not serious to me. > > > ************************* > Hi Micahel > > I would like to you to revise the readme.txt. > > This version of Octave has been > compiled with Microsoft Visual C++ 8.0, which is available for free > download from > > http://msdn.microsoft.com/vstudio/express/visualc/ > > Here we can now only download the Microsoft Visual C++ 9.0. > > Please change it by the below, > > > > > Regards > > Tatsuro. > > > > 1) create a file test.c with this content: > > > > int main(void) { return 0; } > > > > 2) compile this file with: cl -MD test.c > > > > 3) this creates a manifest file test.exe.manifest > > > > 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > > > > 5) restart octave and try again > > > > > > > > The other solution is to rebuild octave with MSVC2008. If anybody wants to give > > it a try, there is a compilation script in octave-forge > > (admin/Windows/msvc/run_compilation.sh) > > that automates almost everything, including downloading and compiling > > dependencies. > > > > Michael. > > > > 2008/3/11 Tatsuro MATSUOKA <tmacchant@...>: > > > Dear Huaizu You > > > > > > I first ask you that you to subscribe to help@... from > > > > > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > > > > Because this is complicated problem so that only I myself cannot solve this. > > > So you should be involved in the open discussion as a questioner. > > > > > > **** > > > This time, I have also failed. > > > I cannot figure out why my first trail was successful. > > > > > > I checked the oregonator.oct created in the same directry in testOrego2.m. > > > > > > So I executed > > > > > > octave>testOrego2 > > > The windows message > > > "msvcp90.dll was not found" ..... > > > appeared. I passed by it and get the error in octave screen pointed out from the > questioner > > > > > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > > >> error: lsode: expecting first argument to be a string > > > >> error: evaluating assignment expression near line 6, column 3 > > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > > > > > > > I checked where msvcp90.dll is. > > > The msvcp90.dll exists in > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > > > I checked the path that "vcvarsall.bat" created > > > > > > PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft > > Visual Studio > > > 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio > > > > > > > > > Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft > > > SDKs\Windows\v6.0A\bin;c:\program > > > > files\imagemagick-6.3.5-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > > > Files\Microsoft SQL Server\90\Tools\binn\;D:\usr\Tatsu\program\ScriptTools;C:\Program > > > Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program Files\wscite;C:\Program > > > Files\Hidemaru;C:\Program Files\gnuplot-43pl0w32\gnuplot;C:\gs\gs8.60\bin;C:\gs\gs8.60\lib > > > > > > There is no > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT". > > > > > > So I added to > > > add path to > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > > > ***** > > > @echo off > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > nul > > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > > rem "C:\Programs\Octave-3.0.0" is the folder where the octave has been installed. > > > "C:\Programs\Octave-3.0.0\bin\octave" > > > ************** > > > > > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > > is added. > > > > > > After that I tried > > > octave>testOrego2 > > > > > > > > > This time, another runtime error occurred. > > > ++++++++++++++++++++++++++++++ > > > Runtime Error! > > > > > > Program: C:\Programs\Octave-3.0.0\bin\octave.exe > > > > > > R6034 > > > An application has made an attempt to load the Cruntime library incorrectly. > > > Please contact the application's support team for more information. > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > I remember the threds. > > > > > > > > > > > > > > > In addtion, I cannot find the reason why my first trial was no problem. > > > Perhaps something is different but I cannot find the reason at the moment. > > > > > > Regards > > > > > > Tatsuro > > > > > > ****************** > > > Message from the questioner > > > ****************** > > > "Huaizu You <hyou@...>" wrote > > > > > > > > > >Dear Prof. Matsuoka > > > > > > > >I tried the attachment, and still the same error showed up. Though I don't understand why > it > > can't > > > work, I got a clue which might be the cause of failure. When I typed 'help oregonator' in > > Octave, it > > > showed up an error message: > > > >error: could not find library or dependents: C:\Documents and > > Settings\hyou\octave\oregonator.oct > > > > > > > >It is strange that in that directory there is the oregonator.oct file and all others > > oregonator.lib, > > > oregonator.exp, but it just can't find the library. I was thinking maybe it's because the > > white space > > > in the path that results in the failure of searching. However, if so, why can I > successfully > > compile > > > the .cc file to .oct file using mkoctfile? It indeed generated the oregonator.oct from > > oregonator.cc. > > > > > > > >Or is it because there is something different between Octave-Forge-3.0.0 and > > Octave-MSVC-3.0.0? I > > > installed octave forge 3.0.0 for Windows. And when I clicked on the link of downloading > > octave-msvc, > > > it also directed to octave forge for Windows. > > > > > > > >Thank you very much for spending time understanding my problem and helped me solved it. I > > appreciate > > > your help. > > > > > > > > > > > >Best regards, > > > >Huaizu You > > > > > > > >-----Original Message----- > > > >From: Tatsuro MATSUOKA [mailto:tmacchant@...] > > > >Sent: Saturday, March 08, 2008 12:10 AM > > > >To: Huaizu You > > > >Cc: help@...; 松岡辰郎 > > > >Subject: Re: mkoctave MSVC 2008 Express > > > > > > > >Hello > > > > > > > >Thank you for your looking for my page > > > >Mmmm.... > > > >I have tested that the what was decribed worked. > > > > > > > >> error: lsode: expecting first argument to be a string > > > >Is there any typing mistake in testOrego2.m? > > > >The error said that the octave recognised the testOrego2.m but the script file has a bug. > > > > > > > >Please try the file attached. > > > > > > > >Regards > > > > > > > >Tatsuro > > > > > > > >--- Huaizu You <hyou@...> wrote: > > > > > > > >> Dear Prof. Matsuoka, > > > >> > > > >> I tried your method of making OCT files on octave from your website ( > > > >> http://www.geocities.jp/tmoctwin/msvcoct.html ). > > > >> I'm using Microsoft Visual Studio 2008 Express, and Forge Octave 3.0.0. The startup > batch > > file > > > >> ran successfully, and so did the mkoctfile command which generated oregonator.lib, > > > >> oregonator.exp, oregonator.o, and oregonator.oct files in the same folder as > oregonator.cc > > and > > > >> testOrego2.m. (My current path was exactly the folder which contained oregonator.cc and > > > >> testOrego2.m) However, later when I tried to run testOrego2.m on Octave, it kept saying > > > >> > > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > > >> error: lsode: expecting first argument to be a string > > > >> error: evaluating assignment expression near line 6, column 3 > > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > >> > > > >> Can you figure out what is the problem? I appreciate your help. > > > >> > > > >> Sincerely,the > > > >> Huaizu You > > > > > > > > > > > > -------------------------------------- > > > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > > > http://pr.mail.yahoo.co.jp/toolbar/ > > > > > _______________________________________________ > > Help-octave mailing list > > Help-octave@... > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > > > -------------------------------------- > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > http://pr.mail.yahoo.co.jp/toolbar/ > _______________________________________________ > Help-octave mailing list > Help-octave@... > https://www.cae.wisc.edu/mailman/listinfo/help-octave > -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctave MSVC 2008 Express (Need Help)2008/3/21 Tatsuro MATSUOKA <tmacchant@...>:
> Hello > > As a web maintainer, my attitude of the issue in ht previous mails was not good. > I would like to express my apology to related peoples. > > However, my ability is limited so that it is difficult to solve the issue only by myself. > > I really need a help by power users. > For the moment, plese use vc expess 2005 and platform SDK. > However, they are obsolate to the MS. Thanks for all your efforts on this topic. I think that the only long-term solution would be to switch to MSVC 2008 to generate the next binary package. I'm a bit reluctant to do it, because it took me quite some time to get a working setup, and switching to another compiler would mean for me to recompile everything (including all dependencies). This should happen smoothly as I have now top-level scripts to take care of it, but this takes a huge amount of time, which I don't have for the time being. Michael. _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctfile MSVC 2008 Express (Need Help)Hello
I have finished to downgrading to VC++ Express 2005. In the installing I met the following in the Microsoft page. Under certain conditions when installing on Windows Server 2003 or Windows XP, a digital signature verification error can occur. Please see Knowledge base article 925336 for details and resolution. However, retry install have finished with success. I confirmded the mkoctfile works with VC++ Express 2005 + Platform SDK. For the MCVC++ express 2008, I need help with the power user of windows. Regards Tatsuro --- Tatsuro MATSUOKA <tmacchant@...> wrote: > Hello > > >Anyway I personally am not the MSVC-octave user. > Sorry it was wrong. In unviersity lecture I will use MSVC-Octave 3.0.0. > I am a user of MSVC-octave. But in the course, I cannot treat mkoctfile because of the time > limitation. So it is not serious to me. > > > ************************* > Hi Micahel > > I would like to you to revise the readme.txt. > > This version of Octave has been > compiled with Microsoft Visual C++ 8.0, which is available for free > download from > > http://msdn.microsoft.com/vstudio/express/visualc/ > > Here we can now only download the Microsoft Visual C++ 9.0. > > Please change it by the below, > > > > > Regards > > Tatsuro. > > > > 1) create a file test.c with this content: > > > > int main(void) { return 0; } > > > > 2) compile this file with: cl -MD test.c > > > > 3) this creates a manifest file test.exe.manifest > > > > 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > > > > 5) restart octave and try again > > > > > > > > The other solution is to rebuild octave with MSVC2008. If anybody wants to give > > it a try, there is a compilation script in octave-forge > > (admin/Windows/msvc/run_compilation.sh) > > that automates almost everything, including downloading and compiling > > dependencies. > > > > Michael. > > > > 2008/3/11 Tatsuro MATSUOKA <tmacchant@...>: > > > Dear Huaizu You > > > > > > I first ask you that you to subscribe to help@... from > > > > > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > > > > Because this is complicated problem so that only I myself cannot solve this. > > > So you should be involved in the open discussion as a questioner. > > > > > > **** > > > This time, I have also failed. > > > I cannot figure out why my first trail was successful. > > > > > > I checked the oregonator.oct created in the same directry in testOrego2.m. > > > > > > So I executed > > > > > > octave>testOrego2 > > > The windows message > > > "msvcp90.dll was not found" ..... > > > appeared. I passed by it and get the error in octave screen pointed out from the > questioner > > > > > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > > >> error: lsode: expecting first argument to be a string > > > >> error: evaluating assignment expression near line 6, column 3 > > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > > > > > > > I checked where msvcp90.dll is. > > > The msvcp90.dll exists in > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > > > I checked the path that "vcvarsall.bat" created > > > > > > PATH=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft > > Visual Studio > > > 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio > > > > > > > > > Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft > > > SDKs\Windows\v6.0A\bin;c:\program > > > > files\imagemagick-6.3.5-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program > > > Files\Microsoft SQL Server\90\Tools\binn\;D:\usr\Tatsu\program\ScriptTools;C:\Program > > > Files\ckw;C:\Program Files\gawk-mbcs-win32-20070407;C:\Program Files\wscite;C:\Program > > > Files\Hidemaru;C:\Program Files\gnuplot-43pl0w32\gnuplot;C:\gs\gs8.60\bin;C:\gs\gs8.60\lib > > > > > > There is no > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT". > > > > > > So I added to > > > add path to > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" > > > > > > ***** > > > @echo off > > > "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > nul > > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > > rem "C:\Programs\Octave-3.0.0" is the folder where the octave has been installed. > > > "C:\Programs\Octave-3.0.0\bin\octave" > > > ************** > > > > > > path %path%;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT > > > is added. > > > > > > After that I tried > > > octave>testOrego2 > > > > > > > > > This time, another runtime error occurred. > > > ++++++++++++++++++++++++++++++ > > > Runtime Error! > > > > > > Program: C:\Programs\Octave-3.0.0\bin\octave.exe > > > > > > R6034 > > > An application has made an attempt to load the Cruntime library incorrectly. > > > Please contact the application's support team for more information. > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > I remember the threds. > > > > > > > > > > > > > > > In addtion, I cannot find the reason why my first trial was no problem. > > > Perhaps something is different but I cannot find the reason at the moment. > > > > > > Regards > > > > > > Tatsuro > > > > > > ****************** > > > Message from the questioner > > > ****************** > > > "Huaizu You <hyou@...>" wrote > > > > > > > > > >Dear Prof. Matsuoka > > > > > > > >I tried the attachment, and still the same error showed up. Though I don't understand why > it > > can't > > > work, I got a clue which might be the cause of failure. When I typed 'help oregonator' in > > Octave, it > > > showed up an error message: > > > >error: could not find library or dependents: C:\Documents and > > Settings\hyou\octave\oregonator.oct > > > > > > > >It is strange that in that directory there is the oregonator.oct file and all others > > oregonator.lib, > > > oregonator.exp, but it just can't find the library. I was thinking maybe it's because the > > white space > > > in the path that results in the failure of searching. However, if so, why can I > successfully > > compile > > > the .cc file to .oct file using mkoctfile? It indeed generated the oregonator.oct from > > oregonator.cc. > > > > > > > >Or is it because there is something different between Octave-Forge-3.0.0 and > > Octave-MSVC-3.0.0? I > > > installed octave forge 3.0.0 for Windows. And when I clicked on the link of downloading > > octave-msvc, > > > it also directed to octave forge for Windows. > > > > > > > >Thank you very much for spending time understanding my problem and helped me solved it. I > > appreciate > > > your help. > > > > > > > > > > > >Best regards, > > > >Huaizu You > > > > > > > >-----Original Message----- > > > >From: Tatsuro MATSUOKA [mailto:tmacchant@...] > > > >Sent: Saturday, March 08, 2008 12:10 AM > > > >To: Huaizu You > > > >Cc: help@...; 松岡辰郎 > > > >Subject: Re: mkoctave MSVC 2008 Express > > > > > > > >Hello > > > > > > > >Thank you for your looking for my page > > > >Mmmm.... > > > >I have tested that the what was decribed worked. > > > > > > > >> error: lsode: expecting first argument to be a string > > > >Is there any typing mistake in testOrego2.m? > > > >The error said that the octave recognised the testOrego2.m but the script file has a bug. > > > > > > > >Please try the file attached. > > > > > > > >Regards > > > > > > > >Tatsuro > > > > > > > >--- Huaizu You <hyou@...> wrote: > > > > > > > >> Dear Prof. Matsuoka, > > > >> > > > >> I tried your method of making OCT files on octave from your website ( > > > >> http://www.geocities.jp/tmoctwin/msvcoct.html ). > > > >> I'm using Microsoft Visual Studio 2008 Express, and Forge Octave 3.0.0. The startup > batch > > file > > > >> ran successfully, and so did the mkoctfile command which generated oregonator.lib, > > > >> oregonator.exp, oregonator.o, and oregonator.oct files in the same folder as > oregonator.cc > > and > > > >> testOrego2.m. (My current path was exactly the folder which contained oregonator.cc and > > > >> testOrego2.m) However, later when I tried to run testOrego2.m on Octave, it kept saying > > > >> > > > >> error: could not find library or dependents: C:\xxxxx\octave\oregonator.oct > > > >> error: lsode: expecting first argument to be a string > > > >> error: evaluating assignment expression near line 6, column 3 > > > >> error: near line 6 of file 'C:\xxxx\octave\testOrego2.m' > > > >> > > > >> Can you figure out what is the problem? I appreciate your help. > > > >> > > > >> Sincerely,the > > > >> Huaizu You > > > > > > > > > > > > -------------------------------------- > > > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > > > http://pr.mail.yahoo.co.jp/toolbar/ > > > > > _______________________________________________ > > Help-octave mailing list > > Help-octave@... > > https://www.cae.wisc.edu/mailman/listinfo/help-octave > > > > > -------------------------------------- > Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar > http://pr.mail.yahoo.co.jp/toolbar/ > _______________________________________________ > Help-octave mailing list > Help-octave@... > https://www.cae.wisc.edu/mailman/listinfo/help-octave > -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctfile MSVC 2008 Express (Need Help)2008/3/21 Tatsuro MATSUOKA <tmacchant@...>:
> Hello > > I have finished to downgrading to VC++ Express 2005. > > In the installing I met the following in the Microsoft page. > > Under certain conditions when installing on Windows Server 2003 or Windows XP, a digital signature > verification error can occur. Please see Knowledge base article 925336 for details and resolution. > > However, retry install have finished with success. > I confirmded the mkoctfile works with VC++ Express 2005 + Platform SDK. > > For the MCVC++ express 2008, I need help with the power user of windows. You can try the approach I explained in another mail to generate the right manifest file. But frankly speaking, I doubt it'll work... Michael. _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: mkoctfile MSVC 2008 Express (Need Help)Hello
Michael> You can try the approach I explained in another mail to generate the Michael> right manifest file. But frankly speaking, I doubt it'll work... In the previous mail, I wrote the following. It did not work. As I wrote, my windows is not in good condition. Therefore I need help from those who have already installed VC++ Express 2008. Regards Tatsuro ++++++++++++++++++++++++++++++++++++++++ Hello I have been left from the University and I cannot test the below. This is because I did not install MSVC2008. Now I am in lunch time at the university. I have tested the below. > 5) restart octave At the restar, I met troubles. First time, the system tell me that msvcp80.dll was not found. At the restart an application error occured. So I add the path to the ....\bin\Microsoft.VC80.CRT After that I retry it This time system told "Application cannot be intiarized correctly (0x80000003). Finish the application to press [OK]." Mmmmm, unfortunately it is not successful. However, my windows is not in good condition so I cannot assert that the way suggest by Michael does not work. ************************************************* Are there anyone who would like to try to do it? ************************************************* Anyway I personally am not the MSVC-octave user. (I usually use octave on cygwin. ) I do not want to purchase it any longer and will delete the descriptions about MSVC2008 in my web if noone try this matter. Regarads Tatsuro. > 1) create a file test.c with this content: > > int main(void) { return 0; } > > 2) compile this file with: cl -MD test.c > > 3) this creates a manifest file test.exe.manifest > > 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > > 5) restart octave and try again -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
RE: mkoctfile MSVC 2008 Express (Need Help)Hi, Tatsuro & Michael,
Thanks for your efforts trying to fix the problem. I would like to help, unfortunately, I'm not a power Windows user, either. My solution is using MATLAB compiler, mcc, instead of mkoctfile. However, in this way, the user needs to buy MATLAB rather than using free software. Hope Octave project would continue and prosperous. Sincerely, Huaizu -----Original Message----- From: Tatsuro MATSUOKA [mailto:tmacchant@...] Sent: Friday, March 21, 2008 12:49 PM To: Michael Goffioul; matsuoka@... Cc: Huaizu You; help@... Subject: Re: mkoctfile MSVC 2008 Express (Need Help) Hello Michael> You can try the approach I explained in another mail to generate the Michael> right manifest file. But frankly speaking, I doubt it'll work... In the previous mail, I wrote the following. It did not work. As I wrote, my windows is not in good condition. Therefore I need help from those who have already installed VC++ Express 2008. Regards Tatsuro ++++++++++++++++++++++++++++++++++++++++ Hello I have been left from the University and I cannot test the below. This is because I did not install MSVC2008. Now I am in lunch time at the university. I have tested the below. > 5) restart octave At the restar, I met troubles. First time, the system tell me that msvcp80.dll was not found. At the restart an application error occured. So I add the path to the ....\bin\Microsoft.VC80.CRT After that I retry it This time system told "Application cannot be intiarized correctly (0x80000003). Finish the application to press [OK]." Mmmmm, unfortunately it is not successful. However, my windows is not in good condition so I cannot assert that the way suggest by Michael does not work. ************************************************* Are there anyone who would like to try to do it? ************************************************* Anyway I personally am not the MSVC-octave user. (I usually use octave on cygwin. ) I do not want to purchase it any longer and will delete the descriptions about MSVC2008 in my web if noone try this matter. Regarads Tatsuro. > 1) create a file test.c with this content: > > int main(void) { return 0; } > > 2) compile this file with: cl -MD test.c > > 3) this creates a manifest file test.exe.manifest > > 4) copy the manifest file as: <octave_root>\bin\octave.exe.manifest > > 5) restart octave and try again -------------------------------------- Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar http://pr.mail.yahoo.co.jp/toolbar/ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Help-octave mailing list Help-octave@... https://www.cae.wisc.edu/mailman/listinfo/help-octave |
| Free embeddable forum powered by Nabble | Forum Help |