GithubHelp home page GithubHelp logo

Comments (3)

luboslenco avatar luboslenco commented on July 1, 2024

Hello,

The @:include macro should be fine, it is strange that double .h is generated.

The easiest way to get it up and running is with Kha as it also includes library file for it. However I understand not everyone whats to use that, that's why I kept it free of any dependencies.

To be honest I do not have much experience using hxcpp on it's own. It should work perfectly across all cpp targets without modification.

I will try to have a look at hxcpp, if you get any further please let me know. Would be cool to make it accessible to everyone using Haxe.

from haxebullet.

vujadin avatar vujadin commented on July 1, 2024

You're using Haxe 3.2.0. The problem was in Haxe 3.1.3 which generated aditional ".h".
They've changed how @:include works in new Haxe.

from haxebullet.

luboslenco avatar luboslenco commented on July 1, 2024

Thanks for notice, I have updated readme file.

However, where did you get this info? There doesn't seem to be any mention in changelog. There is also similar library for newton physics and the include macro is the same:
https://github.com/dazKind/hx-newton/blob/master/hxnewton/Newton.hx

Wish there was more documentation regarding Haxe and C++.

from haxebullet.

Related Issues (14)

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.