首页 > 知识库 > 正文

lineofgab是什么 关于lineofgab的详细介绍

我的朋友圈里,我最不能忍受的不是晒孩子、晒美食、炫富,而是P*图P的太过分了,还很自信的说,我就是长这样的啊!我就是天生丽质!不知道说什么了……回答关注(30)|查看更多问答26个回答萌宠爱搞怪03-1415:00163赞踩(喜欢这篇文章,记得右上角关注哦↑↑↑)过度P图!朋友圈里都是熟人,你长啥样谁不知道?我是喷子我正义。发那种不转不是中国人,不转死##的最可恶!你手贱你点了,就别祸害别人好嘛!谁发这种消息,活该你没对象!我跟你没有半毛钱关系!从来不与我互动,却在朋友圈发*嘟嘴美颜图的。有一种人秀美食。白天不秀、饭点儿不秀、节假日不秀……偏偏选在夜深人静,刷牙洗脸*睡觉前晒一大波……疯

“lineofgab”相关信息供您参考,希望对您有帮助。

cocos2d-x 3.0和cocos2d-xeditor一样吗

不一样的

官方推荐编译工具版本:

NDK r9d or newer version is required for Android building

gcc 4.9 is required for linux building

Xcode 5.1 or newer is required on iOS

-----------------------------------------------------------------------

getChildByName() 返回类型变更: Widget* -> Node*

Widget* img_t = dynamic_cast<Widget*>(_ui->getChildByName("img_t"));

【解决方法】

在所有调用getChildByName 新增dynamic_cast<Widget*>( ) 函数包裹

-----------------------------------------------------------------------

Sprite / Node中

virtual void draw(Renderer *renderer, const kmMat4 &transform, bool transformUpdated) override;

->

virtual void draw(Renderer *renderer, const Mat4 &transform, uint32_t flags) override;

【解决方法】

变更函数接口

-----------------------------------------------------------------------

Error597error C2838: 'UI_TEX_TYPE_PLIST' : illegal qualified name in member declaratione: ...

【解决方案】

枚举类型变更:

TextureResType::UI_TEX_TYPE_PLIST -> TextureResType::PLIST

TextureResType::UI_TEX_TYPE_LOCAL -> TextureResType::LOCAL

-----------------------------------------------------------------------

文件路径变更:

#include "CCVector.h"

->

#include "base/CCVector.h"

-----------------------------------------------------------------------

这是一个低级错误:

const char* btnName = btn_item_bg->getName();

->

const char* btnName = btn_item_bg->getName().c_str();

-----------------------------------------------------------------------

LNK2019 错误

【解决方案】

进入该文件 CCLuaStack.cpp

scripting/lua-bindings/manual/CCLuaStack.cpp

注释掉

line:168

//register_all_cocos2dx_extension(_state);

//register_cocos2dx_extension_CCBProxy(_state);

//register_all_cocos2dx_extension_manual(_state);

//register_all_cocos2dx_spine(_state);

//register_all_cocos2dx_spine_manual(_state);

-----------------------------------------------------------------------

半透明发黑问题解决

Blend默认值错误导致

http://www.cocoachina.com/bbs/read.php?tid=216460

涉及文件:

cocos\editor-support\cocostudio\CCArmature.cpp

cocos\editor-support\cocostudio\CCBone.cpp

cocos\editor-support\cocostudio\CCDatas.cpp

extensions\CocoStudio\Armature\utils\CCDataReaderHelper.cpp

更新cocos2d-x 3.2官方的Armature补丁

1. 修正Armature半透明变黑问题

2. 修正Cocostudio v1.5.0.1以上,导出带有Blend效果的特效,blend src dst默认值不正常的Bug

-----------------------------------------------------------------------

2014-8-13 16:53:33

测试了Armature对blend效果的支持

需要cocostudio版本为 v1.5.0.1 或以上

-----------------------------------------------------------------------

GAME_ROOT\proj.android>build_native.py

The Selected NDK toolchain version was 4.7 !

Android NDK: Invalid APP_STL value: c++_static

Android NDK: Please use one of the following instead: system stlport_static stl

