emwin如何在windows10下vs2015或2017进行仿真。

时间:2022-04-17 08:00:43

Make sure the selected Windows SDK is installed:
Properties -> Configuration Properties -> General -> Windows SDK Version.

1. Right-Click on the Project (e.g. SimulationTrial) -> Properties
2 Set Configuration to "All Configurations"
3. Goto Configuration Properties -> Linker -> Input.
4. Add under Additional Dependencies: "legacy_stdio_definitions.lib"

5. Set Ignore All Default Libraries: "No"

6. Set Ignore Specific Default Libraries: "LIBC.lib;LIBCMTD.lib"
7. Goto Configuration Properties -> Linker -> Advanced
8. Set Image Has Safe Exception Handlers:"No (/SAFESEH:NO)"
9. Click "OK"-Button.

emwin默认是使用VC++编译仿真的,但是win10平台,基本都是vs community 2013~2019,因此,segger官方也给出了说明,

以上就是HowTo_RunSimulationUnderVS2015_2017.txt文件的说明,这样可以用vs高版本来编译emwin的软件包“SeggerEval_WIN32_MSVC_MinGW_GUI_V548”