Digistump Forums
The Digispark => Digispark Libraries => Topic started by: mrmox on February 25, 2014, 12:03:57 pm
-
I guess everybody knows this but me, but HOW does one compile these examples for a Windows PC?
I guess I am only versed in Visual Studio, and it is not a VS project or solution.
I am aware of gcc, but it is not clear this is what was used..... or is it?
If so, I guess I need more on the cygwin command line than just make, which gives me this:
$ make
g++ -I C:\MinGW\include -L C:\MinGW\lib -lusb -O -g -D WIN -static-libstdc++ -static-libgcc -o send.exe send.cpp -L C:\MinGW\lib -lusb
process_begin: CreateProcess(NULL, g++ -I C:\MinGW\include -L C:\MinGW\lib -lusb -O -g -D WIN -static-libstdc++ -static-libgcc -o send.exe send.cpp -L C:\MinGW\lib -lusb, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [send.exe] Error 2
----------
So thanks for any help to point out my missing link!
And a doc would especially good!
- Jay
-
I compiled the binaries that come with it by using Mingw (not thru cygwin) with libusb (which is probably what you need)