I'm currently taking a Visual C++ course. I have C++ version 6.0 on my
machine.
I set up a basic program per course instructions to simply create a
window with
default toolbar, etc., using App Wizard and ran build from the menu to
create
the .exe.
Got following output:
--------------------Configuration: sam - Win32 Debug--------------------
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\syst em32\cmd.exe.
sam.exe - 1 error(s), 0 warning(s)
-----------------------------------------
The logfile sam.plg is as follows:
-----------------------------------
Build Log
--------------------Configuration: sam - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP11.bat" with
contents
[
@echo off
copy "hlp\sam.cn t" .\Debug
]
Creating command line "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP11.bat"
Creating temporary file "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP12.bat" with
contents
[
@echo off
echo. >"hlp\sam.hm "
echo // Commands (ID_* and IDM_*) >>"hlp\sam.hm "
makehm ID_,HID_,0x1000 0 IDM_,HIDM_,0x10 000 resource.h >>"hlp\sam.hm "
echo. >>"hlp\sam.hm "
echo // Prompts (IDP_*) >>"hlp\sam.hm "
makehm IDP_,HIDP_,0x30 000 resource.h >>"hlp\sam.hm "
echo. >>"hlp\sam.hm "
echo // Resources (IDR_*) >>"hlp\sam.hm "
makehm IDR_,HIDR_,0x20 000 resource.h >>"hlp\sam.hm "
echo. >>"hlp\sam.hm "
echo // Dialogs (IDD_*) >>"hlp\sam.hm "
makehm IDD_,HIDD_,0x20 000 resource.h >>"hlp\sam.hm "
echo. >>"hlp\sam.hm "
echo // Frame Controls (IDW_*) >>"hlp\sam.hm "
makehm IDW_,HIDW_,0x50 000 resource.h >>"hlp\sam.hm "
]
Creating command line "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP12.bat"
Creating temporary file "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP13.bat" with
contents
[
@echo off
start /wait hcw /C /E /M "hlp\sam.hp j"
if errorlevel 1 goto :Error
if not exist "hlp\sam.hl p" goto :Error
copy "hlp\sam.hl p" .\Debug
goto :done
:Error
echo hlp\sam.hpj(1) : error:
type "hlp\sam.lo g"
:done
]
Creating command line "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP13.bat"
Creating command line "rc.exe /l 0x409 /fo"Debug/sam.res" /d "_DEBUG" /d
"_AFXDLL" "C:\Program Files\Microsoft Visual Studio\MyProjec ts\sam\sam.rc""
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\syst em32\cmd.exe.
Output Window
Results
sam.exe - 1 error(s), 0 warning(s)
-------------------------------------
The only possibilities I can guess from this are
1) the system can't determine where the "hlp\" path is
2) all the paths except "C:\Program Files\Microsoft Visual
Studio\MyProjec ts\sam\sam.rc" are in DOS 8.3 format, and the full path
name is throwing the command line, but my OS is XP, so that would not
seem to be it
Unfortunately the log doesn't identify which statement is crashing. Any
suggestions?
Thanks,
Ken 7 2910
longtungd1 <no************ ***@netscape.ne t> spoke thus: 1) the system can't determine where the "hlp\" path is 2) all the paths except "C:\Program Files\Microsoft Visual Studio\MyProjec ts\sam\sam.rc" are in DOS 8.3 format, and the full path name is throwing the command line, but my OS is XP, so that would not seem to be it
No way for this group to tell: http://www.slack.net/~shiva/welcome.txt http://www.parashift.com/c++-faq-lite/
Your favorite M$ newsgroup would be a far superior source of
information.
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
It seems to that you need to set the path environment variable to where the
cmd.exe is in your system.
Hope this helps.
On Mon, 02 Aug 2004 16:21:20 -0400, longtungd1
<no************ ***@netscape.ne t> wrote: I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine. I set up a basic program per course instructions to simply create a window with default toolbar, etc., using App Wizard and ran build from the menu to create the .exe. Got following output:
--------------------Configuration: sam - Win32 Debug--------------------
[snip]
Creating command line "C:\DOCUME~1\sa m\LOCALS~1\Temp \RSP13.bat" Creating command line "rc.exe /l 0x409 /fo"Debug/sam.res" /d "_DEBUG" /d "_AFXDLL" "C:\Program Files\Microsoft Visual Studio\MyProjec ts\sam\sam.rc""
1/ I am suspicious of the *two* quotes after /sam.rc If you can trace
back the reference to the .rc (?resourse file?) that might help. Unfortunatel y the log doesn't identify which statement is crashing. Any suggestions?
2/ It won't, this is a build problem, not a compile problem.
3/ Your question is off-topic here, try a newsgroup specifically for
Visual C++ where there will be more people who use that particular
product. I don't.
rossum Thanks, Ken
--
The ultimate truth is that there is no Ultimate Truth
longtungd1 wrote: I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine.
[Nit picking]
Correction:
I have the Microsoft Visual C++ compiler, version 6.0, on my machine.
The compiler and language are two different objects. I use C++ on my
machine and have these compilers loaded:
Microsoft Visual C++
Borland C++ Builder
Arm Project Manager
GNU G++
There are other compilers than Microsoft's Visual C++.
I set up a basic program per course instructions to simply create a window with default toolbar, etc., using App Wizard and ran build from the menu to create the .exe.
Sorry, but windowing uses platform specific functions that are not in
the _standard_ language. A very good idea is to ask in a microsoft
newsgroup. See the links in my signature.
--
Thomas Matthews
C++ newsgroup welcome message: http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq: http://www.comeaucomputing.com/learn/faq/
Other sites: http://www.josuttis.com -- C++ STL Library book
Didn't know anyone but MS made Visual C++, so I didn't bother to be
verbose. Glad to see you're on top of those nits.
Thomas Matthews wrote: longtungd1 wrote:
I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine.
[Nit picking] Correction: I have the Microsoft Visual C++ compiler, version 6.0, on my machine.
The compiler and language are two different objects. I use C++ on my machine and have these compilers loaded: Microsoft Visual C++ Borland C++ Builder Arm Project Manager GNU G++ There are other compilers than Microsoft's Visual C++.
I set up a basic program per course instructions to simply create a window with default toolbar, etc., using App Wizard and ran build from the menu to create the .exe.
Sorry, but windowing uses platform specific functions that are not in the _standard_ language. A very good idea is to ask in a microsoft newsgroup. See the links in my signature.
Thomas Matthews <Th************ *************** *@sbcglobal.net > wrote in message news:<Pr******* ********@newssv r17.news.prodig y.com>... longtungd1 wrote: I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine. [Nit picking] Correction: I have the Microsoft Visual C++ compiler, version 6.0, on my machine.
If you want to nit pick, that's the version number of the environment,
not the compiler. The compiler proper would be somewhere around
version 12.
In fact, there was never a version 6 of Microsoft's C++ compiler.
Versions 1 through 3 of "Microsoft C" were really Lattice C with
different packaging. Versions 4 though 6 were written by Microsoft,
but compiled only C. Only versions 7 and newer claim to compile C++
(and what version 7 compiled barely qualifies as C++ any more).
--
Later,
Jerry.
The universe is a figment of its own imagination.
Jerry Coffin wrote: Thomas Matthews <Th************ *************** *@sbcglobal.net > wrote in message news:<Pr******* ********@newssv r17.news.prodig y.com>...
longtungd1 wrote:
I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine.
[Nit picking] Correction: I have the Microsoft Visual C++ compiler, version 6.0, on my machine.
If you want to nit pick, that's the version number of the environment, not the compiler. The compiler proper would be somewhere around version 12.
In fact, there was never a version 6 of Microsoft's C++ compiler. Versions 1 through 3 of "Microsoft C" were really Lattice C with different packaging. Versions 4 though 6 were written by Microsoft, but compiled only C. Only versions 7 and newer claim to compile C++ (and what version 7 compiled barely qualifies as C++ any more).
-- Later, Jerry.
I guess I need to clarify my nit picking. The second sentence
I interpreted as the OP has version 6.0 of the C++ language
installed on his machine. My nit pick was about there not
being a version 6.0 of C++ language and that the language
and translators were two very different objects.
--
Thomas Matthews
C++ newsgroup welcome message: http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq: http://www.comeaucomputing.com/learn/faq/
Other sites: http://www.josuttis.com -- C++ STL Library book This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bren |
last post by:
Hi,
Pardon my stupid, but I'm having a problem building Boost.Python as
per the instructions at
http://www.boost.org/libs/python/doc/building.html
I got boost-build-2.0-m6.zip from sourceforge and build bjam.exe.
I've tried several ways:
|
by: AIM |
last post by:
Error in msvc in building inheritance.obj to build hello.pyd
Hello,
I am trying to build the boost 1.31.0 sample extension hello.cpp.
I can not compile the file inheritance.cpp because the two
files containing some templates: adjacency_list.hpp and mem_fn.hpp can
not compile.
Does anyone have any solutions?
|
by: cody |
last post by:
We have a huge project, the solutuion spans 50 projects growing. Everytime I
want to start the project I have to wait nearly over 1 minute for the
compiler to complete building. This is unaccaptable.
I thought about loading only the project I need into visual studio and not
the whole solution. The problem is that the compiler tells me it cannot find
the referenced dlls (project references) although they are all lying in
their bin and obj...
|
by: Douglas Buchanan |
last post by:
I am using the following code instead of a very lengthly select case
statement.
(I have a lot of lookup tables in a settings form that are selected
from a ListBox. The data adapters are given a similar name to the
table. Rather than making a long Select Case that could become
obsolete if lookup tables are added and the source table of the
ListBox is edited I came up with this code.)
This code works but of course it gives me build...
|
by: Al |
last post by:
Hi all
We have created a xml file that imports a single project using the Import
element. This project compiles to a class library, but has references to two
other projects that are also class libraries. We are having a path reference
issue for the depending projects; if the build is started in another
directory than that of the imported project. (It's a simple cannot find
project xyz.csproj, build fails.) If we place the xml file in...
| |
by: |
last post by:
I'm having a problem finding the cause for this problem. I have a solution
in Visual Studio 2005 that contains two projects -- a Web Site and a Class
Library. The web site references the class library.
After the project became larger, the build process would sometimes fail with
no errors. The "quick fix" for this was to rebuild the whole solution and
things seemed ok. When this didn't solve the problem any longer, I went to
the property...
|
by: AlexZh |
last post by:
Hi, I'd like to stop command line build by one project build failed.
To do that I've created simple AddIn (see code below), that works fine
for IDE and does not work for command line.
In the AddIn I have only two non-trivial methods:
In OnConnection I add my event handler to OnBuildProjConfigDone, and in
the event handler I executed Build.Cancel.
In IDE - no problem.
When I execute
I see that AddIn works and Build.Cancel is called but...
|
by: Yannick |
last post by:
Hi,
I'm Julien from France,
We have recently install a new Web Server for my company
The server is composed :
- Linux RedHat RHEL4 U4
- Httpd-2.0.52-27.ent
- Oracle Database 10.2.0.1
|
by: 7stud |
last post by:
test1.py:
--------------------
import shelve
s = shelve.open("/Users/me/2testing/dir1/aaa.txt")
s = "red"
s.close()
--------output:------
$ python test1.py
|
by: Akira Kitada |
last post by:
Hi list,
I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed
to build some of the modules.
"""
Failed to find the necessary bits to build these modules:
_bsddb _sqlite3 _tkinter
gdbm linuxaudiodev spwd
sunaudiodev
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |