THEOS compilation errors

I just started playing with THEOS and found it to be good to use. But, unfortunately, I noticed the following errors.

theos/makefiles/common.mk:64: //makefiles/legacy.mk: No such file or directory theos/makefiles/common.mk:77: *** You did not specify a target, and the "" platform does not define a default target. Stop. 

My make file

 SDKVERSION=5.0 TARGET=iphone TWEAK_NAME = Sample Sample_FILES = Tweak.xm include theos/makefiles/common.mk include $(THEOS_MAKE_PATH)/tweak.mk 

I tried everything I could, but no luck at this time. Does anyone have a solution for this?

Thanks in advance.

By the way, I'm on Snow Leopord 10.6.6 with Xcode 3.2.3 (iphone sdk 4.0)

+4
source share
3 answers

Prefix _FILES, _FRAMEWORKS etc. must be the same as TWEAK_NAME, BUNDLE_NAME, etc.

So you have to change TWEAK_NAME to mytweak or the prefix to Sample.

+1
source

Make sure you install THEOS by running the following command:

 export THEOS=/opt/theos 

That is, if you installed theos in / opt / theos

in your makefile change

 include theos/makefiles/common.mk 

in

 include $(THEOS)/makefiles/common.mk 
+1
source

You need to create a layout folder and make another DEBIAN folder inside and place the control file. (Assuming you know what it is) And don't forget the chmod 0775 folder and management file

0
source

Source: https://habr.com/ru/post/1392427/


All Articles