emWin Simulator Visual Studio cause Link error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

emWin Simulator Visual Studio cause Link error

1,465 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lea on Wed Mar 09 07:28:41 MST 2016
I start learn the use of emWin and download Board Support Packages (BSPs) emWin 5.22 BSP

Since I have no hardware, I wanted to use the simulator in Visual Studio 2010

I can load the Solution File without problems, but when I try to rebuild the Project I get an Link error

1>------ Rebuild All started: Project: Simulation, Configuration: Debug Win32 ------
1>  WinMain.c
1>  SIMConf.c
1>  LCDConf.c
1>  GUIConf.c
1>  GUI_WIDGET_GraphXYDemo.c
1>  Generating Code...
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


In LPCXpresso I can build the project without problems.
Do somebody know whats going wrong?
标签 (1)
0 项奖励
回复
4 回复数

1,310 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复

1,310 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Wed Mar 09 08:58:30 MST 2016
Which version of emwin did you download, and where did you download it from?
0 项奖励
回复

1,310 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lea on Wed Mar 09 08:55:37 MST 2016
Thanks for your reply, but sorry I don't understand I for what else the simulator is used then

In UM03001 Cap. 3 is written:

The PC simulation of emWin allows you to compile the same C source on your Windows
PC using a native (typically Microsoft) compiler and create an executable for
your own application. Doing so allows the following:
- Design of the user interface on your PC (no hardware required!).
- Debugging of the user interface program.
- Creation of demos of your application, which can be used to discuss the user
interface.

The resulting executable can be sent easily via e-mail.
0 项奖励
回复

1,310 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Wed Mar 09 08:29:16 MST 2016
the emWin library is built for Cortex-M devices, but you are trying to link it with Windows (x86) binaries.

AFAIK, it is not possible to simulate with emWin on Windows.

You need to buy a board - including a display, you can get the for less than $50, depending on which chip you want to use.
0 项奖励
回复