port_shared gnustl_static gnustl_shared gabi++_static gabi++_shared none

make: Entering directory `GAME_ROOT/proj.android'

E:/dev/sdk/android-ndk-r8e/build/core/add-application.mk:243: *** Android NDK: A

borting . Stop.

【问题分析】可能是嫌弃我的NDK版本太老

Windows 64-bitandroid-ndk32-r10-windows-x86_64.zip529850429b11f9239344f7c377ed5b627f0

于是到这里下载新版本:

https://developer.android.com/tools/sdk/ndk/index.html

下载后解压缩

重新配置环境变量 NDK_ROOT

E:\dev\sdk\android-ndk-r8e

->

E:\dev\sdk\android-ndk-r10

更换了NDK后再次编译:

GAME_ROOT\proj.android>build_native.py

The Selected NDK toolchain version was 4.8 !

Android NDK: jni/Android.mk: Cannot find module with tag '2d' in import path

Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?

解决:

$(call import-module,2d)

->

$(call import-module,.) 不行

$(call import-module,cocos) 行

GAME_ROOT\cocos2d\cocos\Android.mk

LOCAL_MODULE := cocos2dx_static

LOCAL_MODULE_FILENAME := libcocos2d

--------------------------------------------------

The Selected NDK toolchain version was 4.8 !

Android NDK: jni/../../cocos2d/cocos/Android.mk: Cannot find module with tag 'feetype2/prebuilt/android' in import path

Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?

解决:

GAME_ROOT\cocos2d\external\freetype2\prebuilt\android\Android.mk

--------------------------------------------------

LOCAL_MODULE := cocos_freetype2_static

LOCAL_MODULE_FILENAME := freetype2

Android.mk中加入

LOCAL_WHOLE_STATIC_LIBRARIES += cocos_freetype2_static

$(call import-module,external/freetype2/prebuilt/android)

再补充加入:

$(call import-add-path, $(LOCAL_PATH)/../../cocos2d/external)

配置.a工程方法:

GAME_ROOT\cocos2d\external\freetype2\prebuilt\android\Android.mk

--------------------------------------------------

The Selected NDK toolchain version was 4.8 !

Android NDK: jni/../../cocos2d/external/chipmunk/Android.mk: Cannot find module

with tag 'platform/android' in import path

Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?

解决:

补充加入:

$(call import-add-path, $(LOCAL_PATH)/../../cocos2d/cocos)

--------------------------------------------------

The Selected NDK toolchain version was 4.8 !

Android NDK: Trying to define local module 'cocos2dx_static' in jni/../../cocos2d/cocos/./Android.mk.

Android NDK: But this module was already defined by jni/../../cocos2d/cocos/Android.mk.

一定要先设置

# 添加引用路径作为模块的搜索路径

$(call import-add-path, $(LOCAL_PATH)/../../cocos2d)

$(call import-add-path, $(LOCAL_PATH)/../../cocos2d/cocos)

$(call import-add-path, $(LOCAL_PATH)/../../cocos2d/external)

【注意↓】

# cocos/

$(call import-module,.)

$(call import-module,editor-support/cocostudio)

# 引入lua模块 2014-7-11 16:50:45

$(call import-module,scripting/lua-bindings)

【注意↓】

# external/

$(call import-module,iconv)

# 更新cocos2d-x 3.2引擎 依赖 2014-8-13 18:00:59

$(call import-module,freetype2/prebuilt/android)

$(call import-module,audio/android)

$(call import-module,Box2D)

$(call import-module,extensions)

$(call import-module,ui)

$(call import-module,curl/prebuilt/android)

-----------------------------------------------------------------------

2014-8-13 18:20:25 @sonikk

[armeabi] Compile++ thumb: cocos2dx_static <= CCObjLoader.cpp jni/../../cocos2d/cocos/./3d/CCBundleReader.cpp:94:23: error: return type of out-of-line definition of 'cocos2d::BundleReader::tell' differs from that in the declaration ssize_t BundleReader::tell()

^

jni/../../cocos2d/cocos/./3d/CCBundleReader.h:90:14: note: previous declaration

is here

long int tell();

^

1 error generated.

【解决办法】

GAME_ROOT\cocos2d\cocos\3d\CCBundleReader.h

line:90

long int tell();

GAME_ROOT\cocos2d\cocos\3d\CCBundleReader.cpp

line:94

ssize_t BundleReader::tell();

不匹配

调整.cpp文件的类型 ssize_t -> long int (不推荐)

调整.h文件的类型 long int -> ssize_t (推荐)

-----------------------------------------------------------------------

E:/dev/sdk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows

-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin\

ld.exe: error: E:/dev/sdk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/p

rebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.8/libgcc.a(pr-support.o):

multiple definition of '_Unwind_GetRegionStart'

E:/dev/sdk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows

-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin\

ld.exe: E:/dev/sdk/android-ndk-r10/sources/cxx-stl/llvm-libc++/libs/armeabi/thum

b/libc++_static.a(Unwind-EHABI.o): previous definition here

E:/dev/sdk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows

-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin\

ld.exe: error: E:/dev/sdk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/p

rebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.8/libgcc.a(pr-support.o):

multiple definition of '_Unwind_GetLanguageSpecificData'

E:/dev/sdk/android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows

-x86_64/lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin\

ld.exe: E:/dev/sdk/android-ndk-r10/sources/cxx-stl/llvm-libc++/libs/armeabi/thum

b/libc++_static.a(Unwind-EHABI.o): previous definition here

clang++.exe: error: linker command failed with exit code 1 (use -v to see invoca

tion)

查询文章:

Compiling and linking error when using NDK r10 to build cocos2d-x v3.2

http://www.cocos2d-x.org/news/307

https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=73907

解决方案:更改使用 ndk_r9d

-----------------------------------------------------------------------

2014-8-13 20:15:14

使用r9d编译遇到的问题:

make.exe: *** No rule to make target `E:/dev/sdk/android-ndk-r10/sources/android

/cpufeatures/cpu-features.c', needed by `obj/local/armeabi/objs-debug/cpufeature

s/cpu-features.o'. Stop.

重新打开cmd,重新编译就ok了,暴汗

已知点G是△ABC的重心,O是空间任意一点,若 OA + OB + OC

解 连结CG并延长,交AB于D,则D为AB中点,且CG=2GD,
∴ OA + OB + OC = OG + GA + OG + GB + OG + GC
=3 OG + GA + GB + GC
∵GD是△GAB的中线,可得 GB + GC =2 GD
∴ OA + OB + OC =3 OG +2 GD + GC
∵ GC =-2 GD
∴ OA + OB + OC =3 OG +2 GD +(-2 GD )=3 OG .
结合 OA + OB + 本回答由提问者推荐 评论 赞0 踩1

我是你谦gBY

采纳率:60% 擅长: 暂未定制

为您推荐: var cpro_psid = "u2115503"; var cpro_pswidth = "450"; var cpro_psheight = "25"; var cpro_psdata = { titff: '"Microsoft YaHei"', titfs: '14', rss2: "#333", rss3:'#34b458' } // 广告拦截打点 F.context('ads_log_bottomrequest', 1); // 广告同步加载 if (typeof BAIDU_SS_HHRUN!='function'){with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://su.bdimg.com/static/dspui/js/ue.js?v='+~(-new Date()/5600e5)]}else {BAIDU_SS_HHRUN()} 其他类似问题 2012-11-30 已知点G是三角形ABC的 重心,O是 空间任意一点,若OA+... 9 2010-12-14 已知点O为三角形ABC内一点,且OA+OB+OC=0,求证O... 74 2014-10-14 已知一点G是三角形ABC的重心,O是空间任意一点若向量OA+... 2010-11-10 已知点O是三角形ABC的重心,求向量OA+向量OB+向量OC... 41 更多类似问题 > 等待您来回答 2回答 笔记本突然抽风了,打不开了怎么回事 2回答 不小心点了好友QQ电话 好友问我干嘛怎么回答她 2回答 黑的上衣配蓝色牛仔裤搭配吗 10 5回答 她劈腿的~ 10 3回答 谁可以给我百度云绝望主妇,英汉双字幕的。。。拜托了 10 2回答 求皮皮麻将外挂 要求先安装后付款 或四川地区有实体店都可以... 3回答 这种鞋叫什么 2回答 手机开机密码忘了怎么解锁 2回答 3.4除以0.6保留整数 2回答 33厘米加67厘米等于多少分米多少米 3回答 和女朋友没有可能了,我是否把她全部拉黑忘了她呢,还是偶尔... 10回答 怎样回复才能让聊天进行下去 2回答 学生,在手机上怎么能挣钱,不用掏钱的 10回答 为什么我一个朋友,有10多个情人,甚至有些甘愿为他生孩子! 20 2回答 想知道这是什么,十几岁时就有了,以前只有芝麻大小,近两年... 更多等待您来回答的问题 > 登录

还没有百度账号?
立即注册

知道日报 全部文章 1125 “蛋疼”诊治为什么刻不容缓? .ec-ad {margin-left: -10px;padding-top: 5px;padding-bottom: 12px;}.ec-ad .ec-row-title .ec-title {font: normal 14px/34px 'Microsoft YaHei';padding-left: 10px;color: #666;}.ec-ad .ec-img-list {font-size: 0;}.ec-ad .ec-img-list .ec-img-item {width: 83px;display: inline-block;font-size: 12px;margin-left: 10px;vertical-align: top;}.ec-ad .ec-img {vertical-align: top;}.ec-ad .ec-img-desc {margin-top: 7px;text-align: center;color: #2d64b3;display: block;font-size: 12px;line-height: 18px;}相关搜索日本住宿雅思一对一课程温哥华租房网 .ec-ad .ec-row-title .ec-title { padding-left: 0; } .ec-ad .ec-img-list { width: 290px; } .ec-ad .ec-img-list .ec-img-item { margin-left: 0; margin-right: 10px; } 1 F.context('cmsRight', [ { 'url':'http://zhidao.baidu.com/s/shockingShow/index.html', 'src':'http://iknow02.bosstatic.bdimg.com/tuiguangwei/kejijie270170.jpg?t=1474011904' }, { 'url':'http://zhidao.baidu.com/activity/commact?name=duobao2&fr=tdsy', 'src':'http://iknow02.bosstatic.bdimg.com/activity/12.png?t=1474011904' }, { 'url':'http://ciyuanfan.baidu.com/', 'src':'http://iknow05.bosstatic.bdimg.com/tuiguangwei/ciyuanfanshangxian.PNG?t=1474011904' }]);

百度知道品牌合作指南 【*问答机】,揭穿流言! 免费领取《知道日报》主题专刊 知道大数据,用数据解读生活点滴 // 广告拦截打点 F.context('ads_log_toprequest', 1); // 防止被广告拦截后报错 window.BAIDU_CLB_addOrientation = window.BAIDU_CLB_addOrientation || null; if (window.BAIDU_CLB_addOrientation) { BAIDU_CLB_addOrientation('zdquery', ""); BAIDU_CLB_addOrientation("zdclassid", "83"); BAIDU_CLB_addOrientation("zhidaoqid", "1818936501493260628"); BAIDU_CLB_fillSlot("1125478"); } BAIDU_CLB_SLOT_ID = "639890"; /*知道问答页通栏*/ var cpro_id = "u2398732"; 新手帮助 如何答题 获取采纳 使用财富值 玩法介绍 知道商城 知道团队 行家认证 高质量问答 投诉建议 举报不良信息 意见反馈 投诉侵权信息

?2016 Baidu   使用百度前必读  |  知道协议  |  百度知道品牌合作

var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F6859ce5aaf00fb00387e6434e4fcc925' type='text/javascript'%3E%3C/script%3E"));

本篇内容仅供参考,内容整理自悟空问答等,若有侵权及违法信息,请联系513175919@qq.com,核实后我们将给予一定现金奖励

声明:本网内容收集自互联网,旨在传播知识仅供参考,不代表本网赞同其观点,文字及图片版权归原网站所有。

spiel${item}
猜你喜欢
热门推荐
今日推荐 更多