Ошибка компиляции

Программирование для iPhone & Android

Ошибка компиляции

Сообщение funnel 23 май 2010, 00:29

Я скачал с офф сайта юнити примеры игр, длу build and run -выбираю
activeSDK- iphoneOS3.1.2 simulator
Active target- untity iphone
Active exebutable - Untity-Iphone -- Iphone simulator (3.1.2)

и у меня вылазеит 104 ошибки и 2 предупреждения...

Может быть я что-то не так делаю? :(
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 00:47

Скрытый текст:
[list]

ld: warning: in /Users/xxxxxxxx/My New Project1/Unity Player/Libraries/libiPhone-lib.a, file is not of required architecture
ld: warning: in /Users/xxxxxx/My New Project1/Unity Player/Libraries/libiPhoneNetwork.a, file is not of required architecture
Undefined symbols:
"ForceInclude_PipelineManager()", referenced from:
__Z28ForceInclude_PipelineManagerv$non_lazy_ptr in RegisterClasses.o
"UnityInputProcess()", referenced from:
-[AppController Repaint] in AppController.o
"ForceInclude_WorldParticleCollider()", referenced from:
__Z34ForceInclude_WorldParticleColliderv$non_lazy_ptr in RegisterClasses.o
"_mono_aot_module_Boo_Lang_info", referenced from:
_mono_aot_module_Boo_Lang_info$non_lazy_ptr in RegisterMonoModules.o
"ForceInclude_MonoBehaviour()", referenced from:
__Z26ForceInclude_MonoBehaviourv$non_lazy_ptr in RegisterClasses.o
"UnityDidAccelerate(float, float, float, double)", referenced from:
-[AppController accelerometer:didAccelerate:] in AppController.o
"ForceInclude_BuildSettings()", referenced from:
__Z26ForceInclude_BuildSettingsv$non_lazy_ptr in RegisterClasses.o
"UnityCleanup()", referenced from:
-[AppController applicationWillTerminate:] in AppController.o
"ForceInclude_RenderManager()", referenced from:
__Z26ForceInclude_RenderManagerv$non_lazy_ptr in RegisterClasses.o
"_mono_aot_only", referenced from:
_mono_aot_only$non_lazy_ptr in RegisterMonoModules.o
"ForceInclude_Shader()", referenced from:
__Z19ForceInclude_Shaderv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Mesh()", referenced from:
__Z17ForceInclude_Meshv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_AnimationClip()", referenced from:
__Z26ForceInclude_AnimationClipv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_ParticleAnimator()", referenced from:
__Z29ForceInclude_ParticleAnimatorv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_EditorExtension()", referenced from:
__Z28ForceInclude_EditorExtensionv$non_lazy_ptr in RegisterClasses.o
"UnitySendTouchesEnded(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesEnded:withEvent:] in AppController.o
"UnitySendTouchesMoved(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesMoved:withEvent:] in AppController.o
"ForceInclude_RenderTexture()", referenced from:
__Z26ForceInclude_RenderTexturev$non_lazy_ptr in RegisterClasses.o
"ForceInclude_GUIElement()", referenced from:
__Z23ForceInclude_GUIElementv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Halo()", referenced from:
__Z17ForceInclude_Halov$non_lazy_ptr in RegisterClasses.o
"ForceInclude_HaloManager()", referenced from:
__Z24ForceInclude_HaloManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_MeshRenderer()", referenced from:
__Z25ForceInclude_MeshRendererv$non_lazy_ptr in RegisterClasses.o
"iphone::KeyboardOnScreen::Init()", referenced from:
-[AppController startUnity:] in AppController.o
"ForceInclude_WheelCollider()", referenced from:
__Z26ForceInclude_WheelColliderv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_MasterServerInterface()", referenced from:
__Z34ForceInclude_MasterServerInterfacev$non_lazy_ptr in RegisterClasses.o
"ForceInclude_TextMesh()", referenced from:
__Z21ForceInclude_TextMeshv$non_lazy_ptr in RegisterClasses.o
"UnityPause(bool)", referenced from:
-[AppController applicationWillResignActive:] in AppController.o
-[AppController applicationDidBecomeActive:] in AppController.o
"ForceInclude_FlareLayer()", referenced from:
__Z23ForceInclude_FlareLayerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_CharacterController()", referenced from:
__Z32ForceInclude_CharacterControllerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_BehaviourManager()", referenced from:
__Z29ForceInclude_BehaviourManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_BoxCollider()", referenced from:
__Z24ForceInclude_BoxColliderv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_TextAsset()", referenced from:
__Z22ForceInclude_TextAssetv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_RenderLayer()", referenced from:
__Z24ForceInclude_RenderLayerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_ParticleEmitter()", referenced from:
__Z28ForceInclude_ParticleEmitterv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_ConstantForce()", referenced from:
__Z26ForceInclude_ConstantForcev$non_lazy_ptr in RegisterClasses.o
"Unity::ForceInclude_FixedJoint()", referenced from:
__ZN5Unity23ForceInclude_FixedJointEv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Renderer()", referenced from:
__Z21ForceInclude_Rendererv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_RenderSettings()", referenced from:
__Z27ForceInclude_RenderSettingsv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_RaycastCollider()", referenced from:
__Z28ForceInclude_RaycastColliderv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_GUITexture()", referenced from:
__Z23ForceInclude_GUITexturev$non_lazy_ptr in RegisterClasses.o
"_mono_aot_register_module", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
RegisterMonoModules() in RegisterMonoModules.o
RegisterMonoModules() in RegisterMonoModules.o
RegisterMonoModules() in RegisterMonoModules.o
"ForceInclude_AudioListener()", referenced from:
__Z26ForceInclude_AudioListenerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_LensFlare()", referenced from:
__Z22ForceInclude_LensFlarev$non_lazy_ptr in RegisterClasses.o
"_mono_aot_module_UnityEngine_info", referenced from:
_mono_aot_module_UnityEngine_info$non_lazy_ptr in RegisterMonoModules.o
"ForceInclude_Light()", referenced from:
__Z18ForceInclude_Lightv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_PhysicMaterial()", referenced from:
__Z27ForceInclude_PhysicMaterialv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_LateBehaviourManager()", referenced from:
__Z33ForceInclude_LateBehaviourManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Texture2D()", referenced from:
__Z22ForceInclude_Texture2Dv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_LineRenderer()", referenced from:
__Z25ForceInclude_LineRendererv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_MeshCollider()", referenced from:
__Z25ForceInclude_MeshColliderv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_AudioManager()", referenced from:
__Z25ForceInclude_AudioManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_EllipsoidParticleEmitter()", referenced from:
__Z37ForceInclude_EllipsoidParticleEmitterv$non_lazy_ptr in RegisterClasses.o
"_mono_ficall_flag", referenced from:
_mono_ficall_flag$non_lazy_ptr in RegisterMonoModules.o
"ForceInclude_Texture3D()", referenced from:
__Z22ForceInclude_Texture3Dv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_QualitySettings()", referenced from:
__Z28ForceInclude_QualitySettingsv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_AudioClip()", referenced from:
__Z22ForceInclude_AudioClipv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Filter()", referenced from:
__Z19ForceInclude_Filterv$non_lazy_ptr in RegisterClasses.o
"iphone::SetScreenOrientation(iphone::ScreenOrientation)", referenced from:
-[AppController startUnity:] in AppController.o
"ForceInclude_Cubemap()", referenced from:
__Z20ForceInclude_Cubemapv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_FixedBehaviourManager()", referenced from:
__Z34ForceInclude_FixedBehaviourManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_MonoManager()", referenced from:
__Z24ForceInclude_MonoManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_PlayerSettings()", referenced from:
__Z27ForceInclude_PlayerSettingsv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Collider()", referenced from:
__Z21ForceInclude_Colliderv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Rigidbody()", referenced from:
__Z22ForceInclude_Rigidbodyv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_MonoScript()", referenced from:
__Z23ForceInclude_MonoScriptv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_AudioSource()", referenced from:
__Z24ForceInclude_AudioSourcev$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Animation()", referenced from:
__Z22ForceInclude_Animationv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_TrailRenderer()", referenced from:
__Z26ForceInclude_TrailRendererv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_TagManager()", referenced from:
__Z23ForceInclude_TagManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_SphereCollider()", referenced from:
__Z27ForceInclude_SphereColliderv$non_lazy_ptr in RegisterClasses.o
"UnitySendTouchesBegin(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesBegan:withEvent:] in AppController.o
"_mono_aot_module_42c81bba74c744e60a9be0f9a3a3c799_info", referenced from:
_mono_aot_module_42c81bba74c744e60a9be0f9a3a3c799_info$non_lazy_ptr in RegisterMonoModules.o
"UnitySendTouchesCancelled(NSSet*, UIEvent*)", referenced from:
-[EAGLView touchesCancelled:withEvent:] in AppController.o
"ForceInclude_Projector()", referenced from:
__Z22ForceInclude_Projectorv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_TextureRect()", referenced from:
__Z24ForceInclude_TextureRectv$non_lazy_ptr in RegisterClasses.o
"Unity::ForceInclude_CharacterJoint()", referenced from:
__ZN5Unity27ForceInclude_CharacterJointEv$non_lazy_ptr in RegisterClasses.o
"UnitySetAudioSessionActive(bool)", referenced from:
-[AppController applicationWillResignActive:] in AppController.o
-[AppController applicationDidBecomeActive:] in AppController.o
"ForceInclude_Flare()", referenced from:
__Z18ForceInclude_Flarev$non_lazy_ptr in RegisterClasses.o
"ForceInclude_CGProgram()", referenced from:
__Z22ForceInclude_CGProgramv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Camera()", referenced from:
__Z19ForceInclude_Camerav$non_lazy_ptr in RegisterClasses.o
"ForceInclude_ScriptMapper()", referenced from:
__Z25ForceInclude_ScriptMapperv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_ParticleRenderer()", referenced from:
__Z29ForceInclude_ParticleRendererv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_GUILayer()", referenced from:
__Z21ForceInclude_GUILayerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_PhysicsManager()", referenced from:
__Z27ForceInclude_PhysicsManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_HaloLayer()", referenced from:
__Z22ForceInclude_HaloLayerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Skybox()", referenced from:
__Z19ForceInclude_Skyboxv$non_lazy_ptr in RegisterClasses.o
"Unity::ForceInclude_HingeJoint()", referenced from:
__ZN5Unity23ForceInclude_HingeJointEv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_SkinnedMeshRenderer()", referenced from:
__Z32ForceInclude_SkinnedMeshRendererv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_MeshParticleEmitter()", referenced from:
__Z32ForceInclude_MeshParticleEmitterv$non_lazy_ptr in RegisterClasses.o
"_mono_aot_module_mscorlib_info", referenced from:
_mono_aot_module_mscorlib_info$non_lazy_ptr in RegisterMonoModules.o
"ForceInclude_MeshFilter()", referenced from:
__Z23ForceInclude_MeshFilterv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_GUIText()", referenced from:
__Z20ForceInclude_GUITextv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_BaseBehaviourManager()", referenced from:
__Z33ForceInclude_BaseBehaviourManagerv$non_lazy_ptr in RegisterClasses.o
"Unity::ForceInclude_Joint()", referenced from:
__ZN5Unity18ForceInclude_JointEv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Pipeline()", referenced from:
__Z21ForceInclude_Pipelinev$non_lazy_ptr in RegisterClasses.o
"ForceInclude_CapsuleCollider()", referenced from:
__Z28ForceInclude_CapsuleColliderv$non_lazy_ptr in RegisterClasses.o
"UnityPlayerLoop()", referenced from:
-[AppController Repaint] in AppController.o
"UnityInitApplication(char const*)", referenced from:
-[AppController startUnity:] in AppController.o
"ForceInclude_Font()", referenced from:
__Z17ForceInclude_Fontv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_AnimationManager()", referenced from:
__Z29ForceInclude_AnimationManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_DelayedCallManager()", referenced from:
__Z31ForceInclude_DelayedCallManagerv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Behaviour()", referenced from:
__Z22ForceInclude_Behaviourv$non_lazy_ptr in RegisterClasses.o
"ForceInclude_Texture()", referenced from:
__Z20ForceInclude_Texturev$non_lazy_ptr in RegisterClasses.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

/list]
вот что пишет
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 00:49

