Jump to content

Error compiling tweak.xm


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

Posted

Hi friends,

I need help with a problem regarding compiling the tweak.xm.

Error:

Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling Tweak.xm...
Tweak.xm:13:13: error: implicit conversion from 'long long' to 'vm_address_t'
      (aka 'unsigned int') changes value from 4296328360 to 1361064
      [-Werror,-Wconstant-conversion]
                writeData(0x10014C4A8, 0x1D7801F9);
                ~~~~~~~~~ ^~~~~~~~~~~
Tweak.xm:14:13: error: implicit conversion from 'long long' to 'vm_address_t'
      (aka 'unsigned int') changes value from 4296328364 to 1361068
      [-Werror,-Wconstant-conversion]
                writeData(0x10014C4AC, 0x1D7C01F9);
                ~~~~~~~~~ ^~~~~~~~~~~
Tweak.xm:15:13: error: implicit conversion from 'long long' to 'vm_address_t'
      (aka 'unsigned int') changes value from 4296328368 to 1361072
      [-Werror,-Wconstant-conversion]
                writeData(0x10014C4B0, 0xC0035FD6);
                ~~~~~~~~~ ^~~~~~~~~~~
3 errors generated.
make[2]: *** [obj/Tweak.xm.f684fe33.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [HawkMod.all.tweak.variables] Error 2

 

Link to the tweak.xm: https://ghostbin.com/paste/wft88

 

Thanks.

  • Solution
Posted

So the writeData you’re using doesn’t support ARM64 offsets. PM me and I’ll send you the arm64 version. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines