2017-10-05 12:54 PM
Hi,
I'm trying to compile the STM32F30x User Project with based on AC6:
FOC SDK\v4.3.0\STM32 PMSM FOC LIB\Web\Project\AC6\STM32F30x_UserProject
When compiling I get the following error:
arm-none-eabi/bin/ld.exe: cannot find -lMC_Library_STM32F302x8_single_drive
Compiler is not able to find this library, which is correct since the file/library is not available within the library search path.
Anyone an idea about where to find, or how to get �MC_Library_STM32F302x8_single_drive�?
Thanks.
#stm32-mc-pmsm-sdkSolved! Go to Solution.
2017-10-06 05:22 AM
Solved by correcting the location of the src folder within the 'STM32F30x_MC Library' project.
Now I’m able to compile the MC library.
2017-10-06 05:22 AM
Solved by correcting the location of the src folder within the 'STM32F30x_MC Library' project.
Now I’m able to compile the MC library.
2017-10-06 07:28 AM
Gerber wrote:
Solved by correcting the location of the src folder within the 'STM32F30x_MC Library' project.
Now I’m able to compile the MC library.
2017-10-29 02:30 PM
Hi,
I have the same problem but I don't know how to modify the 'STM32F30x_MC Library' project.
I suppose that the line to be modified is the following:
<locationURI>copy_PARENT/MCLibrary/src</locationURI>
Which is the right value for the src location?
2017-10-29 11:28 PM
Hi,
sources:
v4.3.0\STM32 PMSM FOC LIB\Web\MCLibrary\src
Have a great day.
2017-10-30 02:51 AM
Hi,
sorry I made the wrong question. I know the MCLibrary's location in my HD, I suppose I should modified the file .project inside the directory v4.3.0\STM32 PMSM FOC LIB\Web\Project\AC6\STM32F30x_MC Library
I suppose I should modified the value of copy_PARENT inside this file. I tried with the full path and all the paths removing one directory level at time but it didn't work. I didn't use the procedure 'Open Project from File System..' each time but just close and re-open Eclipse.
If you have some suggestion I really appreciate it.
Regars
2017-10-30 04:11 AM
Hi,
open the library project in AC6/Workbench. Look for the 'src' folder in your project. Right click on 'src' and select properties. Under resource you can edit the location of the nesacary folder/sources. Using a full path should do the job.
2017-10-30 07:07 AM
It works. Thanks a lot for your support.
Regards