Compiling on Windows

I’m having trouble getting src to make. I installed Virtual Studio (15.6.1) and GNUWin32 (3.81) I’m on Windows 7, Service Pack 1.

My first error was:

makefile:75: /c/Users/xxx/source/repos/openmv/src/omv/boards/OPENMV3//omv_boardconfig.mk: No such file or directory
make: *** No rule to make target '/c/Users/xxx/source/repos/openmv/src/omv/boards/OPENMV3//omv_boardconfig.mk'. Stop.

The "TOP_DIR=$(shell pwd)’ returned a path that worked in some places, but not in others. So I hardcoded my path, working through other minor path issues, and this gained progress through the makefile, but now I’m stuck with:

make[1]: Entering directory 'C:/Users/xxx/source/repos/openmv/src/cmsis'
makefile:35: warning: overriding commands for target 'C:/Program'
makefile:31: warning: ignoring old commands for target 'C:/Program'
make[1]: *** No rule to make target 'C:/Program', needed by 'all'. Stop.
make[1]: Leaving directory 'C:/Users/xxx/source/repos/openmv/src/cmsis'
make: *** [FIRMWARE_OBJS] Error 2

I feel like I’m down a rabbithole. I’m backing out. Paths on Windows, it seems, are the big issue.

Any ideas?

Note: I tried to search the forums for “compile on windows” but the search engine said these words were too common and ignored them. Kinda annoying.

Hi, you need to set the target to TARGET=OPENMV3

Then, you need to compile in a folder that doesn’t have spaces.

If you get compile working on Windows please post about how you did this. I got stuck trying to find a Make package on Windows.