Issue
Make error when attempting build of rawhid_test.exe using source code from
http://www.pjrc.com/teensy/rawhid.html
Teensy 2.0 Hardware
Make Error
E:\Teensy\RawHID Source Code\rawhid_1\rawhid>make
I586-mingw32msvc-gcc –Wall -02 –Dos_WINDOWS -c -o rawhid_test.o rawhid_test.c
Process begin: CreateProcess<NULL, i586-mingw32msvc-gcc –Wall -02 –Dos_WINDOWS –c –o rawhid_test.o rawhid_test.c, …> failed
make <e=2>: The System cannot find the file specified.
Make: *** [rawhid_test.o] Error 2
Have installed on my computer:
WinAVR – 20100110
Microsoft Visual Studio 2010
WinRAR
7-Zip
Arduino
SYSTEM Information
OS Name Microsoft Windows 7 Professional
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DAD-PC
System Manufacturer To Be Filled By O.E.M.
System Model To Be Filled By O.E.M.
System Type x64-based PC
Processor Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. P1.40, 7/13/2012
SMBIOS Version 2.7
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "6.1.7601.17514"
User Name Dad-PC\Dad
Time Zone Eastern Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.7 GB
Available Physical Memory 14.1 GB
Total Virtual Memory 31.4 GB
Available Virtual Memory 27.0 GB
Page File Space 15.7 GB
Page File C:\pagefile.sys
Contents of E:\Teensy\RawHID Source Code\rawhid_1\rawhid directory
Using 7-Zip and WinRAR
Extracted source code from link : http://www.pjrc.com/teensy/rawhid.html
Followed instructions provided by pjrc.com.
Edited OS variable for WINDOWS within Makefile as instructed, using Microsoft Visual Studios 2010 as editor
(Tried to upload Makefile as attachment but was unsuccessful. Used pjrc.com downloaded Makefile with OS edited to WINDOWS)
Ran Make as instructed.
Please see attachments
Any Suggestions to build sample code .exe without error?
I was successful in loading the downloaded .hex and running the downloaded .exe example.
Just unable to build the .exe from the source code downloaded.
Thanks
WallyB
Make error when attempting build of rawhid_test.exe using source code from
http://www.pjrc.com/teensy/rawhid.html
Teensy 2.0 Hardware
Make Error
E:\Teensy\RawHID Source Code\rawhid_1\rawhid>make
I586-mingw32msvc-gcc –Wall -02 –Dos_WINDOWS -c -o rawhid_test.o rawhid_test.c
Process begin: CreateProcess<NULL, i586-mingw32msvc-gcc –Wall -02 –Dos_WINDOWS –c –o rawhid_test.o rawhid_test.c, …> failed
make <e=2>: The System cannot find the file specified.
Make: *** [rawhid_test.o] Error 2
Have installed on my computer:
WinAVR – 20100110
Microsoft Visual Studio 2010
WinRAR
7-Zip
Arduino
SYSTEM Information
OS Name Microsoft Windows 7 Professional
Version 6.1.7601 Service Pack 1 Build 7601
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DAD-PC
System Manufacturer To Be Filled By O.E.M.
System Model To Be Filled By O.E.M.
System Type x64-based PC
Processor Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. P1.40, 7/13/2012
SMBIOS Version 2.7
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "6.1.7601.17514"
User Name Dad-PC\Dad
Time Zone Eastern Standard Time
Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.7 GB
Available Physical Memory 14.1 GB
Total Virtual Memory 31.4 GB
Available Virtual Memory 27.0 GB
Page File Space 15.7 GB
Page File C:\pagefile.sys
Contents of E:\Teensy\RawHID Source Code\rawhid_1\rawhid directory
Using 7-Zip and WinRAR
Extracted source code from link : http://www.pjrc.com/teensy/rawhid.html
Followed instructions provided by pjrc.com.
Edited OS variable for WINDOWS within Makefile as instructed, using Microsoft Visual Studios 2010 as editor
(Tried to upload Makefile as attachment but was unsuccessful. Used pjrc.com downloaded Makefile with OS edited to WINDOWS)
Ran Make as instructed.
Please see attachments
Any Suggestions to build sample code .exe without error?
I was successful in loading the downloaded .hex and running the downloaded .exe example.
Just unable to build the .exe from the source code downloaded.
Thanks
WallyB