Error C4430 Missing Type Specifier Ctlutil.h
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up VC++ Building directshow baseclasses up vote 4 down vote favorite I am a newbie to DirectX SDK, Platfrom SDK and DirectShow. I downloaded latest Platform SDK and DirectX SDK August'09. I tried to build sample project in folder: Microsoft Platform SDK\Samples\Multimedia\DirectShow\Capture\PlayCap\ And had following building errors: LINK : fatal error LNK1181: cannot open input file 'D:\Program Files\ Microsoft Platform SDK\samples\multimedia\directshow\baseclasses\ WIN2000_DEBUG\strmbasd.lib' As far, as I understand, I need to build all sources in "Microsoft Platform SDK\Samples\Multimedia\DirectShow\BaseClasses\" directory to get necessary lib. I tried nmake in that dir and got following: D:\Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\ BaseClasses\ctlutil.h(278) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int. Here is code on that lines: 278: STDMETHODIMP 279: CMediaEvent::NonDelegatingQueryInterface(REFIID riid, void **ppv) What I do wrong? Just can't believe, that using Microsoft's libraries must be so hard. c++ makefile directx platform-sdk share|improve this question asked Jan 7 '10 at 4:25 peterdemin 347518 The base classes should have a solution you can open in Visual C++. Do you have that installed? –Nathan Osman Jan 7 '10 at 4:51 Here: powerrender.com/forum/viewtopic.php?t=1821 –Nathan Osman Jan 7 '10 at 5:11 I have vs 2005, but don't have solution (makefile instead it). –peterdemin Jan 8 '10 at 2:18 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote accepted Microsoft has renamed Platfrom SD
SDK先。要使用DirectShow的大部分功能,需要编译它的一个sample(诡异啊诡异),位置在\Samples\C++\DirectShow\ 这里就有一个叫baseclasses的工程,为安全起见,请先备份此工程。 1. 双击baseclasses.sln打开,按提示转换工程,编译。提示错误: 1>D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' 1>D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(222) : error C4430: missing type specifier - int http://stackoverflow.com/questions/2018201/vc-building-directshow-baseclasses assumed. Note: C++ does not support default-int1>D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier http://www.cnblogs.com/grapeot/archive/2010/02/05/1664546.html 'Buffer' 1>D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>d:\DX90SDK\Samples\C++\DirectShow\BaseClasses\ctlutil.h(278) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int第一类问题的解决:错误发生在:operator=(LONG);函数定义中,这是因为在VC6中,如果没有显示的指定返回值类型,编译器将其视为默认整形;但是vs2005不支持默认整形,解决这个问题不能修改每个没有显示指示返回值类型的函数地方,可以用wd4430来解决;具体的在工程选项中的c+ +/Command Line中添加/wd4430即可。2. 在Tools->Options->Projects and
topic ForumsMembersHelp Files Developer Journals Gallery Calendar Downloads Resources Store Classifieds Tracker Links Home For Beginners Articles All Articles http://www.gamedev.net/topic/395781-problem-of-building-directshows-baseclasses/ Post an Article Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL and Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile Development http://hagejid.blog.51cto.com/141754/294797 Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Music and Sound Visual Arts Business Breaking into the Industry Production and Management Interviews Business and Law error c4430 Event Coverage Forums All Forums Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL & Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile & Console Development Build Systems & Source Control Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Writing For Games Music and Sound Visual Arts Gallery error c4430 missing Business Breaking into the Industry Business & Law Production & Management Community GDNet Lounge Coding Horrors Article Writing Comments, Suggestions and Ideas Your Announcements Hobby Project Classifieds Indie Project Showcase Community Developer Journals GDNet+ Subscriptions Gallery Store Classifieds Jobs Freelancers Hobby Projects Marketplace Newsletter » Home » Forums » The Technical Side » DirectX and XNA Chat Watched Content New Content 0 problem of building directshow's BaseClasses Started by lzw1015bean, May 30 2006 11:33 PM Old topic! Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic. You cannot reply to this topic 2 replies to this topic #1 lzw1015bean Members -Reputation: 122 Like 0Likes Like Posted 30 May 2006 - 11:33 PM hello everyone i have a problem so urgent. That is i can't buide directshow's BaseClasses under vs2005. I need the .lib for developping. There are the errors. Is there anybody who could help
BLOG дȥѧԺѧϰϢ ӽ Ӻ 2012ITʹʮܳIT͵ ͳϢ ûhagejid 43 18 123273 DZң2647 ͻ֣716 ͵ȼ4 עڣ2007-04-03 ר >> ÿ5ת OpenStack Ķ5863 51CTOѧԺò˵ջ Ķ12276 Ӳ-תMacϵͳ Ķ341473 QTѧϰ֮·ŵͨ Ķ1043095 H3CCONSOLE VS2010ʱwinnt.h 98-18030ͼλͼA4ɫ.. BusyBoxҲshĽ Ada (The Ada Progra.. UBUNTUװLibreOffice ADA ĵ ƴ뷨64λWIN7װ BLOG ÿ wslysl tbonline hacke.. 99200.. һ yaozt.. viqji.. osea168 .. wayli.. progr.. 15928.. ۲ۣãwin7vs2012Ҫô.. lplusDֵѧϰӭһ 1679312246xcţˣ Nokia .. luckyjiãһ£"Ϊ˹̶.. []51ctoοͣ߅ط߹? 51CTOƼ >> MySQLMyISAM InnoDB .. 5˽MariaDBɫ 10˽MySQL5.7ԭJSON.. linux֮mysqlݿsqlע.. 5˽MySQL5.7undo log.. 5˽MySQL5.7Online DDL Kafka and kafka+logstash .. Apache selectNginx epollģ SQL Serverȫ16Ĵ.. 1MySQL5.7װ mycatдл ITƷγ kennel Javaô ˲Ƹ ĸ>> VS2010ʱwinnt.h 2010-04-14 00:34:57 ǩvs2010 winnt ְ ԭƷתأתʱԳʽ ԭʼ ϢͱΡhttp://hagejid.blog.51cto.com/141754/294797 Ѫ“”˸VS2010档װ˾̣ʱȫwinnt.hߡ ------RebuildAllstarted:Project:123,Configuration:DebugWin32------ stdafx.cpp c:\programfiles\microsoftsdks\windows\v7.0a\include\winnt.h(290):errorC2146:syntaxerror:missing';'beforeidentifier'PVOID64'c:\programfiles\microsoftsdks\windows\v7.0a\include\winnt.h(290):errorC4430:missingtypespecifier-intassumed.Note:C++doesnotsupportdefau