The project was created from an NXP example project (VNIC) on Windows. It was pushed to GitHub then cloned to a Mac.
Changing the toolchain path in mcuxpresso-tools.json does not fix the problems. One of the problems is this:
* Executing task: CMake: build
build task started....
/usr/local/bin/cmake --build /Users/rlewis/Projects/evkmimxrt1064_dev_cdc_vnic_bm_vsc/armgcc/flexspi_nor_debug --target all --
Error: could not find CMAKE_PROJECT_NAME in Cache
build finished with error(s).
There are MANY other problems, including the fact that when (rarely) I'm able to build, if I shut down VSCode then restart it, it's broken again. Too many to list here.
I need a support call on Teams or Zoom where I can share my screen and demonstrate these problems with a developer that is a Mac/Linux user and understands the MCUXpresso VSCode extension, cmake, etc. Thanks.
Hi,
To port the project from windows to macOS (and in general between 2 machines, doesn't matter the OS necessarily), you have to do 2 steps: change the toolchain and change the SDK to the local available ones.
To achieve this, you have already the options in project menu:
Set these 2 options, then rebuild the project.
Please let us know if this solved build problem.
Regards,
Cristian