|
-
Jul 7th, 2001, 01:05 AM
#1
Thread Starter
Hyperactive Member
Compile Question
Today I tired compiling this application and it said that it could not run the program cl.exe
When I tried to run it manually, it said it can't find MSPDB60.DLL which is needed to start the app!
Where can I get this dll and where do I put it afterwords? in the System folder?
Thanks!
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 7th, 2001, 01:15 AM
#2
Put it in [VS Install path]\Common\MSDev98\Bin
-
Jul 7th, 2001, 01:49 AM
#3
Thread Starter
Hyperactive Member
Thanks a lot dennis...
By the way, I was trying to compile your code that you gave in the VB forum and I noticed this..
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 7th, 2001, 01:55 AM
#4

I usually don't go in the vb forum at all, but I am so incredibly bored tonight
-
Jul 7th, 2001, 02:08 AM
#5
Thread Starter
Hyperactive Member
I can see 
Anyway, for some reason if I try to compile your code, it says it can't run that cl.exe... but if I try to compile something else, it works!
on yours it says...
Compiling...
Hello Worlds.cpp
c:\........\hello world.cpp(10) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
Hello World.obj - 1 error(s), 0 warning(s)
???
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 7th, 2001, 02:47 AM
#6
Works fine for me
-
Jul 8th, 2001, 01:11 AM
#7
Thread Starter
Hyperactive Member
I don't know...
It's a Win32 Console App right?
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 8th, 2001, 01:22 AM
#8
Yep... Hmmmm, this is odd, I'll look into it more when I install VC++(just installed Win2k this evening and am still putting all my goodies on it  )
-
Jul 8th, 2001, 08:34 PM
#9
Thread Starter
Hyperactive Member
I'll try it with Dev-C++...
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 8th, 2001, 08:47 PM
#10
Look in Tools -> Options -> Directories. And make sure you see C:\Program Files\Microsoft Visual Studio\VC98\Include
If you see that, then check to make sure all the include files are in the directory(compare them with your disk)...
-
Jul 8th, 2001, 11:30 PM
#11
Thread Starter
Hyperactive Member
Well, I tried it with Dev-C++ and it works fine...
Also, I just made a new project and I told it to make a simple hello world app and the code was different than yours.. how come?? (That worked by the way )
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 8th, 2001, 11:41 PM
#12
I am using the iostream header file, which is only available to C++(you can't use it in C), but they use stdio.h with the printf statement, which dates back to C... I prefer to use iostream, because I learned the basics of C++ with that, but you can use printf as well, but it's much more of a pain... Take a look at both methods to print out "I am 69 years old, and will soon be 70" on the screen with both numbers stored as variables:
using stdio.h and printf:
Code:
int a = 69, b = 70;
printf("I am %d years old, and will soon be %d\n", a, b);
iostream.h
Code:
int a = 69, b = 70;
cout << "I am " << a << " years old, and will soon be " << b << endl;
Although #2 was a little more tedius to write, printf style strings can get really confusing, and will be a pain to figure out.
-Dennis
PS: I'm not really 69, I just really like that number
-
Jul 9th, 2001, 12:34 AM
#13
Thread Starter
Hyperactive Member
Thanks for clearing that up for me...
And yes, who doesn't like 69? Actually I like 34½ but it's not fair not giving my share of the other 34½ for all the work she does 
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
-
Jul 9th, 2001, 05:11 AM
#14
Monday Morning Lunatic
The precompiled headers thing is a way of speeding up long compiles (many files). Anyway, if you install VC properly there should be no need to move files like this around.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 9th, 2001, 09:24 PM
#15
Thread Starter
Hyperactive Member
By the way...
Yesterday, I found the complete source of Quake 1 and when I tried compiling it, it game me an error...
(Man, that's a big project(game))
-Emo
-=VB6 Enterprise Edition=-
-=VC++6Enterprise Edition=-
«¤E³m°O²™¤»
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|