[code]

ld: warning: in /Users/xxxxxxxx/My New Project1/Unity Player/Libraries/libiPhone-lib.a, file is not of required architecture
ld: warning: in /Users/xxxxxx/My New Project1/Unity Player/Libraries/libiPhoneNetwork.a, file is not of required architecture

/code]
вот что пишет
эти 2 предупреждения непонятны мне
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение Neodrop 23 май 2010, 04:19

Кхм, стесняюсь спросить, а вы в MacOS X эти эксперименты ставите? :-?
Добавить neodrop в Skype
Изображение
"Спасибо!" нашему порталу, вы сможете сказать ЗДЕСЬ.
Если проблема не решается честно, нужно её обмануть! || Per stupiditas at Astra!
Страх порождает слабость. Бесстрашных поражают пули.
Протратившись на блядях байтах, на битах не экономят.
Аватара пользователя
Neodrop
Админ
 
Сообщения: 8480
Зарегистрирован: 08 окт 2008, 15:42
Откуда: Питер
Skype: neodrop
  • Сайт

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 06:21

ну да МАС os X snow leopard
или что-то не так?
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 06:45

погуглив нашел ,в одном месте писали добавить флаг -dynamiclib
Something like: gcc -dynamiclib *.c -o libmylibname.dylib
только я не понял как это сделать, не подскажите по подробнее как для файла LibiPhone-lib.a
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение Neodrop 23 май 2010, 07:13

