I have a piece of software - it compiles fine using nmake (started
from cygwin, using visual c++).
The output of
nmake explorernodeque ry.dll
is:
----------------------------------------------------------
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
echo Compiling, explorernodeque ry.obj from explorernodeque ry.c
Compiling, explorernodeque ry.obj from explorernodeque ry.c
cl -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl
-nologo -D_X86_=
1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0 x0500
-D_WIN32_IE=0x05 00 -DWINV
ER=0x0500 -D_MT -D_DLL -MDd -DWIN32 -I .\include -I ecsapi\include -I
tngapi\in
clude /Foexplorernodeq uery.obj explorernodeque ry.c
explorernodeque ry.c
echo Compiling, mncache.obj from mncache.c
Compiling, mncache.obj from mncache.c
cl -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl
-nologo -D_X86_=
1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0 x0500
-D_WIN32_IE=0x05 00 -DWINV
ER=0x0500 -D_MT -D_DLL -MDd -DWIN32 -I .\include -I ecsapi\include -I
tngapi\in
....
(more stuff)
---------------------------------------------------------------
However, when I try to run the same thing from the command-line
(cygwin), it complains:
explorernodeque ry.c
explorernodeque ry.c(26) : fatal error C1083: Cannot open include file:
'eCSobCli
entApi.h': No such file or directory
So, why would the following command work from nmake but not the
command line?
Besides, the .h file is there, and the include directories are
specified correctly. The whole day I can't figure this out...
cl -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl
-nologo -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0 x0500
-D_WIN32_IE=0x05 00 -DWINVER=0x0500 -D_MT -D_DLL -MDd -DWIN32
-I\include -I\ecsapi\includ e -I\tngapi\includ e
/Foexplorernodeq uery.obj explorernodeque ry.c
Thank you. 2 1269 tr******@inbox. ru wrote: I have a piece of software - it compiles fine using nmake (started from cygwin, using visual c++).
[...] However, when I try to run the same thing from the command-line (cygwin), it complains: explorernodeque ry.c explorernodeque ry.c(26) : fatal error C1083: Cannot open include file: 'eCSobCli entApi.h': No such file or directory
So, why would the following command work from nmake but not the command line? Besides, the .h file is there, and the include directories are specified correctly. The whole day I can't figure this out...
cl -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0 x0500 -D_WIN32_IE=0x05 00 -DWINVER=0x0500 -D_MT -D_DLL -MDd -DWIN32 -I\include -I\ecsapi\includ e -I\tngapi\includ e /Foexplorernodeq uery.obj explorernodeque ry.c
'make' and compilation command lines are off-topic here. Please ask
your compiler-specific questions in that compiler's newsgroup. You
probably need one of 'microsoft.publ ic.vc.*' forums.
Thank you.
V
> ER=0x0500 -D_MT -D_DLL -MDd -DWIN32 -I .\include -I ecsapi\include -I tngapi\in clude /Foexplorernodeq uery.obj explorernodeque ry.c
[snip]
-I\include -I\ecsapi\includ e -I\tngapi\includ e /Foexplorernodeq uery.obj explorernodeque ry.c
Thank you.
Look at the -I options, they are different.
john This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JustSomeGuy |
last post by:
I have a class that looks something like this (Don't try to compile it,
I haven't tested this)
class KVP
{
string key;
string value;
list<KVP> sublist;
};
|
by: mlimber |
last post by:
This is a repost (with slight modifications) from
comp.lang.c++.moderated in an effort to get some response.
I am using Loki's Factory as presented in _Modern C++ Design_ for
message passing in an embedded environment with multiple processors. I
created a policy for classes, which, I had hoped, would automatically
register the class with the appropriate factory:
// In some header file...
#include <cassert>
|
by: Random |
last post by:
I'm confused about the proper use and usefulness of namespaces. I beleive I
understand the purpose is so the developer can put classes within namespaces
to essentially organize your code. And I understand that you declare your
intention to use a namespace within a page through the "Inherits" attribute.
I know that using "Inherits" isn't absolutely necessary, it's just
recommended so the developer doesn't have to type out the entire...
|
by: jojobar |
last post by:
Hello,
I am trying to use vs.net 2005 to migrate a project originally in vs.net
2003. I started with creation of a "web site", and then created folders for
each component of the site.
I read somewhere that each folder under the "web site" is compiled in
separate assembly. I however, did not find that the "web site" creation in
vs.net 2005 created any AssemblyInfo.cs file.
|
by: NvrBst |
last post by:
I'm wondering if this is possible... Basically say I have a lot of .cs
files but only 1 of them changes. Is there a way (with the csc.exe, or
VS.NET 2005, or another C# Compiler), that I can compile everything
before hand, keep the object files of the unchanged .cs files, and just
compile the 1 file I edit and somehow link it with my exsisting object
files?
IE in C++, all the .cpp files compiled to .o files. And you can keep
all the...
| |
by: JohnQ |
last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post).
It would be more than a little bit nice if C++ was much "cleaner" (less
complex) so that it wasn't a major world wide untaking to create a toolchain
for it. Way back when, there used to be something called "Small C". I wonder
if the creator(s) of that would want to embark on creating a nice little
Small C++ compiler devoid of C++ language features that make...
|
by: nventure |
last post by:
Hello,
Using VS 2005 with SP1, managed C++.
After installing security update for MS.NET framework 2.0 KB928365 my
project fails to compile with error "C2653: 'BLib' : is not a class or
namespace name". Before the security update if the project referenced
A which needed B and C; B and C would be brought in automatically.
After installing kb928365 this no longer happens. If I add references
to B and C manually then the project...
|
by: =?Utf-8?B?Qm9ucw==?= |
last post by:
I'm not exactly sure how to state this problem. One of my students emailed
me that when she tries to open a web page through IE it opens small and she
has to hit the maximize button to make it the correct size. I know I've seen
this on other puters but don't know what causes it. I'm sure it's some
setting....but have looked at all of mine and can't figure out what it could
be. I've had great luck in the past with questions and am hoping...
|
by: scholz.lothar |
last post by:
I want to add some extension features to my program and this would
require that i bundle a small c compiler with my program. On Unix it
seems that tiny-c can do this, but i don't know about windows.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |