Git Product home page Git Product logo

Comments (2)

jasononeil avatar jasononeil commented on June 27, 2024

Please run

"haxelib selfupdate" (or ”sudo haxelib selfupdate") to grab the latest
version of haxelib.

That should fix your problem. The "classPath" setting for haxelibs only
came out in a recent version of haxelib.

I'll try make a note to add this to the Readme. Thank you!
On 17/09/2013 11:39 PM, "Richard Walton" [email protected] wrote:

Hi Jason,

I'm upgrading my project to be haxe 3 compatible and have found a problem
with the CompileTime package (version 2.2.0).

When compiling my project I get the following error:

Unknown identifier : CompileTime

My compiler args definitely have the compile time library in them:

haxe -cp src -lib mloader -lib msignal -lib munit -lib mconsole -lib
createjs -lib jQueryExtern -lib hscript -lib haxe-ga -lib compiletime -js
path/to/Main.hx

Looking at other haxelib packages I can see that none have a "src" folder
in them. I

Indeed, if I move the 2 classes contained into "src" into the root of the
package folder my application will compile without issue. Actually, I've
just compared the haxe 3 package with the haxe 2 one and noticed that the
Haxe 2 one has the classes in the root folder.

In short, I think the haxe 3 package needs updating to put the classes
into the correct (root) folder.

Rich.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

from compiletime.

Richard-Walton avatar Richard-Walton commented on June 27, 2024

Yes - That solved it!

Thanks a lot! :)

from compiletime.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.