Я пару раз сталкивался с ошибками компиляции, но не такими. Всё вылечивалось перезапуском Юньки.
Но, кажется, в вашем случае это не сработает.
Добавить neodrop в Skype
Изображение
"Спасибо!" нашему порталу, вы сможете сказать ЗДЕСЬ.
Если проблема не решается честно, нужно её обмануть! || Per stupiditas at Astra!
Страх порождает слабость. Бесстрашных поражают пули.
Протратившись на блядях байтах, на битах не экономят.
Аватара пользователя
Neodrop
Админ
 
Сообщения: 8480
Зарегистрирован: 08 окт 2008, 15:42
Откуда: Питер
Skype: neodrop
  • Сайт

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 08:35

А может быть из-за того что триальная версия?
Так то я создал в Хкоде просто приложение-он компилирует, а из юниити нет=(
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 08:51

У меня в Хкоде в выборе Active Architecture стоит i386 если в режиме эмуляции
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51

Re: Ошибка компиляции

Сообщение Neodrop 23 май 2010, 09:37

Эмуляция вообще не работает с [unity 3D] Unity приложениями.
Добавить neodrop в Skype
Изображение
"Спасибо!" нашему порталу, вы сможете сказать ЗДЕСЬ.
Если проблема не решается честно, нужно её обмануть! || Per stupiditas at Astra!
Страх порождает слабость. Бесстрашных поражают пули.
Протратившись на блядях байтах, на битах не экономят.
Аватара пользователя
Neodrop
Админ
 
Сообщения: 8480
Зарегистрирован: 08 окт 2008, 15:42
Откуда: Питер
Skype: neodrop
  • Сайт

Re: Ошибка компиляции

Сообщение funnel 23 май 2010, 10:17

#-o оооо вот значит в чем дело то... :D а я уже ОС переустановил, думал криво встало
funnel
UNец
 
Сообщения: 18
Зарегистрирован: 21 май 2010, 20:51


Вернуться в iPhone & Android

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3