1

I've downloaded the source files for the TBB libraries, with the intent to build them and link them into my CMake project. The readme file says "type 'gmake' in this directory to build and test."

My question is - how do I run gmake on a Windows machine. The solution in this answer didn't work for me. This is what I get:

Errors

Community
  • 1
  • 1
Gabriel Asman
  • 181
  • 1
  • 13
  • 3
    What about that solution didn't work? The executable will likely just be `make` and not `gmake` on many/most systems. Are there perhaps more Windows-friendly build instructions available? – Etan Reisner Apr 27 '16 at 19:24
  • How are the title, your question, the tags you have chosen and StackOverflow related? CMake is not part of your question, your problem is unrelated to programming, it's just you are not able to build a library! Downvoting. – usr1234567 Apr 28 '16 at 04:47
  • Yes sorry, edited. – Gabriel Asman Apr 28 '16 at 09:24

1 Answers1

2

From the log I see that make unable to find Microsoft compiler cl.exe. To fix this, you must use one of the "Visual Studio command prompt"-s, those are cmd with environments targeted to command-line tools.

If you use MigGW by chance, the command should be make compiler=gcc. In this case, path environment variable should contain path to MigGW.