View previous topic :: View next topic |
Author |
Message |
csrsniper How do I cheat? Reputation: 0
Joined: 06 Jul 2017 Posts: 5
|
Posted: Thu Jul 06, 2017 9:30 pm Post subject: Problems Compiling Kernel Driver |
|
|
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 |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Fri Jul 07, 2017 11:16 am Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Fri Jul 07, 2017 12:47 pm Post subject: |
|
|
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 |
|
|
csrsniper How do I cheat? Reputation: 0
Joined: 06 Jul 2017 Posts: 5
|
Posted: Fri Jul 07, 2017 1:01 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Fri Jul 07, 2017 1:05 pm Post subject: |
|
|
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 |
|
|
csrsniper How do I cheat? Reputation: 0
Joined: 06 Jul 2017 Posts: 5
|
Posted: Fri Jul 07, 2017 1:06 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Fri Jul 07, 2017 1:08 pm Post subject: |
|
|
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 |
|
|
csrsniper How do I cheat? Reputation: 0
Joined: 06 Jul 2017 Posts: 5
|
Posted: Fri Jul 07, 2017 1:14 pm Post subject: |
|
|
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 |
|
|
|