Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Cannot find definition for compilation setup #181

Open
weixiongmei opened this issue Feb 14, 2016 · 1 comment
Open

Cannot find definition for compilation setup #181

weixiongmei opened this issue Feb 14, 2016 · 1 comment

Comments

@weixiongmei
Copy link

1> mbed_asm.S
1> startup_stm32f401xe.S
1> pch.h
1> pch.h
1> Source.cpp
1> mbed_adc.cpp
1> mbed_clock.cpp
1> mbed_core.cpp
1> mbed_debug.cpp
1> mbed_ethernet.cpp
1> mbed_gpio.cpp
1> mbed_i2c.cpp
1> mbed_mem.cpp
1> mbed_memory.cpp
1> mbed_nvic.cpp
1> mbed_overrides.cpp
1> mbed_pwm.cpp
1> mbed_serial.cpp
1> mbed_socket.cpp
1> mbed_spi.cpp
1> mbed_system_timer.cpp
1> mbed_systick.cpp
1> mbed_threading.cpp
1> mbed_unwind.cpp
1> Generating native code for "c:\users\weixiong mei\documents\visual studio 2015\Projects\LlilumApplication6\LlilumApplication6\Managed\bin\Debug\Llilum.Managed.exe"
1> Cannot find definition for compilation setup 'Microsoft.Llilum.BoardConfigurations.STM32F401MBEDHostedCompilationSetup'
1>arm-none-eabi-gcc.exe : error : ARM\Debug\Llilum.Managed_opt.o: No such file or directory

No matter what board i selected, it always showing this error, please help, thanks!

@kail
Copy link
Contributor

kail commented Feb 16, 2016

This means that you are either missing that board configuration file, or have it in the wrong place. Please verify that this file exists by looking under <SDKDrop>\ZeligBuild\Host\bin\Debug\ and searching for a file called Microsoft.Llilum.BoardConfigurations.STM32F401.dll. If it doesn't exist, you found your problem.

If it does exist, that means that your SDK config is looking in the wrong place for it. You can try to fix that by opening the mbed_simple_STM32F401.FrontEndConfig file, and uncomment the -CompildationSetupPath flag. If that doesn't work, I highly recommend following the new SDK setup steps, which are outlined in my post here: #182

There will be an official wiki on these soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants