Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:03:12+00:00 2026-06-13T23:03:12+00:00

I have problem with OCaIDE under Eclipse Indigo. I’ve got a new OCaml Managed

  • 0

I have problem with OCaIDE under Eclipse Indigo. I’ve got a new OCaml Managed Project and in that a few modules. Here’s how it looks in my workspace explorer:
workspace explorer
All those files have errors (.mli files were automatically created), that sound (for instance for the file accum.ml)
Error: I/O error: lab2/accum.cmo: No such file or directory
and indeed there are no such files in the directory. I just can’t get OCaIDE to create those files. I’ve tried automatic build, manual build, clean, anything I could think of. The OCaml paths set in the plugin configuration seem to be alright, because the toplevel interpreter works fine.

Additionally, here are some of the files from the project:
accum.ml:

let reverseInt n =
let rec reverseAccum n accum = match n with
| 0 -> accum
| n -> reverseAccum (n/10) (10*accum + (n mod 10))
in reverseAccum n 0

.project:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>lab2</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
        <buildCommand>
            <name>Ocaml.ocamlbuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
        <nature>ocaml.ocamlnature</nature>
    </natures>
</projectDescription>

.paths:

.
/usr/lib/ocaml

I would really appreciate your help.

Edit: Maybe it’s also important, I use Ubuntu 12.04 64 bit and OCaml 3.12.1

Edit2: Here’s some compiler output:

Building: lab2/simple.mli
File "lab2/simple.mli", line 1, characters 0-1:
Error: I/O error: lab2/simple.mli: No such file or directory

Building: lab2/simple.ml
File "lab2/simple.ml", line 1, characters 0-1:
Error: I/O error: lab2/simple.cmo: No such file or directory

Building: lab2/lists.mli
File "lab2/lists.mli", line 1, characters 0-1:
Error: I/O error: lab2/lists.mli: No such file or directory

Building: lab2/lists.ml
File "lab2/lists.ml", line 1, characters 0-1:
Error: I/O error: lab2/lists.cmo: No such file or directory

Building: lab2/bst.mli
File "lab2/bst.mli", line 1, characters 0-1:
Error: I/O error: lab2/bst.mli: No such file or directory

Building: lab2/bst.ml
File "lab2/bst.ml", line 1, characters 0-1:
Error: I/O error: lab2/bst.cmo: No such file or directory

Building: lab2/accum.mli
File "lab2/accum.mli", line 1, characters 0-1:
Error: I/O error: lab2/accum.mli: No such file or directory

Building: lab2/accum.ml
File "lab2/accum.ml", line 1, characters 0-1:
Error: I/O error: lab2/accum.cmo: No such file or directory
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:03:13+00:00Added an answer on June 13, 2026 at 11:03 pm

    It seems like the problem was caused by my strange approach to creating OCaml projects – I created them outside the Eclipse workspace.

    I’ve found this topic and they say, that OcaIDE (and apparently Eclipse in general) tries not to mingle with folders outside its workspace. Therefore it won’t automatically create interfaces, compilation units, etc. if the project is not in the workspace folder.

    I re-created my project, this time in the workspace, and everything went alright. I can even rename already created files and all their references (mli, cmo) get updated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem with context menu. I have got: @Override public void onCreateContextMenu(ContextMenu menu,
i have problem with ifstream open function. I create app under linux in netbeans.
I have problem with List<Image> List<Image> _Images = new List<Image>(); int currIndex = 0;
Have problem with this code var MAIN_LOCATION = http://www.bosscaffe.com/new/; $(#gallery_page).click(function() { $('#gallery_photos').show(); getPhotos(); return
I have problem with Uploadify: I log in the project using: FormsAuthentication.SetAuthCookie(myName, false); Then,
I have problem in some JavaScript that I am writing where the Switch statement
have problem with ampersand (&) How to search for the words (or sentences) that
I have problem with Activities navigation, searching works good. Activities hierarchy looks like that:
I have problem with creating service that has access to files on network disk.
I have problem with nuget packet management when using a shared project among different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.