• C
    Chuckytuh

    @Chuckytuh Ok, for those of you that, like me, have been following Lewis Lepton video tutorials, there's a high chance for you to have installed kha's git version from haxelib.
    There's also a high change that you , just like I did, tried to update kha using haxelib update kha. Thing is, this won't update all submodules so you better make sure you do the following...

    Cd into your haxelib kha git version, on my machine it is located under:
    /username/.haxelib/kha/git

    and run:
    git submodule foreach --recursive git pull origin master

    For more information see: https://github.com/KTXSoftware/Kha/wiki/Getting-Started

    posted in Kode read more
  • C
    Chuckytuh

    @Hammeron

    "Or command line options to do so." Yes, there is..you can see the available parameters from khamake:

    node Kha/make -help

    One way of building, compiling and running is as follows:

    node Kha/make -t windows --run

    Cheers

    posted in Kode read more
  • C
    Chuckytuh

    Trying to build for OSX with the following command:

    node ~/haxelib/kha/git/make.js --from ~/Development/GameDev/kha/ShapeMath/ --to ~/Development/GameDev/kha/ShapeMath/build-vv -t osx --run

    The compilation fails with the following error:

    The following build commands failed:
    
    	CompileC build/ShapeMath.build/Release/ShapeMath.build/Objects-normal/x86_64/Font.o Sources/src/kha/Font.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    (1 failure)
    

    Opening the project on Xcode and trying to build I can see that the compilation fails at Font.cpp line 39 with error message:

    build-vv/osx-build/Sources/src/kha/Font.cpp:39:21: Assigning to 'hx::CanCastFunc' (aka 'bool (*)(hx::Object *)') from incompatible type '<overloaded function type>'
    

    This problem happened with both commit 01ea8381364c73fd969201f9454fc3b28040733c

    Hopefully this is enough information to hunt down the problem, sadly I dont have enough skills to hunt myself...

    Cheers!

    posted in Kode read more

Looks like your connection to Kode Forum was lost, please wait while we try to reconnect.