Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Compiling of the Driver error(Dark_Byte Come in please)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
crazytwiky
Master Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 272

PostPosted: Mon Dec 31, 2007 4:02 pm    Post subject: Compiling of the Driver error(Dark_Byte Come in please) Reply with quote

Code:
heres my log:BUILD: Examining c:\cheate~1\dbkker~1 directory for files to compile.
Compiling (NoSync) c:\cheate~1\dbkker~1 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -Iobjfre_wxp_x86\i386 -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wdm\wxp -IC:\WINDDK\3790~1.183\inc\crt -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0603    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0  -DNDEBUG -D_DLL=1      /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz  /GX-  /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs  /Oy-   -FIC:\WINDDK\3790~1.183\inc\wxp\warning.h   .\dbkdrvr.c .\dbkfunc.c .\rootkit.c .\processlist.c .\memscan.c .\threads.c .\vmxhelper.c .\newkernel.c
dbkdrvr.c
c:\CheatEngine\DBKKernel\DBKDrvr.c(764) : error C2065: 'PsProcessType' : undeclared identifier
c:\CheatEngine\DBKKernel\DBKDrvr.c(764) : error C2100: illegal indirection
c:\CheatEngine\DBKKernel\DBKDrvr.c(764) : warning C4047: 'function' : 'POBJECT_TYPE' differs in levels of indirection from 'int'
dbkfunc.c
rootkit.c
processlist.c
memscan.c
threads.c
vmxhelper.c
newkernel.c
Generating Code...

Stop.
Compile errors: not linking c:\cheate~1\dbkker~1 directory ********************


Code:
errors in directory c:\cheate~1\dbkker~1
c:\cheatengine\dbkkernel\dbkdrvr.c(764) : error C2065: 'PsProcessType' : undeclared identifier
c:\cheatengine\dbkkernel\dbkdrvr.c(764) : error C2100: illegal indirection
c:\cheatengine\dbkkernel\dbkdrvr.c(764) : error C4047: 'function' : 'POBJECT_TYPE' differs in levels of indirection from 'int'


I followed this tutorial,but with the latest source.
http://forum.cheatengine.org/viewtopic.php?t=61592&sid=2e9e00812f4f92caecdfdb8a81955d53

I replaced the ntifs.h file with this one, since the other one had even more errors:http://www.acc.umu.se/~bosse/ntifs.h

I got like 9 files compiled correctly and 3 errors. i thinks its just wacked even though i followed the TUT correctly.I even made sure my paath had so space.Maybe its just the source.Well, help me fix those errors please.
BTW I'm using 5.3 source


Last edited by crazytwiky on Tue Jan 01, 2008 3:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Mon Dec 31, 2007 4:18 pm    Post subject: Reply with quote

you should have used DDK version 6000, not version 3790

anyhow, replace PsProcessType with NULL, it seems to work for some people

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
crazytwiky
Master Cheater
Reputation: 0

Joined: 12 Nov 2006
Posts: 272

PostPosted: Mon Dec 31, 2007 4:21 pm    Post subject: Reply with quote

Dark Byte wrote:
you should have used DDK version 6000, not version 3790

anyhow, replace PsProcessType with NULL, it seems to work for some people
Umm, I tried what you said.It had some effect.I used to have 3 errors now its only 1.Heres my new log file:
Code:
BUILD: Examining c:\cheate~1\dbkker~1 directory for files to compile.
Compiling (NoSync) c:\cheate~1\dbkker~1 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -Iobjfre_wxp_x86\i386 -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wdm\wxp -IC:\WINDDK\3790~1.183\inc\crt -D_X86_=1 -Di386=1  -DSTD_CALL -DCONDITION_HANDLING=1   -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0603    -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0  -DNDEBUG -D_DLL=1      /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz  /GX-  /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs  /Oy-   -FIC:\WINDDK\3790~1.183\inc\wxp\warning.h   .\dbkdrvr.c .\dbkfunc.c .\rootkit.c .\processlist.c .\memscan.c .\threads.c .\vmxhelper.c .\newkernel.c
dbkdrvr.c
c:\CheatEngine\DBKKernel\DBKDrvr.c(764) : error C2100: illegal indirection
dbkfunc.c
rootkit.c
processlist.c
memscan.c
threads.c
vmxhelper.c
newkernel.c
Generating Code...

Stop.
Compile errors: not linking c:\cheate~1\dbkker~1 directory ********************


Code:
errors in directory c:\cheate~1\dbkker~1
c:\cheatengine\dbkkernel\dbkdrvr.c(764) : error C2100: illegal indirection



Is it because i'm not using DDK 6000?
Back to top
View user's profile Send private message
smurfen
How do I cheat?
Reputation: 0

Joined: 31 Mar 2007
Posts: 6

PostPosted: Wed Jan 02, 2008 6:08 pm    Post subject: Reply with quote

Crazy, why not upgrade to 5.4 now that it's been released?

I'm using the same ddk version as you and 5.4 compiles just fine for me, both in w2k and XP build envs. I did have to change ntifs.h to the GPL:ed version though and nullify the PsProcess pointer as others have mentioned before it compiled.

Stupid question, but are you sure you've cleaned the build artifacts completely before you re-build?

To make sure, run "svn status" from the root checkout folder (probably "svn" or "Cheat Engine") and subversion will tell you if anything is differing in the directory tree compared to when you checked out the code.

If you're using the zipped source packages and not svn, then extract the archive to a clean directory instead and retry building. Might be old junk left...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites