You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 3334 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Sachin Shah
Version: 3.08.2
OS: Windows XP SP2
Submission from: adsl-68-123-9-55.dsl.pltn13.pacbell.net (68.123.9.55)
Hello,
I have recently compiled OCaml 3.08.2 using Microsoft's Visual C++ Toolkit 2003
various other installation programs. Everything goes fine and I have modified
al the correct variables (PATH, OCAMLLIB, ...) for Windows. However, upon
running OCamlWin.exe for the first time, I get the message "Impossible to find
ocaml.exe. I quit". This is quite odd, because I took a look at
'win32caml/startocaml.c', and it seems that the function 'BrowseForFile("Ocaml
interpreter|ocaml.exe", path)' is never executed (or it short-circuits).
Instead, I get the 'ShowDbgMsg("Impossible to find ocaml.exe. I quit");' message
directly. Upon further examination, I found that BrowseForFile is defined in
win32caml/menu.c.
I only took a cursory look at menu.c, but I found that the code for
BrowseForFile() and OpenMlFile() is quite similar. However, when I open up
OcamlWin.exe and go to File->Open, the dialog comes up correctly. So, I'm not
sure where the problem is.
To reproduce:
(1) Compile ocaml3.08.2 from sources using Cygwin+MS VC++ Toolkit 2003
(2) After 'make -f Makefile.nt install', add the bin path to the PATH var and
the lib path to the OCAMLLIB var.
(3) Run OcamlWin.exe from the directory above 'bin'.
(4) See the message.
Manual fix: Go into the registry and import the following:
Original bug ID: 3334
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Sachin Shah
Version: 3.08.2
OS: Windows XP SP2
Submission from: adsl-68-123-9-55.dsl.pltn13.pacbell.net (68.123.9.55)
Hello,
I have recently compiled OCaml 3.08.2 using Microsoft's Visual C++ Toolkit 2003
al the correct variables (PATH, OCAMLLIB, ...) for Windows. However, upon
running OCamlWin.exe for the first time, I get the message "Impossible to find
ocaml.exe. I quit". This is quite odd, because I took a look at
'win32caml/startocaml.c', and it seems that the function 'BrowseForFile("Ocaml
interpreter|ocaml.exe", path)' is never executed (or it short-circuits).
Instead, I get the 'ShowDbgMsg("Impossible to find ocaml.exe. I quit");' message
directly. Upon further examination, I found that BrowseForFile is defined in
win32caml/menu.c.
I only took a cursory look at menu.c, but I found that the code for
BrowseForFile() and OpenMlFile() is quite similar. However, when I open up
OcamlWin.exe and go to File->Open, the dialog comes up correctly. So, I'm not
sure where the problem is.
To reproduce:
(1) Compile ocaml3.08.2 from sources using Cygwin+MS VC++ Toolkit 2003
(2) After 'make -f Makefile.nt install', add the bin path to the PATH var and
the lib path to the OCAMLLIB var.
(3) Run OcamlWin.exe from the directory above 'bin'.
(4) See the message.
Manual fix: Go into the registry and import the following:
[HKEY_CURRENT_USER\Software\Objective Caml]
"InterpreterPath"="C:\linux\ocaml\bin\ocaml.exe"
Note: Change InterpreterPath to match where you installed ocaml.exe.
Best regards,
Sachin.
The text was updated successfully, but these errors were encountered: