2011/08/06 zwoptex,transitionsTest, Texture2dtest

环境:Windows7 64bit,VirtualBox4。08 +Mac OS X 10。6。6,Xcode4,cocos2d-iphone 1。0。0

问题1:

今天尝试test/zwoptex与transitionsTest都比较顺利,只要把需要的图片加进resources就能正常运行了。但是Texture2dtest就不行了,报错

Ld /Users/marcus/Library/Developer/Xcode/DerivedData/coco-texture-emmkatdfoiagvpaizjpabxwhpomm/Build/Products/Debug-iphonesimulator/coco-texture.app/coco-texture normal i386
    cd /Users/marcus/Desktop/MyFolder/coco-texture
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/marcus/Library/Developer/Xcode/DerivedData/coco-texture-emmkatdfoiagvpaizjpabxwhpomm/Build/Products/Debug-iphonesimulator -F/Users/marcus/Library/Developer/Xcode/DerivedData/coco-texture-emmkatdfoiagvpaizjpabxwhpomm/Build/Products/Debug-iphonesimulator -filelist /Users/marcus/Library/Developer/Xcode/DerivedData/coco-texture-emmkatdfoiagvpaizjpabxwhpomm/Build/Intermediates/coco-texture.build/Debug-iphonesimulator/coco-texture.build/Objects-normal/i386/coco-texture.LinkFileList -mmacosx-version-min=10.6 -lz -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -framework OpenGLES -framework OpenAL -framework AudioToolbox -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/marcus/Library/Developer/Xcode/DerivedData/coco-texture-emmkatdfoiagvpaizjpabxwhpomm/Build/Products/Debug-iphonesimulator/coco-texture.app/coco-texture

Undefined symbols for architecture i386:
  "_png_sig_cmp", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_create_read_struct", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_create_info_struct", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_init_io", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_set_sig_bytes", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_read_info", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_get_image_width", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_get_image_height", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_get_bit_depth", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_get_color_type", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_set_palette_to_rgb", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_set_expand_gray_1_2_4_to_8", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_get_valid", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_set_tRNS_to_alpha", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_set_strip_16", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_set_packing", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_read_update_info", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_get_IHDR", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_read_image", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_read_end", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
  "_png_destroy_read_struct", referenced from:
      -[TextureLibPNG loadPNG:] in Texture2dTest.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status


答:

问题2: 为什么我的Mac OS X用 command+shift+3或4不能抓图??桌面上没有看到保存下来的文件

答:



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值