Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom plugin window bug? #50

Closed
Lightnet opened this issue Apr 11, 2020 · 4 comments
Closed

Custom plugin window bug? #50

Lightnet opened this issue Apr 11, 2020 · 4 comments

Comments

@Lightnet
Copy link

Can't compile custom plugin. window 10

Plugin.hx

static var haxelibRoot = sys.io.File.getContent(Sys.getEnv("USERPROFILE")+"/.haxelib");

static var haxelibRoot = sys.io.File.getContent("C:/HaxeToolkit/haxe");

try it and doesn't work.

@ncannasse
Copy link
Member

ncannasse commented Apr 11, 2020 via email

@Lightnet
Copy link
Author

Lightnet commented Apr 11, 2020

I get this error. Should have log error on this.

C:\HaxeToolkit\haxe\lib\hide/git/hide/Plugin.hx:11: characters 27-88 : Uncaught exception Could not read file C:\Users\<user>/.haxelib
C:\HaxeToolkit\haxe\lib\hide/git/hide/Plugin.hx:11: characters 27-88 : Called from here

I don't see in my user folder for haxelib it on root dir C:\HaxeToolkit

@ncannasse
Copy link
Member

ncannasse commented Apr 14, 2020 via email

@Lightnet
Copy link
Author

Lightnet commented Apr 14, 2020

I don't see the .haxelib on user path dir. I install 64bit does it it need to be 32bit?

Got the code to work.

Plugin.hx

static var haxelibRoot = "C:/HaxeToolkit/haxe/lib";

I am not sure if the installing haxe 4.0.5 that change path for libs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants