core-communication-lib
core-communication-lib copied to clipboard
UnitTest++ makefile error
When I run mingw32-make on UnitTest++/makefile, I get the following error:
sed: -e expression #1, char 1: unknown command: `''
Please help :D I really need UnitTesting
As I am very new to makefiles I'm not really sure, but I think this is causing it:
define make-depend
$(CXX) $(CXXFLAGS) -M $1 | \
$(SED) -e 's,\($(notdir $2)\) *:,$(dir $2)\1: ,' > $3.tmp
$(SED) -e 's/#.*//' \
-e 's/^[^:]*: *//' \
-e 's/ *\\$$//' \
-e '/^$$/ d' \
-e 's/$$/ :/' $3.tmp >> $3.tmp
$(MV) $3.tmp $3
endef
What am I doing wrong?
you need sed installed. Just so you know, this repo is no longer updated, and represents the protocol to the Particle cloud as used in the Core. for the latest implementation, please see https://github.com/spark/firmware, under the communication folder.
sed is installed, and I get the same error in the new communication project