-
Notifications
You must be signed in to change notification settings - Fork 43
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
Cppia extraClasspaths broken? #132
Comments
Just to verify : Moving the external classes to Haxe/Static fixes the error and everything compiles as normal. |
So, since things have been quiet here for a while, i fixed this issue myself. It seems for some reason when including an external classpath in uhxconfig like this : Though - that is very strange.. Not sure whats causing this. Haxe 4 issues? |
So testing out the latest versions it seems to be some issue with cppia compilation and extraClasspaths:
in UhxConfig.hx:
config.extraStaticClasspaths = ['C:/dev/UE4Libs/haxe'];
in TestActor.hx (example)
import com.testproject.TestUtils;
|
|
TestUtils.testFunc();
Compiling cppia only
Compilation error:
Type not found: com.testproject.TestUtils
Haxe/BuildTool/interp/uhx/build/MacroHelper.hx:62: Error while parsing "extraStaticClasspaths" [C:/dev/UE4Libs/haxe] : Invalid char 67 at position 1
Compiling cppia only
Static compilation works fine for all files including the ones in "script" - the problem only happens with "Compiling cppia only"[EDIT] :
I have tested this on 2 different computers - UE4.22 and UE4.21 [Windows 10]
Haxe 4 rc3 / hxcpp 4.0.19 and Haxe 4 rc2 / hxcpp 4.0.8
Also happening on Haxe 3.4.7 / hxcpp 4.0.8
Same error on all tests.
The text was updated successfully, but these errors were encountered: