unknown configuration variable 'compiler.float'
I just updated the AIR sdk to 51.1.1.3 from 51.0.1.4 and now I am getting error unknown configuration variable 'compiler.float' while trying to compile the build. Previously with 51.0.1.4 i did face issues with the newly introduced float4 which was addressed here #3349 .
Let me know if any changes were made in 51.1.1.3 to disable the float support at compile time
Can you check your environment variables please, the mxmlc file uses a AIR_SDK_HOME setting so it might be you're picking up a different library file from the one you are trying to...
51.1.1.3 works for me with -compiler.float, and also I checked the 51.1 branch in our source repo to ensure we'd got the updated version in there!
thanks
51.1.1.3 works for me with -compiler.float
I am on Mac and I have a different folder for 51.1.1.3.
So, if I understood you correctly I need to copy the newly shared compiler.jar in #3349 to the lib folder of 51.1.1.3 in order to get it compiled with -compiler.float
No the compiler.jar already in 51.1.1.3 should be the right one..
Try mxmlc --version
3.1.0 -> the compiler.float option, plus a debugline fix
3.2.0 -> support for unicode chars via '\u{nnnnnn}'
(Or view the manifest file in the compiler.jar file and check "Implementation-Version")
Try
mxmlc --version
i got Version 2.2.0 build 0
i didn't understand the rest
Could you please try:
java -jar /path/to/your/AIR/SDK/lib/mxmlc-cli.jar --version
And just checking that you never see any output saying "Using AIR SDK: ..." in the command output?
thanks
java -jar /path/to/your/AIR/SDK/lib/mxmlc-cli.jar --version
Version 3.0.0 build 0
Version 3.0.0 is what I get with 51.0.1.2... If I point this at 51.1.anything, I get version 3.2.0 build 0
Are you able to double-check the SDK, or re-download it? And to double-check the compiler.jar version:
$ shasum -a 256 /i/SDKs/51.1.1.3/lib/compiler.jar
a59690c7a8a6ff1956357b99702f4978791dcc9af1ec1a8658f6b76933bf6a7d */i/SDKs/51.1.1.3/lib/compiler.jar
(for any 51.1 SDK on any platform)
Are you able to double-check the SDK, or re-download it?
seems like there is some issue with the version I downloaded using AIRSDK Manager
when downloaded directly from the site, it's working...
Oh interesting -> yes I've just done a quick check on the version I've got from that and also see it different. Let me check our packages for those...
Okay there's the problem.... the "compiler.jar" file which is this updated AS3 compiler, is held in the "AIRTools" component package. And the '3.0.0' component package version is what was used in 51.0.0.1 all the way through to 51.1.1.3....
That's an error in our release process, we should have detected the change there. Picked this up just in time for our 51.1.1.4 release.... thanks for pointing this out!