{"action":"created","issue":{"url":"https://api.github.com/repos/theos/theos/issues/99","repository_url":"https://api.github.com/repos/theos/theos","labels_url":"https://api.github.com/repos/theos/theos/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/theos/theos/issues/99/comments","events_url":"https://api.github.com/repos/theos/theos/issues/99/events","html_url":"https://github.com/theos/theos/issues/99","id":37950330,"number":99,"title":"theos setup","user":{"login":"albfan","id":220968,"avatar_url":"https://avatars.githubusercontent.com/u/220968?v=3","gravatar_id":"","url":"https://api.github.com/users/albfan","html_url":"https://github.com/albfan","followers_url":"https://api.github.com/users/albfan/followers","following_url":"https://api.github.com/users/albfan/following{/other_user}","gists_url":"https://api.github.com/users/albfan/gists{/gist_id}","starred_url":"https://api.github.com/users/albfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albfan/subscriptions","organizations_url":"https://api.github.com/users/albfan/orgs","repos_url":"https://api.github.com/users/albfan/repos","events_url":"https://api.github.com/users/albfan/events{/privacy}","received_events_url":"https://api.github.com/users/albfan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/theos/theos/labels/Platform:Linux","name":"Platform:Linux","color":"bcbcbc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-07-16T05:27:04Z","updated_at":"2016-02-13T10:16:16Z","closed_at":null,"body":"After clone project and download sdk, no luck with a hello world project. \r\n\r\nI have follow this guides\r\n1. http://iphonedevwiki.net/index.php/Theos/Getting_Started#On_Mac_OS_X_or_Linux\r\n2. http://ioscheaters.com/topic/767-tut-set-up-theos-with-sdk-61-on-linuxupdated/\r\n\r\nHope solving this issue helps others to setup theos on linux. Maybe a wiki could be helpful for setup\r\n\r\n```\r\n$ $THEOS/bin/nic.pl\r\n```\r\n\r\nchoose iphone/application named autocameraroll\r\n\r\nDebug make shows this:\r\n```\r\n$ make -n\r\n[ -d \"/home/alberto/bin/theos/sdks/iPhoneOS7.1.sdk\" ] || { echo \"Your current SYSROOT, \\\"/home/alberto/bin/theos/sdks/iPhoneOS7.1.sdk\\\", appears to be missing.\"; exit 1; }\r\n\\\r\nabs_build_dir=.; \\\r\nif [ \"\" != \"\" ]; then \\\r\n  echo Making all in subprojects of application autocameraroll...; \\\r\n  for d in ; do \\\r\n    d=\"${d%:*}\"; \\\r\n    if [ \"${abs_build_dir}\" = \".\" ]; then \\\r\n      lbuilddir=\".\"; \\\r\n    else \\\r\n      lbuilddir=\"${abs_build_dir}/$d\"; \\\r\n    fi; \\\r\n    if make -C $d -f Makefile --no-print-directory --no-keep-going all \\\r\n        THEOS_BUILD_DIR=\"$lbuilddir\" \\\r\n       ; then\\\r\n       :; \\\r\n    else exit $?; \\\r\n    fi; \\\r\n  done; \\\r\n fi; \\\r\necho Making all for application autocameraroll...; \\\r\nmake -f Makefile --no-print-directory --no-keep-going \\\r\n\tinternal-application-all \\\r\n\t_THEOS_CURRENT_TYPE=\"application\" \\\r\n\tTHEOS_CURRENT_INSTANCE=\"autocameraroll\" \\\r\n\t_THEOS_CURRENT_OPERATION=\"all\" \\\r\n\tTHEOS_BUILD_DIR=\".\"\r\nMaking all for application autocameraroll...\r\n:\r\n(mkdir -p \"obj/autocameraroll.app/\")\r\n(mkdir -p \"obj/autocameraroll.app/\")\r\n(mkdir -p \"obj/autocameraroll.app/\")\r\n(echo \" Copying resource directories into the application wrapper...\";for d in Resources; do \\\r\n\t\tif [ -d \"$d\" ]; then \\\r\n\t\t\trsync -a \"$d/\" \"./obj/autocameraroll.app/\" --exclude \"_MTN\" --exclude \".git\" --exclude \".svn\" --exclude \".DS_Store\" --exclude \"._*\"; \\\r\n\t\telse \\\r\n\t\t\techo \"Warning: ignoring missing bundle resource directory $d.\"; \\\r\n\t\tfi; \\\r\n\tdone)\r\n```\r\n\r\nthis leads to (sorry my lang is ES)\r\n\r\n```\r\n$ make\r\nMaking all for application autocameraroll...\r\n Copying resource directories into the application wrapper...\r\nmake[2]: *** No hay ninguna regla para construir el objetivo «obj/main.m.390d8355.o», necesario para «obj/autocameraroll.app/autocameraroll.27541137.unsigned».  Alto.\r\nmake[1]: *** [internal-application-all_] Error 2\r\nmake: *** [autocameraroll.all.application.variables] Error 2\r\n```\r\n\r\nany clues?"},"comment":{"url":"https://api.github.com/repos/theos/theos/issues/comments/183638219","html_url":"https://github.com/theos/theos/issues/99#issuecomment-183638219","issue_url":"https://api.github.com/repos/theos/theos/issues/99","id":183638219,"user":{"login":"albfan","id":220968,"avatar_url":"https://avatars.githubusercontent.com/u/220968?v=3","gravatar_id":"","url":"https://api.github.com/users/albfan","html_url":"https://github.com/albfan","followers_url":"https://api.github.com/users/albfan/followers","following_url":"https://api.github.com/users/albfan/following{/other_user}","gists_url":"https://api.github.com/users/albfan/gists{/gist_id}","starred_url":"https://api.github.com/users/albfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albfan/subscriptions","organizations_url":"https://api.github.com/users/albfan/orgs","repos_url":"https://api.github.com/users/albfan/repos","events_url":"https://api.github.com/users/albfan/events{/privacy}","received_events_url":"https://api.github.com/users/albfan/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T10:16:16Z","updated_at":"2016-02-13T10:16:16Z","body":"I have done a fresh install. Not sure for sdk version downloaded\r\n\r\n<pre>\r\n$ git clone --recursive https://github.com/kirb/theos.git\r\n$ export THEOS=/home/alberto/theos/\r\n$ wget http://apt.saurik.com/debs/mobilesubstrate_0.9.6011_iphoneos-arm.deb\r\n$ mkdir substrate\r\n$ dpkg-deb -x mobilesubstrate_*_iphoneos-arm.deb substrate\r\n$ mv substrate/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate $THEOS/lib/libsubstrate.dylib\r\n$ mv substrate/Library/Frameworks/CydiaSubstrate.framework/Headers/CydiaSubstrate.h $THEOS/include/substrate.h\r\n\r\ndownload xcode (I choose xcode 5.1.1 for an ipad with software 7.1.2)\r\n\r\n$ 7z x xcode_5.1.1.dmg \r\n$ mv Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/* ~/theos/sdks/\r\n$ $THEOS/bin/nic.pl \r\nNIC 2.0 - New Instance Creator\r\n------------------------------\r\n  [1.] iphone/activator_event\r\n  [2.] iphone/application_modern\r\n  [3.] iphone/cydget\r\n  [4.] iphone/flipswitch_switch\r\n  [5.] iphone/framework\r\n  [6.] iphone/ios7_notification_center_widget\r\n  [7.] iphone/library\r\n  [8.] iphone/notification_center_widget\r\n  [9.] iphone/preference_bundle_modern\r\n  [10.] iphone/tool\r\n  [11.] iphone/tweak\r\n  [12.] iphone/xpc_service\r\nChoose a Template (required): 2\r\nProject Name (required): autocameraroll\r\nPackage Name [com.yourcompany.autocameraroll]: \r\nAuthor/Maintainer Name [alberto]: \r\n[iphone/application_modern] Class name prefix (two or more characters) [XX]: \r\nInstantiating iphone/application_modern in autocameraroll/...\r\nDone.\r\n$ cd autocameraroll/\r\n$ make clean package debug=yes messages=yes\r\n(printf \"\\e[0;3%im==> \\e[1;39m%s…\\e[m\\n\" 6 \"Cleaning\"); set -o pipefail; (rm -rf \"/home/alberto/autocameraroll/.theos/obj/debug\")\r\n==> Cleaning…\r\nset -o pipefail; (rm \"/home/alberto/autocameraroll/.theos/build_session\")\r\nset -o pipefail; (rm -rf \"/home/alberto/autocameraroll/.theos/_\")\r\n> Making all for application autocameraroll…\r\nset -o pipefail; (mkdir -p \"/home/alberto/autocameraroll/.theos/obj/debug/autocameraroll.app/\")\r\nset -o pipefail; (mkdir -p \"/home/alberto/autocameraroll/.theos/obj/debug/autocameraroll.app/\")\r\nset -o pipefail; (mkdir -p \"/home/alberto/autocameraroll/.theos/obj/debug/autocameraroll.app/\")\r\n(printf \"\\e[0;3%im==> \\e[1;39m%s…\\e[m\\n\" 5 \"Copying resource directories into the application wrapper\"); set -o pipefail; (for d in Resources; do \\\r\n\tif [ -d \"$d\" ]; then \\\r\n\t\trsync -a \"$d/\" \"/home/alberto/autocameraroll/.theos/obj/debug/autocameraroll.app/\" --exclude \"_MTN\" --exclude \".git\" --exclude \".svn\" --exclude \".DS_Store\" --exclude \"._*\"; \\\r\n\telse \\\r\n\t\tprintf \"\\e[0;33m==> \\e[1;33mWarning:\\e[m %s\\n\" \"Warning: ignoring missing bundle resource directory $d.\" >&2; \\\r\n\tfi; \\\r\ndone)\r\n==> Copying resource directories into the application wrapper…\r\nset -o pipefail; (make -f Makefile --no-print-directory --no-keep-going \\\r\n\tinternal-application-compile \\\r\n\t_THEOS_CURRENT_TYPE=application THEOS_CURRENT_INSTANCE=autocameraroll _THEOS_CURRENT_OPERATION=compile \\\r\n\tTHEOS_BUILD_DIR=\".\" _THEOS_MAKE_PARALLEL=yes)\r\nset -o pipefail; (mkdir -p /home/alberto/autocameraroll/.theos/obj/debug/armv7/)\r\n(printf \"\\e[0;3%im==> \\e[1;39m%s…\\e[m\\n\" 2 \"Compiling main.m (armv7)\"); set -o pipefail; (/home/alberto/theos/toolchain/linux/iphone/bin/armv7-apple-darwin11-clang++ -x objective-c -c -I/home/alberto/theos/include -include /home/alberto/theos/Prefix.pch -DTARGET_IPHONE=1 -Os -Wall -Werror -isysroot \"/home/alberto/theos/sdks/iPhoneOS7.1.sdk\" -D__IPHONE_OS_VERSION_MIN_REQUIRED=__IPHONE_5_0 -miphoneos-version-min=5.0     -I/home/alberto/theos/vendor/include -I/home/alberto/theos/include/_fallback -DDEBUG -ggdb -O0  -DTHEOS_INSTANCE_NAME=\"\\\"autocameraroll\\\"\"  -arch armv7      -std=c99 main.m -o /home/alberto/autocameraroll/.theos/obj/debug/armv7/main.m.00014e02.o)\r\n==> Compiling main.m (armv7)…\r\n/bin/bash: /home/alberto/theos/toolchain/linux/iphone/bin/armv7-apple-darwin11-clang++: No existe el fichero o el directorio\r\n/home/alberto/theos/makefiles/instance/rules.mk:170: fallo en las instrucciones para el objetivo '/home/alberto/autocameraroll/.theos/obj/debug/armv7/main.m.00014e02.o'\r\nmake[3]: *** [/home/alberto/autocameraroll/.theos/obj/debug/armv7/main.m.00014e02.o] Error 127\r\n/home/alberto/theos/makefiles/instance/application.mk:47: fallo en las instrucciones para el objetivo '/home/alberto/autocameraroll/.theos/obj/debug/armv7/autocameraroll.app/autocameraroll'\r\nmake[2]: *** [/home/alberto/autocameraroll/.theos/obj/debug/armv7/autocameraroll.app/autocameraroll] Error 2\r\n/home/alberto/theos/makefiles/instance/application.mk:39: fallo en las instrucciones para el objetivo 'internal-application-all_'\r\nmake[1]: *** [internal-application-all_] Error 2\r\n/home/alberto/theos/makefiles/master/rules.mk:78: fallo en las instrucciones para el objetivo 'autocameraroll.all.application.variables'\r\nmake: *** [autocameraroll.all.application.variables] Error 2\r\n</pre>\r\n\r\n"}}