I have downloaded Light Weight Bluetooth and am trying to compile in TI Code Composer Studio as a Standard C/C++ Make Project. I didn't do any changes to the make file. I downloaded the gcc compiler and have including the build command and build path in the properties of the the project. While I try to compile I get the below error:
I have downloaded Light Weight Bluetooth and am trying to compile in TI Code Composer Studio as a Standard C/C++ Make Project. I didn't do any changes to the make file. I downloaded the gcc compiler and have including the build command and build path in the properties of the the project.
While I try to compile I get the below error:
gmake -f Makefile all
process_begin: CreateProcess(NULL, cat filelist, ...) failed.
process_begin: CreateProcess(NULL, cat filelist, ...) failed.
--[OUT]--
gcc: no input files
gmake: *** [lwbt.out] Error 1
I am running this in Windows. I downloaded the Mingw along with Msys from the official mingw site. I will copy and paste the make file which came along with lwbt.
I have the latest Mingw as you have mentioned. I have downloaded the latest Make file as well but the most daft question I am about to ask, I don't know how to install the Make utility in Mingw or do I need to run any exe file.
If you have downloaded the latest binary of Make, just decompress and extract the TAR, you should have a directory bin with the mingw32-make.exe simply drag and drop in the bin directory of your original installation.
You should get a message asking if you want to replace the file, say yes.
BigDog
Just in case you have problems extract the bin folder I have attached it.
I tried with your bin folder and replaced it but the MAKE_VERSION still gives it as 3.81. Am I doing something wrong
---------- Post added at 15:49 ---------- Previous post was at 15:41 ----------
Hi Bigdog,
I am not sure whether this will be of help. But I have downloaded Msys as part of Mingw and the bin folder in Msys has its own make.exe. Should I replace it as well? Which make.exe will the system use?
Yes finally managed to compile the makefile. There was one more problem and as you had pointed earlier, it didn't support CAT/SHELL command, so I have removed them and added the filenames and now I can compile. Many thanks for your efforts.
There was one more problem and as you had pointed earlier, it didn't support CAT/SHELL command, so I have removed them and added the filenames and now I can compile.
While that was my first inclination after looking at the error message, I have to admit I am surprised Mingw/Msys does not have a CAT utility, after all its one of the simplest utilities to port and is used extensively in MAKE files.
I haven't used Mingw in sometime, I may install it and investigate this issue further.
I believe the SHELL token just indicates to run the following external utility in a commandline fashion.