{"id":75974,"date":"2026-02-13T17:05:49","date_gmt":"2026-02-13T09:05:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/75974.html"},"modified":"2026-02-13T17:05:49","modified_gmt":"2026-02-13T09:05:49","slug":"%e5%85%a8%e5%bf%97tina-sdk%e7%bc%96%e8%af%91%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba%e4%b8%8e%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/75974.html","title":{"rendered":"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3"},"content":{"rendered":"<h3>1. \u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5<\/h3>\n<p>\u6700\u8fd1\u5728\u6298\u817e\u5168\u5fd7Tina SDK\u7684\u7f16\u8bd1\u73af\u5883\u642d\u5efa&#xff0c;\u53d1\u73b0Ubuntu 22.04\u662f\u4e2a\u633a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4e0d\u8fc7\u5b98\u65b9\u6587\u6863\u5927\u591a\u57fa\u4e8eUbuntu 16.04\u621618.04&#xff0c;\u5728\u65b0\u7cfb\u7edf\u4e0a\u76f4\u63a5\u7f16\u8bd1\u4f1a\u9047\u5230\u4e0d\u5c11\u95ee\u9898\u3002\u6211\u81ea\u5df1\u8e29\u8fc7\u4e0d\u5c11\u5751&#xff0c;\u8fd9\u91cc\u628a\u5b8c\u6574\u7684\u73af\u5883\u914d\u7f6e\u8fc7\u7a0b\u5206\u4eab\u7ed9\u5927\u5bb6&#xff0c;\u8ba9\u4f60\u5c11\u8d70\u5f2f\u8def\u3002<\/p>\n<p>\u9996\u5148\u9700\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u7f16\u8bd1\u5de5\u5177\u548c\u4f9d\u8d56\u5e93\u3002\u5168\u5fd7Tina SDK\u7f16\u8bd1\u9700\u8981\u4e00\u5806\u5f00\u53d1\u5de5\u5177\u548c32\u4f4d\u5e93\u652f\u6301&#xff0c;\u8fd9\u4e2a\u5b89\u88c5\u547d\u4ee4\u6211\u6d4b\u8bd5\u8fc7\u5f88\u591a\u6b21&#xff0c;\u5728Ubuntu 22.04\u4e0a\u5f88\u7a33\u5b9a&#xff1a;<\/p>\n<p>sudo apt-get update<br \/>\nsudo apt-get install build-essential subversion git-core \\\\<br \/>\nlibncurses5-dev zlib1g-dev gawk flex quilt libssl-dev \\\\<br \/>\nxsltproc libxml-parser-perl mercurial bzr ecj cvs unzip \\\\<br \/>\nlib32z1 lib32z1-dev lib32stdc&#043;&#043;6 libstdc&#043;&#043;6 -y libc6:i386 \\\\<br \/>\nlibstdc&#043;&#043;6:i386 lib32ncurses5 lib32z1<\/p>\n<p>\u8fd9\u91cc\u6709\u4e2a\u5c0f\u7ec6\u8282\u8981\u6ce8\u610f&#xff1a;Ubuntu 22.04\u9ed8\u8ba4\u6ca1\u6709\u542f\u752832\u4f4d\u5e93\u652f\u6301&#xff0c;\u9700\u8981\u5148\u542f\u7528\u591a\u67b6\u6784\u652f\u6301&#xff1a;<\/p>\n<p>sudo dpkg &#8211;add-architecture i386<br \/>\nsudo apt-get update<\/p>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5982\u679c\u9047\u5230\u4f9d\u8d56\u51b2\u7a81&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u7528aptitude\u6765\u4ee3\u66ffapt-get&#xff0c;\u5b83\u80fd\u66f4\u597d\u5730\u5904\u7406\u590d\u6742\u7684\u4f9d\u8d56\u5173\u7cfb\u3002\u6211\u9047\u5230\u8fc7\u51e0\u6b21\u4f9d\u8d56\u95ee\u9898&#xff0c;\u90fd\u662f\u7528\u8fd9\u4e2a\u547d\u4ee4\u89e3\u51b3\u7684&#xff1a;<\/p>\n<p>sudo aptitude install [\u5305\u540d]<\/p>\n<h3>2. SDK\u83b7\u53d6\u4e0e\u521d\u59cb\u914d\u7f6e<\/h3>\n<p>\u73af\u5883\u51c6\u5907\u597d\u540e&#xff0c;\u63a5\u4e0b\u6765\u8981\u83b7\u53d6SDK\u6e90\u7801\u3002\u5168\u5fd7\u7684SDK\u901a\u5e38\u901a\u8fc7repo\u5de5\u5177\u7ba1\u7406&#xff0c;\u9700\u8981\u5148\u8bbe\u7f6egit\u7528\u6237\u4fe1\u606f&#xff1a;<\/p>\n<p>git config &#8211;global user.email &#034;your.email&#064;example.com&#034;<br \/>\ngit config &#8211;global user.name &#034;Your Name&#034;<\/p>\n<p>\u7136\u540e\u521d\u59cb\u5316repo\u5e76\u540c\u6b65\u4ee3\u7801&#xff1a;<\/p>\n<p>mkdir tina-sdk<br \/>\ncd tina-sdk<br \/>\nrepo init -u https:\/\/github.com\/allwinner-tina\/tina-manifest.git<br \/>\nrepo sync -j8<\/p>\n<p>\u540c\u6b65\u4ee3\u7801\u662f\u4e2a\u6f2b\u957f\u7684\u8fc7\u7a0b&#xff0c;\u53d6\u51b3\u4e8e\u4f60\u7684\u7f51\u7edc\u901f\u5ea6\u3002\u6211\u5efa\u8bae\u5728\u665a\u4e0a\u7761\u89c9\u524d\u5f00\u59cb\u540c\u6b65&#xff0c;\u7b2c\u4e8c\u5929\u65e9\u4e0a\u5c31\u80fd\u7528\u4e86\u3002\u5982\u679c\u4e2d\u9014\u65ad\u7ebf&#xff0c;\u53ef\u4ee5\u91cd\u590d\u6267\u884crepo sync\u547d\u4ee4\u7ee7\u7eed\u540c\u6b65\u3002<\/p>\n<p>\u540c\u6b65\u5b8c\u6210\u540e&#xff0c;\u5148\u68c0\u67e5\u4e00\u4e0bSDK\u7684\u76ee\u5f55\u7ed3\u6784\u3002\u5178\u578b\u7684Tina SDK\u5305\u542b\u8fd9\u4e9b\u91cd\u8981\u76ee\u5f55&#xff1a;<\/p>\n<ul>\n<li>brandy\/ &#8211; \u5305\u542bbootloader\u4ee3\u7801<\/li>\n<li>kernel\/ &#8211; Linux\u5185\u6838\u6e90\u7801<\/li>\n<li>target\/ &#8211; \u76ee\u6807\u8bbe\u5907\u914d\u7f6e<\/li>\n<li>package\/ &#8211; \u5e94\u7528\u7a0b\u5e8f\u5305<\/li>\n<li>tools\/ &#8211; \u7f16\u8bd1\u5de5\u5177\u94fe<\/li>\n<\/ul>\n<h3>3. \u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u4e0e\u7f16\u8bd1\u914d\u7f6e<\/h3>\n<p>\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e\u662f\u5173\u952e\u6b65\u9aa4&#xff0c;\u5f88\u591a\u7f16\u8bd1\u95ee\u9898\u90fd\u51fa\u5728\u8fd9\u91cc\u3002Tina SDK\u63d0\u4f9b\u4e86\u73af\u5883\u8bbe\u7f6e\u811a\u672c&#xff1a;<\/p>\n<p>source build\/envsetup.sh<\/p>\n<p>\u6267\u884c\u8fd9\u4e2a\u811a\u672c\u540e&#xff0c;\u4f1a\u6dfb\u52a0\u5f88\u591a\u6709\u7528\u7684\u547d\u4ee4\u5230\u4f60\u7684\u73af\u5883\u91cc&#xff0c;\u6bd4\u5982croot&#xff08;\u5feb\u901f\u56de\u5230SDK\u6839\u76ee\u5f55&#xff09;\u3001cout&#xff08;\u8df3\u5230\u8f93\u51fa\u76ee\u5f55&#xff09;\u7b49\u3002\u6211\u6700\u559c\u6b22\u7684\u662fcgrep&#xff0c;\u53ef\u4ee5\u5728\u6574\u4e2aSDK\u91cc\u5feb\u901f\u641c\u7d22\u4ee3\u7801\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u9009\u62e9\u7f16\u8bd1\u914d\u7f6e&#xff1a;<\/p>\n<p>lunch<\/p>\n<p>\u4f60\u4f1a\u770b\u5230\u4e00\u4e2a\u83dc\u5355\u5217\u8868&#xff0c;\u9009\u62e9\u5bf9\u5e94\u7684\u5f00\u53d1\u677f\u914d\u7f6e\u3002\u6bd4\u5982T113\u82af\u7247\u901a\u5e38\u9009\u62e9t113_evb1-tina\u3002\u8fd9\u4e2a\u6b65\u9aa4\u5b9e\u9645\u4e0a\u8bbe\u7f6e\u4e86\u5927\u91cf\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u6307\u5b9a\u4e86\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe\u3001\u76ee\u6807\u67b6\u6784\u7b49\u5173\u952e\u53c2\u6570\u3002<\/p>\n<p>\u8bbe\u7f6e\u5b8c\u6210\u540e&#xff0c;\u5efa\u8bae\u68c0\u67e5\u4e00\u4e0b\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe\u662f\u5426\u6b63\u5e38&#xff1a;<\/p>\n<p>echo $CC<br \/>\nwhich $CC<\/p>\n<p>\u5e94\u8be5\u80fd\u770b\u5230\u7c7b\u4f3carm-openwrt-linux-gcc\u8fd9\u6837\u7684\u5de5\u5177\u94fe\u8def\u5f84\u3002\u5982\u679c\u663e\u793a\u627e\u4e0d\u5230&#xff0c;\u8bf4\u660e\u73af\u5883\u8bbe\u7f6e\u6709\u95ee\u9898&#xff0c;\u9700\u8981\u91cd\u65b0\u6267\u884c\u524d\u9762\u7684\u6b65\u9aa4\u3002<\/p>\n<h3>4. \u5e38\u89c1\u7f16\u8bd1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<p>\u5728\u5b9e\u9645\u7f16\u8bd1\u8fc7\u7a0b\u4e2d&#xff0c;\u6211\u9047\u5230\u4e86\u4e0d\u5c11\u95ee\u9898&#xff0c;\u8fd9\u91cc\u5206\u4eab\u51e0\u4e2a\u5178\u578b\u7684\u6848\u4f8b\u548c\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<p>\u95ee\u9898\u4e00&#xff1a;\u6743\u9650\u9519\u8bef<\/p>\n<p>configure: error: you should not run configure as root<\/p>\n<p>\u8fd9\u662f\u5f88\u5e38\u89c1\u7684\u9519\u8bef&#xff0c;\u89e3\u51b3\u65b9\u6cd5\u5f88\u7b80\u5355\u4f46\u5f88\u91cd\u8981&#xff1a;<\/p>\n<p>sudo chown -R $USER:$USER .<br \/>\nexport FORCE_UNSAFE_CONFIGURE&#061;1<\/p>\n<p>\u95ee\u9898\u4e8c&#xff1a;\u591a\u91cd\u5b9a\u4e49\u9519\u8bef<\/p>\n<p>multiple definition of &#096;yylloc&#039;<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u5728Ubuntu 22.04\u4e0a\u7ecf\u5e38\u51fa\u73b0&#xff0c;\u9700\u8981\u4fee\u6539dtc\u7f16\u8bd1\u5668\u7684\u6e90\u7801&#xff1a;<\/p>\n<p>find . -name &#034;dtc-lexer.lex.c&#034; -exec sed -i &#039;s\/YYLTYPE yylloc;\/extern YYLTYPE yylloc;\/&#039; {} \\\\;<\/p>\n<p>\u95ee\u9898\u4e09&#xff1a;_STAT_VER\u672a\u5b9a\u4e49<\/p>\n<p>libfakeroot.c:99:40: error: &#039;_STAT_VER&#039; undeclared<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u9700\u8981\u4fee\u6539libfakeroot\u7684\u6e90\u7801&#xff0c;\u5728\u62a5\u9519\u6587\u4ef6\u7684\u5f00\u5934\u6dfb\u52a0&#xff1a;<\/p>\n<p>#ifndef _STAT_VER<br \/>\n#if defined (__aarch64__)<br \/>\n#define _STAT_VER 0<br \/>\n#elif defined (__x86_64__)<br \/>\n#define _STAT_VER 1<br \/>\n#else<br \/>\n#define _STAT_VER 3<br \/>\n#endif<br \/>\n#endif<\/p>\n<p>\u95ee\u9898\u56db&#xff1a;\u5de5\u5177\u94fe\u517c\u5bb9\u6027\u95ee\u9898<br \/>\nUbuntu 22.04\u81ea\u5e26\u7684GCC\u7248\u672c\u8f83\u65b0&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u79cd\u5947\u602a\u7684\u7f16\u8bd1\u9519\u8bef\u3002\u5982\u679c\u9047\u5230\u8fd9\u7c7b\u95ee\u9898&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u8f83\u65e7\u7684GCC\u7248\u672c&#xff1a;<\/p>\n<p>sudo apt install gcc-9 g&#043;&#043;-9<br \/>\nsudo update-alternatives &#8211;install \/usr\/bin\/gcc gcc \/usr\/bin\/gcc-9 100<br \/>\nsudo update-alternatives &#8211;install \/usr\/bin\/g&#043;&#043; g&#043;&#043; \/usr\/bin\/g&#043;&#043;-9 100<\/p>\n<h3>5. \u5b8c\u6574\u7f16\u8bd1\u4e0e\u6253\u5305<\/h3>\n<p>\u89e3\u51b3\u4e86\u5404\u79cd\u7f16\u8bd1\u95ee\u9898\u540e&#xff0c;\u5c31\u53ef\u4ee5\u5f00\u59cb\u6b63\u5f0f\u7f16\u8bd1\u4e86\u3002\u6211\u5efa\u8bae\u7b2c\u4e00\u6b21\u7f16\u8bd1\u65f6\u4f7f\u7528\u5355\u7ebf\u7a0b&#xff0c;\u8fd9\u6837\u66f4\u5bb9\u6613\u5b9a\u4f4d\u95ee\u9898&#xff1a;<\/p>\n<p>make -j1 V&#061;s<\/p>\n<p>V&#061;s\u53c2\u6570\u4f1a\u663e\u793a\u8be6\u7ec6\u7684\u7f16\u8bd1\u4fe1\u606f&#xff0c;\u867d\u7136\u8f93\u51fa\u5f88\u591a&#xff0c;\u4f46\u5bf9\u4e8e\u8c03\u8bd5\u975e\u5e38\u6709\u7528\u3002\u7f16\u8bd1\u6210\u529f\u540e&#xff0c;\u4e0b\u6b21\u5c31\u53ef\u4ee5\u4f7f\u7528\u591a\u7ebf\u7a0b\u52a0\u901f\u7f16\u8bd1\u4e86&#xff1a;<\/p>\n<p>make -j$(nproc)<\/p>\n<p>\u8fd9\u91cc\u7684$(nproc)\u4f1a\u81ea\u52a8\u68c0\u6d4b\u4f60\u7684CPU\u6838\u5fc3\u6570&#xff0c;\u6bd4\u59828\u6838CPU\u5c31\u7528-j8\u3002\u4f46\u8981\u6ce8\u610f&#xff0c;\u6709\u65f6\u5019\u591a\u7ebf\u7a0b\u7f16\u8bd1\u4f1a\u56e0\u4f9d\u8d56\u95ee\u9898\u5931\u8d25&#xff0c;\u8fd9\u65f6\u5019\u5c31\u9700\u8981\u56de\u9000\u5230\u5355\u7ebf\u7a0b\u3002<\/p>\n<p>\u7f16\u8bd1\u5b8c\u6210\u540e&#xff0c;\u9700\u8981\u6253\u5305\u751f\u6210\u56fa\u4ef6\u955c\u50cf&#xff1a;<\/p>\n<p>pack<\/p>\n<p>\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u751f\u6210\u4e00\u4e2a.img\u683c\u5f0f\u7684\u56fa\u4ef6\u6587\u4ef6&#xff0c;\u901a\u5e38\u4f4d\u4e8eout\/\u76ee\u5f55\u4e0b&#xff0c;\u6bd4\u5982out\/t113_evb1\/tina_t113_evb1_uart0.img\u3002\u8fd9\u4e2a\u6587\u4ef6\u5c31\u53ef\u4ee5\u7528\u5168\u5fd7\u7684\u70e7\u5f55\u5de5\u5177\u5199\u5165\u5f00\u53d1\u677f\u4e86\u3002<\/p>\n<h3>6. \u9ad8\u7ea7\u6280\u5de7\u4e0e\u4f18\u5316<\/h3>\n<p>\u7ecf\u8fc7\u51e0\u6b21\u5b8c\u6574\u7f16\u8bd1\u540e&#xff0c;\u6211\u603b\u7ed3\u51fa\u4e00\u4e9b\u63d0\u9ad8\u6548\u7387\u7684\u6280\u5de7\u3002<\/p>\n<p>\u589e\u91cf\u7f16\u8bd1&#xff1a;\u5982\u679c\u53ea\u4fee\u6539\u4e86\u67d0\u4e2a\u5305&#xff0c;\u4e0d\u9700\u8981\u91cd\u65b0\u7f16\u8bd1\u6574\u4e2a\u7cfb\u7edf\u3002\u6bd4\u5982\u53ea\u4fee\u6539\u4e86\u5185\u6838&#xff1a;<\/p>\n<p>mkernel<\/p>\n<p>\u6216\u8005\u53ea\u7f16\u8bd1\u67d0\u4e2a\u5e94\u7528\u7a0b\u5e8f\u5305&#xff1a;<\/p>\n<p>cd package\/utils\/rwcheck<br \/>\nmm -B<\/p>\n<p>\u6e05\u7406\u6280\u5de7&#xff1a;\u6709\u65f6\u5019\u9700\u8981\u91cd\u65b0\u7f16\u8bd1&#xff0c;\u4f46\u53c8\u4e0d\u786e\u5b9a\u54ea\u4e9b\u6587\u4ef6\u88ab\u4fee\u6539\u8fc7&#xff0c;\u53ef\u4ee5\u4f7f\u7528&#xff1a;<\/p>\n<p>make clean<\/p>\n<p>\u4f46\u8981\u6ce8\u610f&#xff0c;\u8fd9\u4f1a\u6e05\u7406\u6240\u6709\u7f16\u8bd1\u4ea7\u7269&#xff0c;\u4e0b\u6b21\u7f16\u8bd1\u9700\u8981\u4ece\u5934\u5f00\u59cb\u3002\u5982\u679c\u53ea\u662f\u60f3\u91cd\u65b0\u7f16\u8bd1\u67d0\u4e2a\u7ec4\u4ef6&#xff0c;\u66f4\u597d\u7684\u65b9\u6cd5\u662f\u53ea\u6e05\u7406\u8be5\u7ec4\u4ef6&#xff1a;<\/p>\n<p>make target\/linux\/clean<\/p>\n<p>\u7f13\u5b58\u5229\u7528&#xff1a;ccache\u53ef\u4ee5\u663e\u8457\u52a0\u901f\u91cd\u590d\u7f16\u8bd1&#xff0c;\u5efa\u8bae\u5b89\u88c5\u5e76\u542f\u7528&#xff1a;<\/p>\n<p>sudo apt install ccache<br \/>\nexport USE_CCACHE&#061;1<br \/>\nexport CCACHE_DIR&#061;\/path\/to\/ccache<br \/>\nccache -M 50G<\/p>\n<p>\u8bbe\u7f6e50G\u7684\u7f13\u5b58\u7a7a\u95f4&#xff0c;\u5bf9\u4e8e\u5927\u578b\u9879\u76ee\u7f16\u8bd1\u901f\u5ea6\u63d0\u5347\u5f88\u660e\u663e\u3002<\/p>\n<h3>7. \u70e7\u5f55\u4e0e\u8c03\u8bd5<\/h3>\n<p>\u7f16\u8bd1\u6253\u5305\u5b8c\u6210\u540e&#xff0c;\u4e0b\u4e00\u6b65\u5c31\u662f\u70e7\u5f55\u5230\u8bbe\u5907\u4e0a\u6d4b\u8bd5\u3002\u5168\u5fd7\u63d0\u4f9b\u4e86\u591a\u79cd\u70e7\u5f55\u65b9\u5f0f&#xff0c;\u6211\u6700\u5e38\u7528\u7684\u662fPhoenixSuit\u3002<\/p>\n<p>\u9996\u5148\u5b89\u88c5\u9a71\u52a8\u548c\u70e7\u5f55\u5de5\u5177&#xff0c;\u7136\u540e\u5728\u8bbe\u5907\u4e0a\u8fdb\u5165FEL\u6a21\u5f0f&#xff08;\u901a\u5e38\u662f\u901a\u8fc7\u6309\u4f4fFEL\u6309\u94ae\u518d\u4e0a\u7535&#xff09;&#xff0c;\u8fde\u63a5USB\u540e\u5c31\u80fd\u5728PhoenixSuit\u4e2d\u770b\u5230\u8bbe\u5907\u3002\u9009\u62e9\u7f16\u8bd1\u597d\u7684img\u6587\u4ef6&#xff0c;\u70b9\u51fb\u5347\u7ea7\u5373\u53ef\u3002<\/p>\n<p>\u5982\u679c\u70e7\u5f55\u540e\u8bbe\u5907\u65e0\u6cd5\u542f\u52a8&#xff0c;\u9996\u5148\u68c0\u67e5\u4e32\u53e3\u8f93\u51fa\u3002\u5168\u5fd7\u82af\u7247\u901a\u5e38\u90fd\u6709UART\u8c03\u8bd5\u63a5\u53e3&#xff0c;\u901a\u8fc7USB\u8f6c\u4e32\u53e3\u5de5\u5177\u8fde\u63a5\u540e&#xff0c;\u7528minicom\u6216\u8005screen\u5c31\u80fd\u770b\u5230\u542f\u52a8\u65e5\u5fd7&#xff1a;<\/p>\n<p>sudo screen \/dev\/ttyUSB0 115200<\/p>\n<p>\u542f\u52a8\u65e5\u5fd7\u80fd\u63d0\u4f9b\u5f88\u591a\u8c03\u8bd5\u4fe1\u606f&#xff0c;\u6bd4\u5982\u5185\u6838panic\u3001\u9a71\u52a8\u52a0\u8f7d\u5931\u8d25\u7b49\u3002\u6839\u636e\u9519\u8bef\u4fe1\u606f\u518d\u56de\u5934\u4fee\u6539\u4ee3\u7801\u91cd\u65b0\u7f16\u8bd1\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u4e2a\u6709\u7528\u7684\u6280\u5de7\u662f\u751f\u6210\u7f16\u8bd1\u6570\u636e\u5e93&#xff0c;\u65b9\u4fbf\u7528IDE\u8fdb\u884c\u4ee3\u7801\u5bfc\u822a\u548c\u5206\u6790&#xff1a;<\/p>\n<p>make COMPILER&#061;clang compile_commands.json<\/p>\n<p>\u8fd9\u4e2a\u6587\u4ef6\u53ef\u4ee5\u88abVS Code\u3001Clion\u7b49IDE\u8bc6\u522b&#xff0c;\u5b9e\u73b0\u4ee3\u7801\u8df3\u8f6c\u3001\u81ea\u52a8\u8865\u5168\u7b49\u529f\u80fd&#xff0c;\u5927\u5927\u63d0\u5347\u5f00\u53d1\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5<br \/>\n\u6700\u8fd1\u5728\u6298\u817e\u5168\u5fd7Tina SDK\u7684\u7f16\u8bd1\u73af\u5883\u642d\u5efa&#xff0c;\u53d1\u73b0Ubuntu 22.04\u662f\u4e2a\u633a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4e0d\u8fc7\u5b98\u65b9\u6587\u6863\u5927\u591a\u57fa\u4e8eUbuntu 16.04\u621618.04&#xff0c;\u5728\u65b0\u7cfb\u7edf\u4e0a\u76f4\u63a5\u7f16\u8bd1\u4f1a\u9047\u5230\u4e0d\u5c11\u95ee\u9898\u3002\u6211\u81ea\u5df1\u8e29\u8fc7\u4e0d\u5c11\u5751&#xff0c;\u8fd9\u91cc\u628a\u5b8c\u6574\u7684\u73af\u5883\u914d\u7f6e\u8fc7\u7a0b\u5206\u4eab\u7ed9\u5927\u5bb6&#xff0c;\u8ba9\u4f60\u5c11\u8d70\u5f2f\u8def\u3002<br \/>\n\u9996\u5148\u9700\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u7f16\u8bd1\u5de5\u5177\u548c\u4f9d\u8d56\u5e93\u3002\u5168\u5fd7Tina SDK\u7f16\u8bd1\u9700\u8981\u4e00\u5806\u5f00\u53d1\u5de5\u5177\u548c32\u4f4d\u5e93\u652f\u6301&#xff0c;\u8fd9\u4e2a\u5b89\u88c5\u547d\u4ee4\u6211\u6d4b\u8bd5\u8fc7\u5f88\u591a\u6b21&amp;#xff0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8141,8140,8142,2896],"topic":[],"class_list":["post-75974","post","type-post","status-publish","format-standard","hentry","category-server","tag-tina-sdk","tag-8140","tag-8142","tag-2896"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/75974.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1. \u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5 \u6700\u8fd1\u5728\u6298\u817e\u5168\u5fd7Tina SDK\u7684\u7f16\u8bd1\u73af\u5883\u642d\u5efa&#xff0c;\u53d1\u73b0Ubuntu 22.04\u662f\u4e2a\u633a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4e0d\u8fc7\u5b98\u65b9\u6587\u6863\u5927\u591a\u57fa\u4e8eUbuntu 16.04\u621618.04&#xff0c;\u5728\u65b0\u7cfb\u7edf\u4e0a\u76f4\u63a5\u7f16\u8bd1\u4f1a\u9047\u5230\u4e0d\u5c11\u95ee\u9898\u3002\u6211\u81ea\u5df1\u8e29\u8fc7\u4e0d\u5c11\u5751&#xff0c;\u8fd9\u91cc\u628a\u5b8c\u6574\u7684\u73af\u5883\u914d\u7f6e\u8fc7\u7a0b\u5206\u4eab\u7ed9\u5927\u5bb6&#xff0c;\u8ba9\u4f60\u5c11\u8d70\u5f2f\u8def\u3002 \u9996\u5148\u9700\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u7f16\u8bd1\u5de5\u5177\u548c\u4f9d\u8d56\u5e93\u3002\u5168\u5fd7Tina SDK\u7f16\u8bd1\u9700\u8981\u4e00\u5806\u5f00\u53d1\u5de5\u5177\u548c32\u4f4d\u5e93\u652f\u6301&#xff0c;\u8fd9\u4e2a\u5b89\u88c5\u547d\u4ee4\u6211\u6d4b\u8bd5\u8fc7\u5f88\u591a\u6b21&amp;#xff0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/75974.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-13T09:05:49+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/75974.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/75974.html\",\"name\":\"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-13T09:05:49+00:00\",\"dateModified\":\"2026-02-13T09:05:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/75974.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/75974.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/75974.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/75974.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1. \u73af\u5883\u51c6\u5907\u4e0e\u4f9d\u8d56\u5b89\u88c5 \u6700\u8fd1\u5728\u6298\u817e\u5168\u5fd7Tina SDK\u7684\u7f16\u8bd1\u73af\u5883\u642d\u5efa&#xff0c;\u53d1\u73b0Ubuntu 22.04\u662f\u4e2a\u633a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u4e0d\u8fc7\u5b98\u65b9\u6587\u6863\u5927\u591a\u57fa\u4e8eUbuntu 16.04\u621618.04&#xff0c;\u5728\u65b0\u7cfb\u7edf\u4e0a\u76f4\u63a5\u7f16\u8bd1\u4f1a\u9047\u5230\u4e0d\u5c11\u95ee\u9898\u3002\u6211\u81ea\u5df1\u8e29\u8fc7\u4e0d\u5c11\u5751&#xff0c;\u8fd9\u91cc\u628a\u5b8c\u6574\u7684\u73af\u5883\u914d\u7f6e\u8fc7\u7a0b\u5206\u4eab\u7ed9\u5927\u5bb6&#xff0c;\u8ba9\u4f60\u5c11\u8d70\u5f2f\u8def\u3002 \u9996\u5148\u9700\u8981\u5b89\u88c5\u5fc5\u8981\u7684\u7f16\u8bd1\u5de5\u5177\u548c\u4f9d\u8d56\u5e93\u3002\u5168\u5fd7Tina SDK\u7f16\u8bd1\u9700\u8981\u4e00\u5806\u5f00\u53d1\u5de5\u5177\u548c32\u4f4d\u5e93\u652f\u6301&#xff0c;\u8fd9\u4e2a\u5b89\u88c5\u547d\u4ee4\u6211\u6d4b\u8bd5\u8fc7\u5f88\u591a\u6b21&amp;#xff0","og_url":"https:\/\/www.wsisp.com\/helps\/75974.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-13T09:05:49+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/75974.html","url":"https:\/\/www.wsisp.com\/helps\/75974.html","name":"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-13T09:05:49+00:00","dateModified":"2026-02-13T09:05:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/75974.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/75974.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/75974.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5168\u5fd7Tina SDK\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/75974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=75974"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/75974\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=75974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=75974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=75974"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=75974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}