caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: William R <r.3@libertysurf.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Setting up OcaIDE
Date: Thu, 22 Aug 2013 22:19:08 +0200	[thread overview]
Message-ID: <5216723C.6020903@libertysurf.fr> (raw)
In-Reply-To: <CAKX7ZAUDg5L-c8O6mSh7uadPF004vkx12uPY8bz3EQ324dcGbg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 7870 bytes --]

Personnaly I use emacs + tuareg mode (which gives indentation, syntax 
highlighting, and browsing)  and maybe I will try merlin mode (that 
would give live error detection and autocompletion).
I tested quickly 5 years ago odt plugin, but went back to emacs. I don't 
remember for ocaIDE, but for odt at the time it was too slow, it had 
keyword shortcuts that I didn't like, and compilation workflow did not 
suit me (OcamlMakefile).



On 21/08/2013 17:13, Casey Basichis wrote:
>
> May I ask what you are using in place of Eclipse?
>
> I've never used emacs, but after several days trying to get Eclipse to 
> work its learning curve is starting to look like a better use of time.
>
> What tools are folks commonly using to wrangle ocaml.  I'm on osx 
> here, if it makes any difference.
>
>
> On Tue, Aug 20, 2013 at 11:32 PM, Komtanoo Pinpimai <romerun@gmail.com 
> <mailto:romerun@gmail.com>> wrote:
>
>     I never get ocaide working with ocaml 4. Anyone knows for sure if it
>     works or not. I always get the error "include project and resource
>     name: /:" on "managed project".
>
>     On Tue, Aug 20, 2013 at 5:16 PM, Casey Basichis
>     <caseybasichis@gmail.com <mailto:caseybasichis@gmail.com>> wrote:
>     > Moving #thread allowed ocaml to run in the terminal.  It was
>     still not
>     > working in Eclipse so I changed the paths to:
>     > /Users/caseybasichis/.opam/4.00.1/bin/ocaml  etc
>     >
>     > It seems to get further along in the loading process but there
>     are some
>     > errors:
>     >
>     >         OCaml version 4.00.1
>     >
>     >
>     > Findlib has been successfully loaded. Additional directives:
>     >
>     >   #require "package";;      to load a package
>     >
>     >   #list;;                   to list the available packages
>     >
>     >   #camlp4o;;                to load camlp4 (standard syntax)
>     >
>     >   #camlp4r;;                to load camlp4 (revised syntax)
>     >
>     >   #predicates "p,q,...";;   to set these predicates
>     >
>     >   Topfind.reset();;         to force that packages will be reloaded
>     >
>     >   #thread;;                 to enable threads
>     >
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/dynlink.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4: added to
>     search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/camlp4/camlp4o.cma:
>     loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads: added to
>     search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/unix.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/threads/threads.cma:
>     loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/bigarray.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/bin_prot: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/bin_prot/bin_prot.cma: loaded
>     >
>     > Cannot load required shared library dllbin_prot_stubs.
>     >
>     > Reason: dllbin_prot_stubs.so: dlopen(dllbin_prot_stubs.so, 138):
>     image not
>     > found.
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/variantslib: added to
>     search path
>     >
>     >
>     /Users/caseybasichis/.opam/4.00.1/lib/variantslib/variantslib.cma:
>     loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/ocaml/nums.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/num-top: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/num-top/num_top.cma: loaded
>     >
>     > Camlp4 Parsing version 4.00.1
>     >
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/num: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/sexplib: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/sexplib/sexplib.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/fieldslib: added to search
>     path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/fieldslib/fieldslib.cma:
>     loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/oUnit: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/oUnit/oUnit.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/pa_ounit: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/pa_ounit/pa_ounit_lib.cma:
>     loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/res: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/res/res.cma: loaded
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/core_kernel: added to
>     search path
>     >
>     >
>     /Users/caseybasichis/.opam/4.00.1/lib/core_kernel/core_kernel.cma:
>     loaded
>     >
>     > Cannot load required shared library dllcore_kernel_stubs.
>     >
>     > Reason: dllcore_kernel_stubs.so: dlopen(dllcore_kernel_stubs.so,
>     138): image
>     > not found.
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/core: added to search path
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/core/core.cma: loaded
>     >
>     > Cannot load required shared library dllcore_stubs.
>     >
>     > Reason: dllcore_stubs.so: dlopen(dllcore_stubs.so, 138): image
>     not found.
>     >
>     > /Users/caseybasichis/.opam/4.00.1/lib/core/core_top.cma: loaded
>     >
>     > File "/Users/caseybasichis/.ocamlinit", line 1:
>     >
>     > Error: Reference to undefined global `Core'
>     >
>     >
>     > Here is my .ocamlinit:
>     >
>     > (* Added by OPAM. *)
>     >
>     > let () =
>     >
>     >   try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")
>     >
>     >   with Not_found -> ()
>     >
>     > ;;
>     >
>     >
>     > #use "topfind"
>     >
>     > #camlp4o
>     >
>     > #thread
>     >
>     > #require "core.top"
>     >
>     > #require "core.syntax"
>     >
>     > #require "core_extended"
>     >
>     > #require "async"
>     >
>     > open Core.Std
>     >
>     >
>     >
>     >
>     > On Tue, Aug 20, 2013 at 3:46 PM, Leo White <lpw25@cam.ac.uk
>     <mailto:lpw25@cam.ac.uk>> wrote:
>     >>
>     >> > I added #thread and I also tried adding a ";;" after all of
>     the lines
>     >> > starting with # .  Here is what my .ocamlinit
>     >> > looks like right now.
>     >> >
>     >> > (* Added by OPAM. *)
>     >> > let () =
>     >> >   try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")
>     >> >   with Not_found -> ()
>     >> > ;;
>     >> >
>     >> > #use "topfind"
>     >> > #camlp4o
>     >> > #require "core.top"
>     >> > #require "core.syntax"
>     >> > #require "core_extended"
>     >> > #require "async"
>     >> > #thread
>     >> > open Core.Std
>     >>
>     >> The '#thread' directive needs to come before the '#require
>     "core.top"'
>     >> directive.
>     >>
>     >> Regards,
>     >>
>     >> Leo
>     >
>     >
>     >
>     >
>     > --
>     > Casey James Basichis
>     > Composer - Adventure Time - Cartoon Network
>     > http://www.caseyjamesbasichis.com
>     > caseybasichis@gmail.com <mailto:caseybasichis@gmail.com>
>     > 310.387.7540 <tel:310.387.7540>
>
>
>
>     --
>     In accordance with U.S. Treasury regulations, if this message contains
>     advice concerning one or more Federal tax issues, it is not a formal
>     legal opinion and may not be used by any person for the avoidance of
>     Federal tax penalties.
>
>     --
>     Caml-list mailing list.  Subscription management and archives:
>     https://sympa.inria.fr/sympa/arc/caml-list
>     Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>     Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
>
>
> -- 
> Casey James Basichis
> Composer - Adventure Time - Cartoon Network
> http://www.caseyjamesbasichis.com
> caseybasichis@gmail.com <mailto:caseybasichis@gmail.com>
> 310.387.7540


[-- Attachment #2: Type: text/html, Size: 15699 bytes --]

      parent reply	other threads:[~2013-08-22 20:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 18:37 Casey Basichis
2013-08-20 18:51 ` David Allsopp
2013-08-20 19:09 ` Thomas Gazagnaire
2013-08-20 20:23   ` Casey Basichis
2013-08-20 20:29     ` Jeremy Yallop
     [not found]     ` <20130820.223527.351659178592840423.Christophe.Troestler@umons.ac.be>
2013-08-20 21:20       ` Casey Basichis
2013-08-20 22:15         ` Leo White
2013-08-20 22:18           ` Casey Basichis
2013-08-20 22:46             ` Leo White
2013-08-21  0:16               ` Casey Basichis
2013-08-21  6:32                 ` Komtanoo Pinpimai
2013-08-21 15:13                   ` Casey Basichis
2013-08-21 16:10                     ` Ashish Agarwal
2013-08-21 16:21                     ` Siraaj Khandkar
2013-08-22  3:20                       ` Johan Mazel
2013-08-22 20:19                     ` William R [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5216723C.6020903@libertysurf.fr \
    --to=r.3@libertysurf.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).