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

边栏推荐
- Development of trading system (V) -- Introduction to Sinovel counter
- 1.初识半音阶口琴
- The art of writing simple code
- 代表多样性的彩色 NFT 系列上线 The Sandbox 市场平台
- MySQL插入过程报错1062,但是我没有该字段。
- [rust contribution] implement Message Oriented Middleware (6) -client from zero
- La gamme NFT Color, qui représente la diversité, est en ligne sur la plate - forme du marché Sandbox
- NFT Insider #63:The Sandbox与时代杂志达成合作,YGG成立西班牙subDAO
- web3.eth. Getpendingtransactions() returns null?
- Turn 2D photos into 3D models to see NVIDIA's new AI "magic"!
猜你喜欢

Trading system development (IV) - trading counter system

opencv 红色区域在哪里?

Vigilance against over range collection of privacy - ten mobile app violations

Lecture record: history and development of strapdown inertial navigation solution

Development of trading system (VI) -- HFT high frequency trading

1280_C语言求两个无符号整形的平均值
Zoran community

How to install opencv? Opencv download installation tutorial

Simple integration of client go gin -update

1280_ C language to find the average value of two unsigned integer
随机推荐
La gamme NFT Color, qui représente la diversité, est en ligne sur la plate - forme du marché Sandbox
微信小程序中的列表渲染
PHP code audit 1 - php Ini
How many images can opencv open?
WMS仓储管理系统的使用价值,你知道多少
(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
MySQL modifies and deletes tables in batches according to the table prefix
【LeetCode】148. 排序链表
5 key indicators of SEO: ranking + traffic + session + length of stay + bounce rate
Development of trading system (VIII) -- Construction of low delay network
DAP数据调度功能完善说明
The art of writing simple code
How to use crawlers to capture bullet screen and comment data of station B?
驻波比计算方法
List rendering in wechat applet
BSC parsing input data of transaction
【Proteus仿真】Arduino UNO按键控制数码管闪烁增/减显示
navicat可不可以直接操作安卓数据库SQLite
opencv怎么安装?opencv下载安装教程
2D 照片变身 3D 模型,来看英伟达的 AI 新“魔法”!