2012-01-23 4 views
4

난 그냥 THEOS에서 놀기 시작 했으므로 사용하는 것이 좋습니다. 그러나 불행하게도 다음과 같은 오류가 발생했습니다.THEOS 컴파일 오류

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. 

내 메이크 내가 모든 방법을 시도

SDKVERSION=5.0 
TARGET=iphone 

TWEAK_NAME = Sample 
Sample_FILES = Tweak.xm 

include theos/makefiles/common.mk 
include $(THEOS_MAKE_PATH)/tweak.mk 

이다 내가 할 수 있지만,이 시간에 행운. 누구나 해결책이 있습니까?

미리 감사드립니다.

BTW, 내가 엑스 코드 3.2.3 (아이폰 SDK 4.0) _FILES의

답변

1

접두사와 눈 Leopord 10.6.6에있어, _FRAMEWORKS 등 그래서

등 TWEAK_NAME, BUNDLE_NAME로 동일해야합니다 TWEAK_NAME을 mytweak로 변경하거나 Sample의 접두사로 변경해야합니다.

0

레이아웃 폴더를 만들고 다른 DEBIAN 폴더를 만들어 제어 파일을 만들어야합니다. (당신은 그게 뭔지 가정) 그리고 0775에게 폴더 및 제어 파일

1

당신이 다음 명령을 실행하여 THEOS를 설정하십시오 chmod를하는 것을 잊지 마세요 : 당신이 THEOS를 설치 한 경우

export THEOS=/opt/theos 

입니다 에/옵션/THEOS 당신의 메이크 변화에

include theos/makefiles/common.mk 

에 :

include $(THEOS)/makefiles/common.mk