473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Build Problem

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\system32\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\sam\LOCALS~1\Temp\RSP11.bat" with
contents
[
@echo off
copy "hlp\sam.cnt" .\Debug
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP11.bat"
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP12.bat" with
contents
[
@echo off
echo. >"hlp\sam.hm"
echo // Commands (ID_* and IDM_*) >>"hlp\sam.hm"
makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Prompts (IDP_*) >>"hlp\sam.hm"
makehm IDP_,HIDP_,0x30000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Resources (IDR_*) >>"hlp\sam.hm"
makehm IDR_,HIDR_,0x20000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Dialogs (IDD_*) >>"hlp\sam.hm"
makehm IDD_,HIDD_,0x20000 resource.h >>"hlp\sam.hm"
echo. >>"hlp\sam.hm"
echo // Frame Controls (IDW_*) >>"hlp\sam.hm"
makehm IDW_,HIDW_,0x50000 resource.h >>"hlp\sam.hm"
]
Creating command line "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP12.bat"
Creating temporary file "C:\DOCUME~1\sam\LOCALS~1\Temp\RSP13.bat" with
contents
[
@echo off
start /wait hcw /C /E /M "hlp\sam.hpj"
if errorlevel 1 goto :Error
if not exist "hlp\sam.hlp" goto :Error
copy "hlp\sam.hlp" .\Debug
goto :done
:Error
echo hlp\sam.hpj(1) : error:
type "hlp\sam.log"
:done
]
Creating command line "C:\DOCUME~1\sam\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\MyProjects\sam\sam.rc""
Copying contents file...
The system cannot find the path specified.
Error executing c:\windows\system32\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\MyProjects\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
Jul 22 '05 #1
7 2895
longtungd1 <no***************@netscape.net> spoke thus:
1) the system can't determine where the "hlp\" path is
2) all the paths except "C:\Program Files\Microsoft Visual
Studio\MyProjects\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)cyberspace.org | don't, I need to know. Flames welcome.
Jul 22 '05 #2
It seems to that you need to set the path environment variable to where the
cmd.exe is in your system.
Hope this helps.

Jul 22 '05 #3
On Mon, 02 Aug 2004 16:21:20 -0400, longtungd1
<no***************@netscape.net> 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\sam\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\MyProjects\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.


Unfortunately 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
Jul 22 '05 #4
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.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #5
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.

Jul 22 '05 #6
Thomas Matthews <Th****************************@sbcglobal.net> wrote in message news:<Pr***************@newssvr17.news.prodigy.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.
Jul 22 '05 #7
Jerry Coffin wrote:
Thomas Matthews <Th****************************@sbcglobal.net> wrote in message news:<Pr***************@newssvr17.news.prodigy.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.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
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...
2
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...
15
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...
10
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...
5
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...
1
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...
1
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...
0
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
13
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
0
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 ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.