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 


Problems Compiling Kernel Driver

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
csrsniper
How do I cheat?
Reputation: 0

Joined: 06 Jul 2017
Posts: 5

PostPosted: Thu Jul 06, 2017 9:30 pm    Post subject: Problems Compiling Kernel Driver Reply with quote

I'm having a difficult time getting the driver to compile properly. I have WDK 7600.16385.1 installed and am executing ce.bat from within the build environment.

I get the following immediately upon execution:

Code:
'command' is not recognized as an internal or external command, operable program or batch file.
The system cannot find the file specified.


It looks like build -cZ runs fiine after that but at the very end it throws:

Code:
The system cannot find the path specified.


I'm using unmodified folders and have not touched ce.bat. I'm assuming that the issue has something to do with the copy lines in ce.bat but I'm not familiar enough with how they work to diagnose it.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Fri Jul 07, 2017 11:16 am    Post subject: Reply with quote

It is the second line in the batch file which just echos. You can comment it out or delete it. It appears this is from an external program and not a normal command line command. Only reference I could find to it is via EasyDos.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Jul 07, 2017 12:47 pm    Post subject: Reply with quote

make sure there are no spaces in the path of the sourcecide
_________________
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
csrsniper
How do I cheat?
Reputation: 0

Joined: 06 Jul 2017
Posts: 5

PostPosted: Fri Jul 07, 2017 1:01 pm    Post subject: Reply with quote

atom0s wrote:
It is the second line in the batch file which just echos. You can comment it out or delete it. It appears this is from an external program and not a normal command line command. Only reference I could find to it is via EasyDos.


Thanks for the quick response. I probably shouldn't have included the first line about command not being recognized, I knew that it didn't have any impact on the output. It is this part after that that is giving me trouble:

Code:
The system cannot find the file specified.
BUILD: Compile and Link for AMD64


This is the only part in the batch file before build is called:

Code:
set C_DEFINES=

set LINKER_FLAGS=/INTEGRITYCHECK

set copycmd=/Y
copy sources.ce sources


My thinking is that there is an issue with
Code:
copy sources.ce sources


For some unknown reason it doesn't seem to be able to locate sources.ce and it never creates the file sources. It looks like this is causing it to not be able to build the driver properly since it doesn't have any target or source information. Would defining the absolute path for sources.ce in the batch file help? There is no reason that it shouldn't be able to locate the file; they're in the same folder.


Last edited by csrsniper on Fri Jul 07, 2017 1:06 pm; edited 2 times in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Jul 07, 2017 1:05 pm    Post subject: Reply with quote

you're sure there are no spaces ?

e.g "c:\files\cheat engine\dbkkernel" does contain a space

_________________
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
csrsniper
How do I cheat?
Reputation: 0

Joined: 06 Jul 2017
Posts: 5

PostPosted: Fri Jul 07, 2017 1:06 pm    Post subject: Reply with quote

Dark Byte wrote:
you're sure there are no spaces ?

e.g "c:\files\cheat engine\dbkkernel" does contain a space


That was one of the first things that I checked. It is located at C:\Users\xxxx\Desktop\cheat-engine-6.7\DBKKernel.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Fri Jul 07, 2017 1:08 pm    Post subject: Reply with quote

and xxxx does not contain a space or non ascii character? (have to ask since the amount of times peoples name caused an issue is pretty high)

which build environment do you use win 7 free or checked ?

_________________
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
csrsniper
How do I cheat?
Reputation: 0

Joined: 06 Jul 2017
Posts: 5

PostPosted: Fri Jul 07, 2017 1:14 pm    Post subject: Reply with quote

Dark Byte wrote:
and xxxx does not contain a space or non ascii character? (have to ask since the amount of times peoples name caused an issue is pretty high)

which build environment do you use win 7 free or checked ?


Yeah it's free of spaces. I've tried free and checked for both x86 and x64. Same issue every time.

I'm going to try moving it to the drive root when I get back to the house and compile it from there. I don't think it will work but at least that should rule out spaces and non-ascii characters in the path.

UPDATE:

I moved everything to C:\CE\DBKKernel and the issue still persists. Going to try defining the absolute path in the batch file.

UPDATE 2:

It looks like I'm retarded. I was calling the batch file using its absolute path without actually changing the directory. Changed the directory to the DBKKernel folder before calling the batch file and everything worked fine.
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 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