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
11
votes
2 answers

Using nmake with wildcards in the makefile

I am attempting to set up an nmake makefile to export our balsamiq mockup files to png files automatically, but I'm afraid I can't make heads nor tails of how to make a generic rule for doing so, without explicitly listing all the files I want…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
11
votes
4 answers

VS2012 nmake using v110_xp toolset?

Is there a way to use v110_xp toolset (instead of default "v110") when compiling with "nmake" ? I'm trying to compile a Qt5 library for VisualStudio2012 and I need it to work on Windows XP machines too. I've managet to compile all Qt5 libraries…
Gediminas
  • 1,830
  • 3
  • 27
  • 47
10
votes
4 answers

Building Qt - NMAKE : fatal error U1077: 'cd' : return code '0x2'

I'm trying to build Qt5.5 with static linking using msvc2015 but I'm having the following errors (actually there's a whole lot of them but I'm only listing a few, they're all quite the same): K:\Archivos de programa\Microsoft Visual Studio…
m.j
  • 121
  • 1
  • 1
  • 4
9
votes
4 answers

How to shorten the Qt make process?

I have downloaded an open source Qt that target on Windows. Since I am using the VS2010 command prompt to do the installation, it automatically set the platform to msvc-2010. When I am trying to build using nmake, it took about 7-8 hours to complete…
huahsin68
  • 6,819
  • 20
  • 79
  • 113
9
votes
2 answers

Using CMake with Windows 7, Visual Studio 2010, and the command line

How do I use CMake with Visual Studio 2010 on the command line? With Visual C++ Express Edition (2010) I would type: cmake . nmake nmake install simple. I noticed with Visual Studio 2010, CMake generates a solution file instead of a Makefile. So I…
Jason
  • 11,709
  • 9
  • 66
  • 82
9
votes
3 answers

nmake.exe keeps complaining about flags I'm not giving it. (U1065)

When I run nmake.exe from make I get this error: Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. NMAKE : fatal error U1065: invalid option '-' But I'm not passing in '-' as…
docwhat
  • 11,435
  • 6
  • 55
  • 54
9
votes
3 answers

Error when compiling Qt: nmake fatal error U1077

I am trying to compile Qt 4.7.4, but I always get this error: mt.exe: general error c101008d: Failed to write the updated manifest to the resource of file "release\tutorial5.exe". The system cannot find the file specified. NMAKE : fatal error…
Pedro
  • 4,100
  • 10
  • 58
  • 96
8
votes
2 answers

nmake appending to variables

Utility: NMake Platform : Windows 7 I have the following Makefile FILE = $(shell) *.c FILE += $(shell) *.cpp exec: @echo $(FILE) This works perfectly fine with make. This throws up the following error with nmake makefile(2) : fatal error…
gudge
  • 1,053
  • 4
  • 18
  • 33
8
votes
2 answers

Compile multiple **changed** source files at once in GNU make

I know there have been several questions with similar titles but none seem to provide an answer to what I need (correct me if I'm wrong). Consider this makefile: SOURCES=file1.cpp file2.cpp…
Igor Skochinsky
  • 24,629
  • 2
  • 72
  • 109
8
votes
1 answer

nmake.exe is not found in the windows\system32 folder? how to setup nmake command in windows?

When I type the nmake command in the Command Prompt, I am getting this error: 'nmake' is not recognized as an internal or external command operable program or batch file. Also, I couldn't find the nmake.exe file in my system. How to setup the…
shinoy.m
  • 151
  • 1
  • 2
  • 10
8
votes
1 answer

Building PBRT v2 error - Error 1 error U1077: 'if' : return code '0x1'

I have visual studio 2013 community edition and I got the pbrt-v2 code base and have been trying to build the solution but this is one of the errors I have been getting (it is related to nmake it seems like): NMAKE - Error 1 error U1077: 'if' :…
InsigMath
  • 273
  • 2
  • 7
  • 17
7
votes
4 answers

nmake Makefile to Place object files in a separate directory

I have all my source files in the Source folder, The makefile is in the Makefile folder and I want all object files to be placed in Objects folder. It is a C project iam working on. All these three folders are in a folder named Project. Project…
user115897
7
votes
1 answer

Using cmake with nmake x64

I use cmake to generate a NMake file, everything goes fine. I use the x64 toolsets (without Visual Studio, only the SDK), so I type nmake, but it generate a x86 build and not a x64 build. Do you know why ? and how to force nmake to target x64…
CDZ
  • 813
  • 1
  • 11
  • 27
7
votes
2 answers

Having trouble building OpenSSL on Windows 7 64-bit

I am trying to build OpenSSL on Windows 7 for a work project, but I am having trouble. The INSTALL instructions say that the easy way to do this: Quick Start ----------- If you want to just get on with it, do: on Windows (only pick one of the…
Razorfoot
  • 397
  • 2
  • 16
7
votes
3 answers

Convert nmake makefile into Visual Studio 2005 project

We have some old C code here that's built with nmake. Is there an automated way to pull the Makefile into Visual Studio 2005 and create a project? Some searching on MSDN indicates VS6 could do this, but it looks like VS7/8 dropped the feature. If…
Zathrus
  • 9,948
  • 2
  • 25
  • 22
1
2
3
34 35