Hi,
I’ve been following the ‘PSoc6 Dual Core Project for VS code’ instructions from Github and in section 4, Check I find make is not found but mingw32-make is - do I need to fix this or am I set to try a project?
Thanks
Halam
PS C:\Users\Halam> make -v
make : The term ‘make’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
Something odd with the result I pasted in, here is a screen shot. Oh I forgot to mention, the video ha smore steps than the document, which is up to date?
Hi Rolf,
When I clean I get errors needing cmake path - which I have fixed and:
Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable.
I have verified that cmake tools is installed, but from what I have read VScode is the generator - so where do I point cmake generator path please?
Hi Rolf,
I’m starting to feel like we are old friends
I have cmake installed:
C:\Users\Halam>cmake -v
CMake Error: The source directory “C:/Users/Halam/-v” does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Is cmake itself the cmake generator? I’m not sure I understand but I thought the generator was the thing that configures cmake for a project, that would be VScode?
Ah, maybe it’s a problem with minGW, I copied the files which from the instructions seemed to be an alternative to running the installer. I’ll check that path.
CMake is able to build complex makefiles which are needed for the make (build) procedure. You should install CMake as well as make (you can use the files in the VScode dual core file and add the bin folder to your path).
Next you should update your settings json file (view >> command palette, type: “settings.json” and add your path:
Thank you Rolf for sticking wiht it.
I had some bad cmake errors which were because of a typing error. I no longer get bad cmake error so I know cmake path is right.
Now I have
mingw32-make: CMakeFiles/VSCodeHelloWorld-master.elf.dir/build.make: No such file or directory
mingw32-make: *** No rule to make target ‘CMakeFiles/VSCodeHelloWorld-master.elf.dir/build.make’. Stop.
**** Please fix build errors. ****
The terminal process terminated with exit code: 1
And I dont have any files in my cmake project outline. Where should those come from?
Hi Rolf,
Happy new year.
I do have check_build.bat
Could I take you up on your offer of a remote desktop session to help get me unstuck?
Thanks and happy new year