title: Haxe libraries "Class not found : openfl.Assets"
body: <p><strong>BIG UPDATE</strong></p>
  
  <p>Today, I wanted to work on something else and I realized that Haxe was completley down. In fact, I can't compile any library. Even openfl doesn't work.</p>
  
  <p>I tried to uninstall/reinstall Haxe without success.</p>
  
  <hr>
  
  <p>I was currently working on my library project. Everything was working fine and suddenly, it became impossible to compile anything.</p>
  
  <p>I restricted the problem to a minimal one.</p>
  
  <p>So here is the project tree under haxe/lib folder near to every other libraries</p>
  
  <pre><code>beluga/current
  beluga/0,1,0/haxelib.json
  beluga/0,1,0/test/Test.hx
  </code></pre>
  
  <blockquote>
    <p>Note: I  tried to rename the folder to <code>0.1.1</code> and haxe threw me the following error  </p>
    
    <blockquote>
      <p><strong>Library beluga version 0.1.0 is not installed</strong>  </p>
    </blockquote>
  </blockquote>
  
  <p>The content of the file Test.hx</p>
  
  <pre><code>package test;
  
  class Test {
  }
  </code></pre>
  
  <p>Now, if I create a new project. If I try to compile with</p>
  
  <pre><code>haxe -cp src -lib beluga -php bin -main Main
  </code></pre>
  
  <p>Please note that this works</p>
  
  <pre><code>haxe -cp src -cp ../../../lib/beluga/0,1 -php bin -main Main
  </code></pre>
  
  <p>It does not say that the beluga library is not found so it should be properly installed. Also, in FlashDevelop, the auto completion works fine. However, with a main like this:</p>
  
  <pre><code>package ;
  import test.Test;
  
  class Main {
      static function main() { }
  }
  </code></pre>
  
  <p>I have the following error:</p>
  
  <blockquote>
    <p>src/Main.hx:2: characters 7-16 : Class not found : test.Test</p>
  </blockquote>
  
  <p>Finally, the content of <code>haxelib.json</code>:</p>
  
  <pre><code>{
    "name": "beluga",
    "license": "GPL",
    "tags": ["php","neko","framework","game"],
    "description": "\r\n\t\tBeluga is a video game framework.\r\n\t",
    "contributors": ["masadow"],
    "releasenote": "Initial version, not released yet",
    "version": "0.1",
    "url": "http://myproject.org",
    "dependencies": {
  
    }
  }
  </code></pre>
  
  <p>You can find the github repositories of the project here</p>
  
  <ul>
  <li><a href="https://github.com/Masadow/Beluga" rel="nofollow noreferrer">Library</a></li>
  <li><a href="https://github.com/Masadow/BelugaDemo" rel="nofollow noreferrer">Demo project</a></li>
  </ul>
  
  <p>Any idea ?</p>