编译一程序,提示错误如下,困扰一天,求指教
\dbuffer\stdafx.h(29) : fatal error C1083: Cannot open include file: 'gdiplus.h': No such file or directory其中gdiplus.h是自定义的头文件,在目录中也已找到,就是打不开,不知为何?
stdafx.h中代码如下,不知道是否有错误:// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//#if !defined(AFX_STDAFX_H__34D25BC5_5DB4_45F9_A273_628ACF67E0BC__INCLUDED_)
#define AFX_STDAFX_H__34D25BC5_5DB4_45F9_A273_628ACF67E0BC__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000#define VC_EXTRALEAN
// Exclude rarely-used stuff from Windows headers#include <afxtempl.h>
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#define ULONG_PTR ULONG
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <gdiplus.h>
#pragma comment(lib,"gdiplus.lib")
using namespace Gdiplus;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_STDAFX_H__34D25BC5_5DB4_45F9_A273_628ACF67E0BC__INCLUDED_)
\dbuffer\stdafx.h(29) : fatal error C1083: Cannot open include file: 'gdiplus.h': No such file or directory其中gdiplus.h是自定义的头文件,在目录中也已找到,就是打不开,不知为何?
stdafx.h中代码如下,不知道是否有错误:// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//#if !defined(AFX_STDAFX_H__34D25BC5_5DB4_45F9_A273_628ACF67E0BC__INCLUDED_)
#define AFX_STDAFX_H__34D25BC5_5DB4_45F9_A273_628ACF67E0BC__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000#define VC_EXTRALEAN
// Exclude rarely-used stuff from Windows headers#include <afxtempl.h>
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#define ULONG_PTR ULONG
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <gdiplus.h>
#pragma comment(lib,"gdiplus.lib")
using namespace Gdiplus;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_STDAFX_H__34D25BC5_5DB4_45F9_A273_628ACF67E0BC__INCLUDED_)
解决方案 »
- 哪位大神知道Intel Media SDK的VPP Sample是否支持NV12转RGB24吗
- 关于编辑框赋值的问题
- 下面的 消息响应 错在哪里,出现错误 cannot execute program 错误
- 这样的视频方面的界面,请问怎么样来实现?希望给个实例给我,在线等待。
- 有几个非常菜的问题!!!!!请指教.
- 关于写数据的问题
- regsvr32注册ocx失败,内有错误信息,着急!知道答案马上结!
- VC中SetViewportExtEx,SetWindowExtEx,SetViewportOrgEx,SetWindowOrgEx这几个函数相关知识谁告诉我,推荐网站也可以
- 通过多线程扫描局域网内的所有机器怎么实现?
- 程序出错,帮忙看看什么问题
- scrollwindow 重影
- mfc中,怎样利用hook取得菜单的句柄,并利用这个句柄绘制圆角菜单??
#include <gdiplus.h>
#pragma comment(lib,"gdiplus.lib")
using namespace Gdiplus;
试试
这不是GDI+的头文件么
你这个文件放到哪里
是不是不在IDE预搜索的目录里