xmos / xcore_iot

Other
29 stars 38 forks source link

Getting started instructions produce Makefile:32: *** missing separator. Stop. #627

Closed snellejelle99 closed 10 months ago

snellejelle99 commented 11 months ago

System information

Describe the current behavior When executing the following commands from the getting started docs:

cmake -G "NMake Makefiles" -B build_host cd build_host make install

I get the following error:

Makefile:32: *** missing separator. Stop.

Describe the expected behavior I expect this error to not happen.

Standalone code to reproduce the issue Provided above

Other info or logs Makefile provided (.txt was added to satisfy githubs file requirements) Makefile.txt cmake cache file provided CMakeCache.txt

uvvpavel commented 11 months ago

Hi @snellejelle99 , Thanks for spotting an error in our documentation. It should say to use nmake rather than make. If you don't have nmake you can also try ninja (which will be slightly faster) but you'll need to do this instead:

cmake -G Ninja -B build_host
cd build_host
ninja

I've tried it with nmake and ninja and it worked fine. Let us know if it fixes your build ✨

snellejelle99 commented 10 months ago

Yes, this seems to have fixed the problem.