reflaxe.CPP
reflaxe.CPP copied to clipboard
Unable to run test project
I decided to try reflaxe and I received a lot of errors.
So I tried to keep things simple, and downloaded the test project from the repo. same.
Tried with nightly and with main.
S C:\Users\ps\Downloads\reflaxe.CPP-main> haxelib git reflaxe.cpp https://github.com/SomeRanDev/reflaxe.CPP main
You already have reflaxe.cpp version git installed.
Overwrite branch: <unspecified> with "main" [y/n/a] ? a
Installing reflaxe.cpp from https://github.com/SomeRanDev/reflaxe.CPP branch: main
Installing dependency reflaxe
You already have reflaxe version git installed.
Updating reflaxe version git ...
reflaxe was updated
Library reflaxe current version is now git
PS C:\Users\ps\Downloads\reflaxe.CPP-main> haxe .\test\sample_project\Test_WithHaxelib.hxml
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Types.hx:231: characters 10-22 : Type not found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Types.hx:229: lines 229-246 : Void should be Null<String>
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Expressions.hx:854: characters 16-28 : Type not found : cxx.Compiler
t found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/Compiler.hx:840: characters 15-27 : Type not found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/Compiler.hx:862: characters 6-15 : Type not found : cxx.CMake
PS C:\Users\ps\Downloads\reflaxe.CPP-main> haxe .\test\sample_project\Test_WithHaxelib.hxml
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Types.hx:231: characters 10-22 : Type not found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Types.hx:229: lines 229-246 : Void should be Null<String>
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Expressions.hx:854: characters 16-28 : Type not found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/subcompilers/Expressions.hx:428: characters 35-47 : Type not found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/Compiler.hx:840: characters 15-27 : Type not found : cxx.Compiler
C:\HaxeToolkit\haxe\lib\reflaxe,cpp/git/src/cxxcompiler/Compiler.hx:862: characters 6-15 : Type not found : cxx.CMake
PS C:\Users\ps\Downloads\reflaxe.CPP-main>
I ran some commands that fixed the issue, but I have no idea how.
Created a symlink cxx to folder cxxcompiler Replaced all instances of \bcxx\b to cxxcompiler git stash deleted cxx symlink git pull origin nightly no I have a cxx folder and compilation is working
Apologies for the delay! You need to install the nightly branch:
haxelib git reflaxe.cpp https://github.com/SomeRanDev/reflaxe.CPP nightly
And also use Test.hxml to run tests:
haxe Test.hxml
Use help to see all the arguments you can use for tests:
haxe Test.hxml help