"Library hxcpp is not installed" on OS X Yosemite

166 views
Skip to first unread message

Atul Kumar

unread,
Nov 10, 2015, 2:14:44 PM11/10/15
to Haxe
Hello,

anybody else having issue to compile cpp with latest hxcpp? I am just getting "Library hxcpp is not installed" on the most simple hello worlds project. "haxelib list" is listing hxcpp and also "haxelib run hxcpp" is working.

This ist the class I am trying to compile:

package;

class Main {
static function main() {
trace('hello world');
}
}

this is the build.xml:

-cp hx_src
-main Main
-lib hxcpp
-cpp cpp

I also reinstalled haxe (using the installer) and hxcpp using haxelib.. no luck. Is there something I am missing?

Atul Kumar

unread,
Nov 10, 2015, 2:28:17 PM11/10/15
to Haxe
alright.. finally found the issue after all:

i was using "haxelib newrepo", so hxcpp was installed into ./.hxlibs.. which is actually fine and what i wanted to do. But it turns out it does not work. Apparently It has to be installed into the global path. After i delete the .hxlibs folder and did "haxelib install hxcpp" again it worked.

So I am guessing this is a haxelib bug?

Reply all
Reply to author
Forward
0 new messages