当前位置:网站首页>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

边栏推荐
- 1280_ C language to find the average value of two unsigned integer
- 2022-06-21-flink-49 (I. SQL manual)
- 《Missing Parts》NFT 作品集第 5 系列上线 The Sandbox 市场平台
- La gamme NFT Color, qui représente la diversité, est en ligne sur la plate - forme du marché Sandbox
- BSC parsing input data of transaction
- 【LeetCode】22. 括号生成
- mysql的tinyint字段类型判断的疑惑
- @RequestBody解决获取参数为null
- Windows 2003 64 bit system PHP running error: 1% is not a valid Win32 Application
- 数学分析_笔记_第3章:极限
猜你喜欢

Lecture record: new application of inertial navigation - inertial measurement

Development of trading system (II) -- market data

Is opencv open source?

数字时代的“文艺复兴”?起底数字藏品,让人欢喜让人愁

1280_ C language to find the average value of two unsigned integer

Intel 13代酷睿首次露出真面目:68MB缓存提升明显

Crawler crawls Sina Weibo data

2D 照片变身 3D 模型,来看英伟达的 AI 新“魔法”!

练习:仿真模拟福彩双色球——中500w巨奖到底有多难?跑跑代码就晓得了。

"Comment positionner l'industrie" dans la planification industrielle locale / parc
随机推荐
Hello CTP (IV) - CTP transaction API
练习:仿真模拟福彩双色球——中500w巨奖到底有多难?跑跑代码就晓得了。
Development of trading system (IX) -- dark pool technology
Lecture record: new application of inertial navigation - inertial measurement
How to draw an industry investment map
PHP代码审计1—PHP.ini的那些事
Intel 13代酷睿首次露出真面目:68MB缓存提升明显
mysql的tinyint字段类型判断的疑惑
kenlm
数学分析_笔记_第3章:极限
【LeetCode】148. Sort linked list
How many images can opencv open?
Acmstreamopen return value problem
"Comment positionner l'industrie" dans la planification industrielle locale / parc
opencv 红色区域在哪里?
(ultra detailed onenet TCP protocol access) arduino+esp8266-01s accesses the Internet of things platform, uploads real-time collected data /tcp transparent transmission (and how to obtain and write Lu
client-go gin的简单整合十一-Delete
2022-06-21-Flink-49(一. SQL手册)
【组队学习】SQL编程语言笔记——Task04
【LeetCode】148. 排序链表