<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
short info for those of you who run into the same pitfall.<br>
I downloaded the free (free of charge) nmake tool version 1.50 from
the Microsoft website. The problem is this nmake tool which produces
the problems with blanks / spaces in folder- and filenames. Even
parameters which contain double quotes (") make problems in the
Makefile.<br>
We have several installations of MS Visual Studio in different
versions (Visual Studio 2003, 2008, 2010) and now I tried the NMake
from Visual Studio 2003 which is file version 7.10.3077 and this
works fine. Of course this version is NOT free of charge, because
it's part of the buyable package from Microsoft.<br>
<br>
Just the short form: the nmake tool version 1.50 isn't able to use
the generated Makefile.<br>
<br>
Br,<br>
Martin...<br>
<br>
On 20.09.11 11:00, Martin Kupke wrote:
<blockquote cite="mid:4E785620.1000908@novero.com" type="cite">
<pre wrap="">Hi,
after many helpful hints from other users now I was able to create a
NMake Makefile using CMake.
I'm working in a Windows XP environment in a cmd.exe command line
interface (shell). The CMake tool created the typical Makefile including
the subfolders etc. in my output folder, without any errors or warnings.
To compile my simple test project (in moment it contains only a single
source standard C file), I call nmake.exe in my output path in the
console. This is the same as calling nmake.exe with the parameter -f
Makefile.
The output of the nmake build process is:
######################## snip ########################
D:\novero\Discovery\impl\target\CarIF_Appl\output\Debug>nmake -f Makefile
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
######################## snap ########################
I assume that there is a problem with the filename / foldername, because
of the line:
'C:\Program' is not recognized as an internal or external command...
A search over the output files from CMake including the generated
Makefile itself shows that all references in variables are set with
double quote (") e.g. "C:\Program Files\CMake 2.8\bin\cmake.exe".
Many thanks for your helpful comments in advance.
Br,
Martin...
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title></title>
<br>
<div class="moz-signature">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:KievitOT-Regular;
        panose-1:2 0 5 3 4 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<hr size="2" width="100%">
<p class="MsoNormal"><b><span style="font-family:
KievitOT-Regular; color: rgb(192, 0, 0);" lang="EN-CA">martin
kupke<o:p></o:p></span></b></p>
<p class="MsoNormal"> <span style="font-family:
KievitOT-Regular; color: rgb(15, 36, 62);">can diagnostics
engineer | senior software developer<o:p></o:p></span>
</p>
<p class="MsoNormal"><b><span style="font-family:
KievitOT-Regular; color: rgb(192, 0, 0);">m</span></b><span
style="font-family: KievitOT-Regular; color: rgb(192, 0,
0);">:</span><span style="font-family: KievitOT-Regular;
color: rgb(31, 73, 125);"> </span><span
style="font-family: KievitOT-Regular; color: rgb(15, 36,
62);">+49.151.5511.3632</span><span style="font-family:
KievitOT-Regular; color: rgb(38, 38, 38);"> </span><span
style="font-family: KievitOT-Regular; color: rgb(31, 73,
125);">| </span><b><span style="font-family:
KievitOT-Regular; color: rgb(192, 0, 0);">e</span></b><span
style="font-family: KievitOT-Regular; color: rgb(192, 0,
0);">:</span><span style="font-family: KievitOT-Regular;
color: rgb(155, 37, 74);"> </span><span
style="font-family: KievitOT-Regular; color: rgb(31, 73,
125);"><a href="mailto:martin.kupke@novero.com"><span
style="color: blue;">martin.kupke@novero.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:
KievitOT-Regular; color: rgb(15, 36, 62);">skype:</span><span
style="font-family: KievitOT-Regular; color: rgb(31, 73,
125);">
</span><span style="font-family: KievitOT-Regular; color:
rgb(15, 36, 62);">martin.kupke_novero
</span><span style="font-family: KievitOT-Regular; color:
rgb(0, 32, 96);">| </span><span style="font-family:
KievitOT-Regular; color: rgb(15, 36, 62);">w:</span><span
style="font-family: KievitOT-Regular; color: rgb(31, 73,
125);"> <a href="http://www.novero.com"><span
style="color: blue;">www.novero.com</span></a><br>
<br>
</span>
<span style="font-family: KievitOT-Regular; color: rgb(192,
0, 0);"></span>
<img src="cid:part1.08080207.07060708@novero.com"
alt="novero GmbH"><br>
<span style="font-family: KievitOT-Regular; color: rgb(15,
36, 62);">meesmannstr.103 | 44807 Bochum | germany</span>
<span style="font-family: KievitOT-Regular; color: rgb(31,
73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"> <span style="font-family:
KievitOT-Regular; color: rgb(15, 36, 62);"><br>
novero gmbh | parsevalstr. </span> <span
style="font-family: KievitOT-Regular; color: rgb(15, 36,
62);" lang="DE">7 a | 40468 düsseldorf | germany |
amtsgericht düsseldorf | hrb 58283 |
umsatzsteueridentifikationsnummer: de 814973142 |
geschäftsführender gesellschafter: razvan olosu</span> <span
style="font-family: KievitOT-Regular; color: rgb(31, 73,
125);" lang="DE"><o:p></o:p></span>
</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>