Line Error D2004
(default) Set font size to large Set font size to x-large Set layout to "Jello" (min-width:770px \ max-width:1200px) (default) Set layout to "Fluid" (width: 100%) Set layout to "Fixed" (width: 760px) Place navigation on the right of the screen (default) Place navigation on the left of the screen Close Window Personalize Text Size Medium Font Size (Default) Large Font Size X-Large Font Size Layout Jello Layout Fluid Width Layout Fixed Width Layout Navigation Position Left Navigation Right Navigation Bruce Eitman Windows Embedded Musings (CE/Compact/Standard) << Platform Builder: What SYSGEN Variables Are Set? | Home | New Chapter in my Career >> Platform Builder: cl : Command line error D2004 : '/I' requires an argument An engineer that I work with had the error “cl : Command line error D2004 : '/I' requires an argument” this week. He had copied a folder from a project that we received from third party and was working on integrating it into one of our projects, so he wasn’t familiar with the contents of the folder. If you are actually working on making changes to the project, this error is probably easier to figure out. The first hint at what the problem is and where to look for it is the two words, “Command line”. Given that, I recommended looking in the build.log file so that we could analyze the command line. The second hint is that ‘/I’ requires an argument. If you are familiar with the command line arguments for the compiler, then you probably already know that ‘/I’ is used to define the search path for header files. Give that ‘/I’ defines the header file search path, and that nmake uses the environment variable INCLUDES to set the include path we could probably jump ahead and start looking at how INCLUDES is defined. Sure enough, when we looked in the build.log file we found “-I -IC:\WINC
Forum Visual C++ & C++ Programming Visual C++ Programming Command line error D2004: '/f' requires an argument If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 9 of 9 Thread: Command line error D2004: '/f' requires an argument Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch http://geekswithblogs.net/BruceEitman/archive/2009/05/30/platform-builder-cl--command-line-error-d2004--i.aspx to Hybrid Mode Switch to Threaded Mode January 30th, 2004,09:33 AM #1 problems View Profile View Forum Posts Junior Member Join Date Jan 2004 Posts 4 Command line error D2004: '/f' requires an argument Command line error D2004: '/f' requires an argument I received an this error while compiling on .NET Reply With Quote January 30th, 2004,09:44 AM #2 verifier View Profile View Forum Posts Member Join Date Jun 2002 http://forums.codeguru.com/showthread.php?281136-Command-line-error-D2004-f-requires-an-argument Location Sweden Posts 467 .. how about amuse us with some code or give a litte, little more details about your program? Reply With Quote January 30th, 2004,01:28 PM #3 Mick View Profile View Forum Posts Banned Join Date Sep 2002 Location Maryland - Fear The Turtle! Posts 7,537 Re: Command line error D2004: '/f' requires an argument Originally posted by problems Command line error D2004: '/f' requires an argument I received an this error while compiling on .NET remove the /f from your compiler settings and complie or figure out why someone put /f instead of /F(arg) and didn't complete the argument... look on msdn.microsoft.com for the /F(which) compiler options. Reply With Quote March 8th, 2004,09:58 AM #4 problems View Profile View Forum Posts Junior Member Join Date Jan 2004 Posts 4 ok dumb question i know... but where can i find "compiler settings" Reply With Quote March 8th, 2004,01:02 PM #5 Mick View Profile View Forum Posts Banned Join Date Sep 2002 Location Maryland - Fear The Turtle! Posts 7,537 well (I still use vc6.0) I would assume under project->settings->c++ should be a text entry field with all the compiler settings (if this is a VC project) otherwise change the makefile. Reply With Quote March 9th, 2004,08:04 A
:-( Why ? It isbug in VS.NET ? I saw a lot of "/I" switch without path argument, also why:-(This same http://microsoft.public.vc.project-mgt.narkive.com/E9QmjStx/command-line-error-d2004-i-requires-an-argument project is functional in VS 6.0Please help me.NicholasCommand LinesCreating temporary file"C:\DOCUME~1\miki\LOCALS~1\Temp\RSP000003.rsp" http://www.tech-archive.net/Archive/WindowsCE/microsoft.public.windowsce.platbuilder/2004-12/0207.html with contents[/Od /I "..\common\src" /I "..\tcl-8.0\generic" /I "..\tk-8.0\generic" /I"..\tk-8.0\xlib" /I "\DDK\inc" /D "_WINDOWS" /D "DEBUG" /D "WIN32" /D"_DEBUG" /D "DEBUG_MEM" /D "NEED_SNPRINTF" /D "SASR" /FD /EHsc /MLd/YX"stdafx.h" /Fp".\Debug/rat.pch" /Fo".\Debug/" /Fd".\Debug/" /FR".\Debug/"/W3 /c /ZI ../common /I ../common /I ../common /I ../common /I../common /I line error ../common /I ../common /I ../common /I ../common /I../common /I ../common /I ../common /Iprocess.cmbus_control.cmain_control.ccodec_compat.ccmd_parser.c]Creating command line "cl.exe @C:\DOCUME~1\miki\LOCALS~1\Temp\RSP000003.rsp/nologo"Output WindowCompiling...cl : Command line error D2004 : '/I' requires an argument Nick Savoiu 2003-11-21 19:05:31 UTC PermalinkRaw Message It seems that you're missing an argument for the last /I in your commandline.You might also want to line error d2004 look at why you have so many "/I ../common".NickPost by Mikulas KankulaHello,When i was debug the project i receive this error message :-( Why ? It isbug in VS.NET ? I saw a lot of "/I" switch without path argument, also why:-(This same project is functional in VS 6.0Please help me.NicholasCommand LinesCreating temporary file"C:\DOCUME~1\miki\LOCALS~1\Temp\RSP000003.rsp" with contents[/Od /I "..\common\src" /I "..\tcl-8.0\generic" /I "..\tk-8.0\generic" /I"..\tk-8.0\xlib" /I "\DDK\inc" /D "_WINDOWS" /D "DEBUG" /D "WIN32" /D"_DEBUG" /D "DEBUG_MEM" /D "NEED_SNPRINTF" /D "SASR" /FD /EHsc /MLd/YX"stdafx.h" /Fp".\Debug/rat.pch" /Fo".\Debug/" /Fd".\Debug/"/FR".\Debug/"Post by Mikulas Kankula/W3 /c /ZI ../common /I ../common /I ../common /I ../common /I../common /I ../common /I ../common /I ../common /I ../common /I../common /I ../common /I ../common /Iprocess.cmbus_control.cmain_control.ccodec_compat.ccmd_parser.c]Creating command line "cl.exe@C:\DOCUME~1\miki\LOCALS~1\Temp\RSP000003.rspPost by Mikulas Kankula/nologo"Output WindowCompiling...cl : Command line error D2004 : '/I' requires an argument James Curran 2003-11-21 21:21:33 UTC PermalinkRaw Message Post by Nick SavoiuYou might also want to look at why you have so many "/I ../common".I'm betting those were originally something lik
Next in thread: Steve Maillet \(eMVP\): "Re: Command line error D2004 : '/I' requires an argument" Reply: Steve Maillet \(eMVP\): "Re: Command line error D2004 : '/I' requires an argument" Messages sorted by: [ date ] [ thread ] Date: Fri, 3 Dec 2004 11:17:13 -0000 Dear all, I am currently getting the following compile errors: BUILD: [01:0000000058:ERRORE] cl : Command line error D2004 : '/I' requires an argument BUILD: [01:0000000059:ERRORE] NMAKE : U1073: don't know how to make 'D:\WinCE.5\PBWorkspaces\1084\WinCE.5\Geode_x86\cesysgen\oak\target\x86\debug\bldr.exe' BUILD: [01:0000000061:ERRORE] NMAKE.EXE -i -c BUILDMSG=Stop. NOLINK=1 NOPASS0=1 failed - rc = 2 any ideas ? Next message: Valter Minute: "Re: Wierd computer design..." Previous message: Jeff: "Re: Windows CE 5.0 RDP and 8042 keyboard/mouse driver" Next in thread: Steve Maillet \(eMVP\): "Re: Command line error D2004 : '/I' requires an argument" Reply: Steve Maillet \(eMVP\): "Re: Command line error D2004 : '/I' requires an argument" Messages sorted by: [ date ] [ thread ] Flag as inappropriate (AWS) Windows Science Usenet ArchiveAboutPrivacyImprint www.tech-archive.net >Archive >WindowsCE >microsoft.public.windowsce.platbuilder >2004-12