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: 364 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: feature Category: ~DO NOT USE (was: OCaml general)
Bug description
I'm trying to use the Win32 3.01 OCaml on an NT PC. My graphics calls are
pretty simple, I only try to create one window from my main program. Is this
supported by the Win32 version? Graphics.cma and unix.cma are both in my
D:\npt-npe\ocaml\lib directory.
Also, your web site is not quite working correctly yet, ftp.inria.ftp is
not working yet.
Thanks,
Wendy
Wendy Etkind (wendy@mitre.org)
Lead Technical Staff: The MITRE Corporation
(781) 271-3217, DSN 478-1186 x3217, fax (781) 271-8689
I'm trying to use the Win32 3.01 OCaml on an NT PC. My graphics calls are
pretty simple, I only try to create one window from my main program. Is this
supported by the Win32 version?
Not really. The Graphics library works under the toplevel interactive
GUI, but not from standalone executables generated by ocamlc. Indeed,
it is still unclear to us whether a Win32 console application (like
those generated by ocamlc) can open a graphical window at all!
Original bug ID: 364
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
I'm trying to use the Win32 3.01 OCaml on an NT PC. My graphics calls are
pretty simple, I only try to create one window from my main program. Is this
supported by the Win32 version? Graphics.cma and unix.cma are both in my
D:\npt-npe\ocaml\lib directory.
Also, your web site is not quite working correctly yet, ftp.inria.ftp is
not working yet.
Wendy Etkind (wendy@mitre.org)
Lead Technical Staff: The MITRE Corporation
(781) 271-3217, DSN 478-1186 x3217, fax (781) 271-8689
D:\npt-npe\ocaml\wendy>set CAMLLIB=D:\npt-npe\ocaml\lib
D:\npt-npe\ocaml\wendy>ocamlc -c address.ml
D:\npt-npe\ocaml\wendy>ocamlc -c interface.ml
D:\npt-npe\ocaml\wendy>ocamlc -c router.ml
D:\npt-npe\ocaml\wendy>ocamlc -c lan.ml
D:\npt-npe\ocaml\wendy>ocamlc -c hash.ml
D:\npt-npe\ocaml\wendy>ocamlc -c draw.ml
D:\npt-npe\ocaml\wendy>ocamlc -c network.ml
D:\npt-npe\ocaml\wendy>ocamlc -c read.ml
D:\npt-npe\ocaml\wendy>ocamlc -c example.ml
D:\npt-npe\ocaml\wendy>ocamlc -o read graphics.cma unix.cma address.cmo interface.cmo router.cmo lan.cmo hash.cmo draw.cmo network.cmo read.cmo example.cmo
camlprim0.c
camlprim0.obj : error LNK2001: unresolved external symbol _gr_set_line_width
camlprim0.obj : error LNK2001: unresolved external symbol _gr_fill_poly
camlprim0.obj : error LNK2001: unresolved external symbol _gr_fill_rect
camlprim0.obj : error LNK2001: unresolved external symbol _gr_draw_string
camlprim0.obj : error LNK2001: unresolved external symbol _gr_set_color
camlprim0.obj : error LNK2001: unresolved external symbol _gr_sigio_handler
camlprim0.obj : error LNK2001: unresolved external symbol _gr_sigio_signal
camlprim0.obj : error LNK2001: unresolved external symbol _gr_close_graph
camlprim0.obj : error LNK2001: unresolved external symbol _gr_open_graph
camlprim0.obj : error LNK2001: unresolved external symbol _gr_synchronize
camlprim0.obj : error LNK2001: unresolved external symbol _gr_remember_mode
camlprim0.obj : error LNK2001: unresolved external symbol _gr_display_mode
camlprim0.obj : error LNK2001: unresolved external symbol _gr_lineto
camlprim0.obj : error LNK2001: unresolved external symbol _gr_moveto
camlprim0.obj : error LNK2001: unresolved external symbol _gr_current_x
camlprim0.obj : error LNK2001: unresolved external symbol _gr_current_y
camlprim0.obj : error LNK2001: unresolved external symbol _gr_draw_arc
camlprim0.obj : error LNK2001: unresolved external symbol _gr_fill_arc
camlprim0.obj : error LNK2001: unresolved external symbol _gr_blit_image
camlprim0.obj : error LNK2001: unresolved external symbol _gr_create_image
camlprim0.obj : error LNK2001: unresolved external symbol _gr_wait_event
camlprim0.obj : error LNK2001: unresolved external symbol _gr_set_text_size
read.exe : fatal error LNK1120: 22 unresolved externals
The text was updated successfully, but these errors were encountered: