当前位置:网站首页>Summary of various problems encountered by cocos2d-x
Summary of various problems encountered by cocos2d-x
2022-06-25 04:17:00 【A knife a kilo】
It turns out that I've been working on servers and Website program Today is my first contact with the game compile Summarize the problems encountered
At compile time
problem 1:
Android NDK:ERROR:E:\Cocos2d\projects\LearnCocos\frameworks\runtime-src\proj.an
droid\../../cocos2d-x/external/freetype2/prebuilt/android/Android.mk:cocos_freet
ype2_static:LOCAL_SRC_FILES points to a missing file
Android NDK:Check that E:/Cocos2d/projects/LearnCocos/frameworks/runtime-src/pr
oj.android/../../cocos2d-x/external/freetype2/prebuilt/android/arm64-v8a/libfree
type.aexists or that its path is correct
make: Enteringdirectory `E:/Cocos2d/projects/LearnCocos/frameworks/runtime-src/
proj.android'
E:/Cocos2d/android-ndk-r12b/build//../build/core/prebuilt-library.mk:45:*** And
roid NDK:Aborting . Stop.
make: Leavingdirectory `E:/Cocos2d/projects/LearnCocos/frameworks/runtime-src/p
roj.android'
LOCAL_SRC_FILES points to a missing file Many people on the Internet say that there is something missing .a file All kinds of twists and turns In fact, the first thing to consider at this time is to lower nkd Version test , The original version does not need to be deleted , Download the old version and reconfigure the system variables NDK_ROOT You can switch NDK Version of the Turned out to be NDK13 I dropped to NDK11 That's fine
problem 2:
multiple definition of 'frexpl'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make.exe: *** [obj/local/armeabi/libcocos2dcpp.so] Error 1
The prompt error contains the above information It has also troubled me, a rookie, for a long time
Then modify Android.mk
hold LOCAL_STATIC_LIBRARIES += android_support Change it to LOCAL_WHOLE_STATIC_LIBRARIES += android_support That's it

边栏推荐
- numpy np tips: numpy数组的squeeze等处理
- 学习码 滚动码 固定码 有什么区别重码数,编码容量滚动码的原理
- 【openwrt】推荐一个国内开发的openwrt的版本,iStoreOS简介,非常好用,主要是做了一些优化。解决了汉化的问题。
- 冷热酸甜、想成就成?冷酸灵母公司登康口腔欲在深交所主板上市
- Upgrade cmake
- Work assessment of Biopharmaceutics of Jilin University in March of the 22nd spring -00005
- Mysql的order by
- Flutter Builder & FutureBuilder组件
- Mathematical analysis_ Notes_ Chapter 3: limits
- Development of trading system (II) -- market data
猜你喜欢

Siddhartha: the book of life can be regurgitated frequently

client-go gin的简单整合十-Update

opencv最大能打开多少图像?
![[harmony OS] [ark UI] basic ETS context operations](/img/fb/a1b8463ba160e6c5aa23d671a0c245.png)
[harmony OS] [ark UI] basic ETS context operations

Development of trading system (II) -- market data

警惕超范围采集隐私-移动APP违规十宗罪

【openwrt】推荐一个国内开发的openwrt的版本,iStoreOS简介,非常好用,主要是做了一些优化。解决了汉化的问题。

Development of trading system (V) -- Introduction to Sinovel counter

SEO的5大关键指标:排名+流量+会话+停留时长+跳出率

Mathematical analysis_ Notes_ Chapter 3: limits
随机推荐
Exercise: how difficult is it to simulate the blessing lottery two-color ball - China 500W grand prize? Just run the code.
Changsha's "talent seeking": "making efforts" and "making practical moves" go hand in hand, "rapid development" and "slow life" go hand in hand
【LeetCode】143. Rearrange linked list
Standing wave ratio calculation method
2D 照片变身 3D 模型,来看英伟达的 AI 新“魔法”!
长沙“求才”:“下力气”与“出实招”并进,“快发展”和“慢生活”兼得
Development of trading system (VII) -- Analysis of trading delay
Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
警惕超范围采集隐私-移动APP违规十宗罪
Work assessment of Biopharmaceutics of Jilin University in March of the 22nd spring -00031
2022-06-21-flink-49 (I. SQL manual)
【LeetCode】143. 重排链表
Development of trading system (XII) - Official quickfix document
虽然传统意义上的互联网早已不复存在,但这并不代表互联网早已消失不再
cesium 图形标注圆形、正方形、多边形、椭圆等
"Grammar sugar" -- my new programming knowledge
Text keyword extraction: ansj
1280_ C language to find the average value of two unsigned integer
Cesium drag 3D model
Development of trading system (IX) -- dark pool technology