Adding Keil MDK built library to the Cube project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-18 8:48 AM
I have a Keil MDK project which outputs a library mc_comms.lib. I have another Keil project which uses this library and there are any issues. My customer is using STM Cube and can't build the same test project with the same library.
Here are the errors:
c:\st\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: cannot find -lB:/STM32/G4/Examples/CubeIDE_1_6_0/zti_lib/zti_lib/lib/mc_comms.lib
c:\st\stm32cubeide_1.6.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: cannot find -lB:\STM32\G4\Examples\CubeIDE_1_6_0\zti_lib\zti_lib\lib\mc_comms.lib
FYI:
b:\STM32\G4\Examples\CubeIDE_1_6_0\zti_lib\zti_lib\lib>dir
Volume in drive B is home
Volume Serial Number is 4D4B-F115
Directory of b:\STM32\G4\Examples\CubeIDE_1_6_0\zti_lib\zti_lib\lib
03/18/2021 11:34 <DIR> .
03/17/2021 20:14 <DIR> ..
03/17/2021 18:16 2,139 mc_comms.h
03/18/2021 11:33 32,674 mc_comms.lib
2 File(s) 34,813 bytes
2 Dir(s) 11,366,381,383,680 bytes free
b:\STM32\G4\Examples\CubeIDE_1_6_0\zti_lib\zti_lib\lib>
Do you know what is my problem? How can I resolve it?
Thanks.
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-18 9:11 AM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-18 9:16 AM
That begs a few more questions:
- is armcc compatible with the gnu arm compiler?
- where to find linker command-line options in STM32CUBE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-18 9:25 AM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-18 9:29 AM
:(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-19 11:47 AM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-19 1:12 PM
:(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-19 5:51 PM
.
