This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

求助:关于NDK helloworld的疑问



ndk提供的helloworld工程自动生成的linker.cmd文件中。链接库是怎么产生的??

其中"C:\ti\pdk_C6670_1_1_2_6\packages\ti\platform\evmc6670l\platform_lib\lib\debug\ti.platform.evm6670l.ae66"  等,我能在helloworld.cfg中var PlatformLib  = xdc.loadPackage('ti.platform.evmc6670l');

但是类似-l"C:\ti\ndk_2_22_02_16\packages\ti\ndk\netctrl\lib\netctrl.ae66" -l"C:\ti\ndk_2_22_02_16\packages\ti\ndk\nettools\lib\nettool.ae66"  找不到链接地方

 

  • 这些库是已经编译好存在与mcsdk中,不是每次编译自动产生的,如果在工程中使用到了相关的构件,如在RTSC中将相应的构件选中,在cfg中使用到,或者在lib include中添加了,就会自动进行链接。