recompiling powerswitch.c
Posted: Tue Oct 09, 2007 5:41 am
hi,
just having a few issues recompiling a modified powerswitch.c
using the provided makefile, it comes up with the following error in programmer's notepad:
> "make.exe" all
gcc -I..\MinGW\include -O -Wall -c powerSwitch.c
process_begin: CreateProcess(NULL, gcc -I..\MinGW\include -O -Wall -c powerSwitch.c, ...) failed.
make (e=2): The system cannot find the file specified.
make.exe: *** [powerSwitch.o] Error 2
I've tried using C:\MinGW\include as the include directory, among other combinations, but it just gives the same error.
also, i'm assuming the usb.h header given from libusb-win32 supposed to be inserted into MinGW's include directory as well?
thanks.
just having a few issues recompiling a modified powerswitch.c
using the provided makefile, it comes up with the following error in programmer's notepad:
> "make.exe" all
gcc -I..\MinGW\include -O -Wall -c powerSwitch.c
process_begin: CreateProcess(NULL, gcc -I..\MinGW\include -O -Wall -c powerSwitch.c, ...) failed.
make (e=2): The system cannot find the file specified.
make.exe: *** [powerSwitch.o] Error 2
I've tried using C:\MinGW\include as the include directory, among other combinations, but it just gives the same error.
also, i'm assuming the usb.h header given from libusb-win32 supposed to be inserted into MinGW's include directory as well?
thanks.