如何在Xcode 5中构建一个blender构建?

时间:2015-07-02 07:21:41

标签: python build xcode5 blender

我一直在尝试使用wiki创建我自己的blender自定义版本,但实际上用X Code构建最终版本我没有运气。我有大约140条警告消息和32条错误消息。我只是想不出来。下面是代码的一部分,其中包含错误。我非常感谢能从这个方面获得任何帮助!

  "_Controller_actuators_length", referenced from:


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::Controller::Controller_actuators_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_CurveMapping_curves_length", referenced from:


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::CurveMapping::CurveMapping_curves_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshColorLayer_data_length", referenced from:


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshColorLayer::MeshColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshLoopColorLayer_data_length", referenced from:


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshLoopColorLayer::MeshLoopColorLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshPaintMaskLayer_data_length", referenced from:


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshPaintMaskLayer::MeshPaintMaskLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshPolygonFloatPropertyLayer_data_length", referenced from:


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshPolygonFloatPropertyLayer::MeshPolygonFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshPolygonIntPropertyLayer_data_length", referenced from:


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshPolygonIntPropertyLayer::MeshPolygonIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshPolygonStringPropertyLayer_data_length", referenced from:


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshPolygonStringPropertyLayer::MeshPolygonStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshSkinVertexLayer_data_length", referenced from:


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshSkinVertexLayer::MeshSkinVertexLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshTextureFaceLayer_data_length", referenced from:


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshTextureFaceLayer::MeshTextureFaceLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshTexturePolyLayer_data_length", referenced from:


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshTexturePolyLayer::MeshTexturePolyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshUVLoopLayer_data_length", referenced from:


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshUVLoopLayer::MeshUVLoopLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshVertexFloatPropertyLayer_data_length", referenced from:


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshVertexFloatPropertyLayer::MeshVertexFloatPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshVertexIntPropertyLayer_data_length", referenced from:


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshVertexIntPropertyLayer::MeshVertexIntPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_MeshVertexStringPropertyLayer_data_length", referenced from:


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::MeshVertexStringPropertyLayer::MeshVertexStringPropertyLayer_data_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_Sensor_controllers_length", referenced from:


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::Sensor::Sensor_controllers_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  "_Spline_points_length", referenced from:


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_python.o)


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_session.o)


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_camera.o)


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_sync.o)


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_object.o)


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_shader.o)


  BL::Spline::Spline_points_length_wrap(PointerRNA*) in libbf_intern_cycles.a(blender_curves.o)


  ...


  ld: symbol(s) not found for architecture x86_64


  clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:5)

有点晚了但是因为我在同一条船上,我找到了一个解决方法。也许它会帮助其他人寻找解决方案。线索来自bf_intern_cycles的cmakefile:

# avoid link failure with clang 3.4 debug
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4')
    set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gline-tables-only")
endif()

解决方案:所有你必须在"其他C ++标志下的bf_intern_cycles目标上设置“ -gline-tables-only ”并且它应该正确编译,断点似乎工作正常。

托德

答案 1 :(得分:1)

如果你想要的是调试应用程序并逐步进行(不仅能够像在方案中切换到发布时那样编译/运行它)https://stackoverflow.com/a/32025581/682603基本上你需要在CMake中禁用循环配置。

是的,你不会有这个版本的周期,但是你可以一步一步地观察所有其他的事情(直到今天我想的更少)。