问题描述
我使用'OS Design'Visual Studio安装模板创建了一个新的'Platform Builder for CE 6.0'项目。我使用了"Device Emulator:ARMV4I"。 BSP,'工业设备'设计模板,'工业控制器'设计模板变体,默认
配置。
我创建了一个新的子项目( WCE控制台应用程序)--->简单的嵌入式Windows CE应用程序
cpp文件具有以下来源
#include" stdafx.h"
#include< iostream>
使用命名空间std;
int _tmain(int argc,TCHAR * argv [],TCHAR * envp [ ])
{
cout<< "Hello World!" <<结束;
返回0;
}
在构建子项目时,我收到以下错误
:致命错误C1083:无法打开包含文件:'iostream':没有这样的文件或目录
我的目标是能够使用BOOST单元测试我的测试应用程序的框架。 BOOST单元测试框架需要iostream。 WinCE不支持iostream吗?我需要做些什么才能获得iostream支持?
I created a new 'Platform Builder for CE 6.0' project, with the 'OS Design' Visual Studio installed template. I have used the "Device Emulator: ARMV4I" BSP, 'Industrial Device' Design Template, 'Industrial Controller' Design Template Variant, with the default config.
I created a new sub-project ( WCE Console Application ) ---> Simple Embedded Windows CE application
The cpp file has the following source
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, TCHAR *argv[], TCHAR *envp[])
{
cout << "Hello World!" << endl;
return 0;
}
On building the sub-project I get the following error
: fatal error C1083: Cannot open include file: 'iostream': No such file or directory
My objective is to be able to use the BOOST unit test framework for my testing application. The BOOST unit test framework needs iostream. Doesn't WinCE support the iostream? What do I need to do to have iostream support?
这篇关于在WinCE 6.0 R3上进行iostream的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!