Questions tagged [nmake]

Nmake is a variant from Microsoft of Make build automation software.

NMAKE is a build automation tool for Microsoft Windows, included in Microsoft development tools such as Visual Studio.

See NMAKE reference.

519 questions
61
votes
8 answers

How do I utilise all the cores for nmake?

I just got a new quad core computer and noticed that nmake is only using 1 process. I used to use make which had the switch -j4 for launching 4 processes. What is the nmake equivalent? [edit] Based on the information below I have been able to add a…
Phil Hannent
  • 12,047
  • 17
  • 71
  • 118
32
votes
22 answers

How to install PyQt5 on Windows?

When I try installing the PyQt5 on Windows using the command python configure.py I get this error: Error: Make sure you have a working Qt qmake on your PATH. I got the pyQt5 from PyQt5 Download. How can I install PyQt5? Update: I installed Qt…
Victor Lellis
  • 1,304
  • 1
  • 14
  • 25
31
votes
10 answers

Use the same makefile for make (Linux) and nmake (Windows)

I have a simple C program (one source file) which I want to compile on Linux and on Windows via make and nmake, respectively. Is there a possibility to accomplish this with a single makefile? I thought about something like ifeq($(MAKE), nmake) …
j0ker
  • 4,069
  • 4
  • 43
  • 65
28
votes
3 answers

Where can I get a standalone nmake.exe?

nmake.exe, a Microsoft Windows port of make, used to be available for download at the Microsoft knowledge base servers. They've since taken the article down, and I don't know where I can reliably get a standalone version of nmake.exe. I would use a…
mcandre
  • 22,868
  • 20
  • 88
  • 147
25
votes
2 answers

What is the default generator for CMake in Windows?

When running CMake on one PC, CMake generates NMake files by default. On another, it generates a Visual Studio project. I know I can override the default by adding -G "NMake Makefiles" to the end of my CMake statement, but I want to know why it…
Chris Finley
  • 3,901
  • 5
  • 24
  • 32
25
votes
1 answer

How similar/different are gnu make, microsoft nmake and posix standard make?

How similar/different are gnu make, microsoft nmake and posix standard make? Obviously there's things like "which OS?", "which compiler?" and "which linker?", but I'm referring specifically to the syntax, semantics and command-line options of the…
user180247
23
votes
2 answers

How to speed up Compile Time of my CMake enabled C++ Project?

I came across several SO questions regarding specific aspects of improving the turn-around time of CMake enabled C++ projects lately (like "At what level should I distribute my build process?" or "cmake rebuild_cache for just a subdirectory?"), I…
Florian
  • 39,996
  • 9
  • 133
  • 149
18
votes
2 answers

NMAKE : fatal error U1077: return code '0xc0000135'

I'm trying to follow steps explained here: but after entering the following into console: configure.exe -release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -no-multimedia -no-ltcg I'm getting following error:…
smallB
  • 16,662
  • 33
  • 107
  • 151
17
votes
1 answer

What is NMAKE and how do I use it?

What is NMAKE and how do I use it? Is there a good tutorial for NMAKE?
nikky
  • 1,835
  • 3
  • 18
  • 19
17
votes
4 answers

Running a program/script from QMake

We have a fairly large code-base. The vast majority of the code is compiled using qmake to produce the makefiles. However, there are some sub-projects that get produced by running batch files or running other programs. I'd like to be able to have…
Tom Hennen
  • 4,746
  • 7
  • 34
  • 45
17
votes
2 answers

How to organize the project tree for a C++ project using nmake?

There seems to be two major conventions for organizing project files and then many variations. Convention 1: High-level type directories, project sub-directories For example, the wxWidgets project uses this style: /solution /bin /prj1 …
Zach Burlingame
  • 13,476
  • 14
  • 56
  • 65
16
votes
11 answers

Converting FORTRAN to C / C++

As part of my Final Year Project, I need to convert some FORTRAN code into C or C++ (it doesn't matter which language as long as I can understand it, and I can understand C style languages). I have discovered f2c, a program that allegedly converts…
OddCore
  • 1,534
  • 6
  • 19
  • 32
13
votes
3 answers

makedepend equivalent for use with nmake?

Just wondering if there is a 'makedepends' equivalent that ships with visual studio that I can use with nmake. Does anyone know?
Andrew
11
votes
2 answers

Error while configuring CMake project: Running 'nmake' '-?' failed

I'm following this tutorial for building GLFW on Windows, and I'm getting the error when running cmake -S . -B Build: PS ~\glfw-3.3.2\GLFW> cmake -S . -B Build CMake Error at CMakeLists.txt:3 (project): Running 'nmake' '-?' failed with: …
luka_bur3k
  • 367
  • 1
  • 2
  • 11
11
votes
1 answer

How to clean the obj and lib files generated by nmake

I am using nmake in VS 2012 console to compile GDAL, I want to know which command could help me to remove all files generated by nmake command last time. c:\gdal>nmake clean Microsoft (R) Program Maintenance Utility Version 11.00.60610.1 Copyright…
Dean Chen
  • 3,800
  • 8
  • 45
  • 70
1
2 3
34 35