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

unknown configuration variable 'compiler.float' #3447

Open
Shaunmax opened this issue Sep 4, 2024 · 10 comments
Open

unknown configuration variable 'compiler.float' #3447

Shaunmax opened this issue Sep 4, 2024 · 10 comments
Labels

Comments

@Shaunmax
Copy link

Shaunmax commented Sep 4, 2024

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

@Shaunmax Shaunmax added the Bug label Sep 4, 2024
@ajwfrost
Copy link
Collaborator

ajwfrost commented Sep 4, 2024

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

@Shaunmax
Copy link
Author

Shaunmax commented Sep 4, 2024

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

@ajwfrost
Copy link
Collaborator

ajwfrost commented Sep 4, 2024

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")

@Shaunmax
Copy link
Author

Shaunmax commented Sep 4, 2024

Try mxmlc --version

i got Version 2.2.0 build 0

i didn't understand the rest

@ajwfrost
Copy link
Collaborator

ajwfrost commented Sep 4, 2024

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

@Shaunmax
Copy link
Author

Shaunmax commented Sep 4, 2024

java -jar /path/to/your/AIR/SDK/lib/mxmlc-cli.jar --version

Version 3.0.0 build 0

@ajwfrost
Copy link
Collaborator

ajwfrost commented Sep 4, 2024

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)

@Shaunmax
Copy link
Author

Shaunmax commented Sep 4, 2024

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...

@ajwfrost
Copy link
Collaborator

ajwfrost commented Sep 4, 2024

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...

@ajwfrost
Copy link
Collaborator

ajwfrost commented Sep 4, 2024

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!

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

No branches or pull requests

2 participants