Sysprogs forums › Forums › VisualDDK/VirtualKD discussion › Creating a sample project does not compile
- This topic has 2 replies, 2 voices, and was last updated 13 years, 8 months ago by Anonymous.
-
AuthorPosts
-
May 24, 2010 at 22:36 #194ASICsauceParticipant
If I create a VisualDDK driver project and have it include sample sources for a WDM driver, it does not build.
1>
Build started: Project: test, Configuration: Debug Win32
1>Performing Makefile project actions
1>Launching OACR monitor
1>OACR NOTE : Not starting monitor (oacr running in job that doesn’t allow break-away)
1>path contains nonexistant c:program files (x86)microsoft visual studio 9.0common7toolsbin, removing
1>BUILD: Compile and Link for x86
1>BUILD: Loading c:winddk7600.16385.1build.dat…
1>BUILD: Computing Include file dependencies:
1>BUILD: Start time: Mon May 24 15:31:14 2010
1>BUILD: Examining c:usersadmindocumentsvisual studio 2008projectstesttest directory for files to compile.
1> c:usersadmindocumentsvisual studio 2008projectstesttest
1>BUILD: Saving c:winddk7600.16385.1build.dat…
1>BUILD: Compiling and Linking c:usersadmindocumentsvisual studio 2008projectstesttest directory
1>Configuring OACR for ‘root:x86chk’ –
1>OACR NOTE : Not starting monitor (oacr.dll running in job that doesn’t allow break-away)
1>1>errors in directory c:usersadmindocumentsvisual studio 2008projectstesttest
1>1>c:winddk7600.16385.1binmakefile.new(7117) : error U1087: cannot have : and :: dependents for same target
1>1>nmake.exe /nologo BUILDMSG=Stop. -i /nologo /f c:winddk7600.16385.1binmakefile.def BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= failed – rc = 2
1>BUILD: Finish time: Mon May 24 15:31:25 2010
1>BUILD: Done
1> 0 files compiled – 1 Warning – 2 Errors
1>Project : error PRJ0019: A tool returned an error code from “Performing Makefile project actions”
1>Build log was saved at “file://c:UsersadminDocumentsVisual Studio 2008Projectstesttestobjchk_win7_x86BuildLog.htm”
1>test – 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========July 1, 2010 at 11:57 #1442AnonymousParticipant@ASICsauce wrote:
If I create a VisualDDK driver project and have it include sample sources for a WDM driver, it does not build.
... 1>BUILD: Examining c:usersadmindocumentsvisual studio 2008projectstesttest directory for files to compile.
...
1>1>c:winddk7600.16385.1binmakefile.new(7117) : error U1087: cannot have : and :: dependents for same target
...Here as you see you got an error U7117. The problem probably in spaces in path to VS project. Try to create project in folder which won’t have spaces in it’s path and all will compile.
—
Best wishes,
r4zzz4k.April 14, 2011 at 11:36 #1443AnonymousParticipantAnother way to solve this problem is to check “Use Visual Studio project system” instead “Use BUILD system” in project properties. In this way your project will be compiled using VS tools, which isn’t good for making drivers, so the choice is yours.
—
Best wishes,
r4zzz4k. -
AuthorPosts
- You must be logged in to reply to this topic.