Compilation error under vc6
Moderator: Moderators
Compilation error under vc6
Hello, World!
I've been trying to compile dc++ 0.242 and 0.25 and... i've got a lot of internal compiler errors while compiling this stuff... all slt and awl files are placed right and compilation should be successful :) I've got SP 5 installed. I've used vc6 for a lot of time (couple years), I compile a lot code every day, but i have never got an error like this:
fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1794)
Please choose the Technical Support command on the Visual C++
i dont want to deal with m$technical support... the compiler fails at almost all of the files extept the bzip project. any idea why does it happen?
best regards
VoiD
p.s. sorry for my bad english :P
I've been trying to compile dc++ 0.242 and 0.25 and... i've got a lot of internal compiler errors while compiling this stuff... all slt and awl files are placed right and compilation should be successful :) I've got SP 5 installed. I've used vc6 for a lot of time (couple years), I compile a lot code every day, but i have never got an error like this:
fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1794)
Please choose the Technical Support command on the Visual C++
i dont want to deal with m$technical support... the compiler fails at almost all of the files extept the bzip project. any idea why does it happen?
best regards
VoiD
p.s. sorry for my bad english :P
KiLL Em All!
VoiD Em All!
VoiD Em All!
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Re: Compilation error under vc6
Do a re-install to make sure your Visual Studio install isn't b0rked?VoiD wrote:fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1794)
Please choose the Technical Support command on the Visual C++
well... my platform sdk is from 1999, but could you please tell me how the version of platform sdk could cause the ___internal___ compiler error? If some files are not up-to-date then compiler will tell me that there are some errrors in the code but it shouldn't cause the compiler to fail...
KiLL Em All!
VoiD Em All!
VoiD Em All!
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
I agree that it shouldn't happen, but as a FYI, the compile.txt suggest November 2001 or newer of the Platform SDK.VoiD wrote:well... my platform sdk is from 1999, but could you please tell me how the version of platform sdk could cause the ___internal___ compiler error? If some files are not up-to-date then compiler will tell me that there are some errrors in the code but it shouldn't cause the compiler to fail...
If reinstalling didn't help, try a newer SDK, then do an uninstall, deletion of all applicable files, then a reinstall. Yeah, it's a really blunt instrument, but...
A quick look (on 4 hits) on google didn't help much either, but maybe an in-depth check of the results will help you out more.
*(#$#(_*$^(&@ ##$#$)(*@ !!!!!!!!
I'm connected to Internet through 64kbit/s cable tv, I spent all night downloading the newest platform sdk and... nothing has changed!!!
I ve looked at the link you wrote and I found out that many people experience similar problems. They say that most of those problems were caused by things that make no sens and the only way was to change code that was correct :|
Did anyone experienced similar problems during compilation of dc++ and have solved this problem? I thought of installing vc++ .net but first of all it (afaik) won't run on win98 (i dont want to install win 2000 / xp) and second of all I found out that people that use vc++ .net have also experienced the same error! So how so many people who use vc++ 6 have no errors during compilation?
Thanx for any ideas
Best regards
VoiD
I'm connected to Internet through 64kbit/s cable tv, I spent all night downloading the newest platform sdk and... nothing has changed!!!
I ve looked at the link you wrote and I found out that many people experience similar problems. They say that most of those problems were caused by things that make no sens and the only way was to change code that was correct :|
Did anyone experienced similar problems during compilation of dc++ and have solved this problem? I thought of installing vc++ .net but first of all it (afaik) won't run on win98 (i dont want to install win 2000 / xp) and second of all I found out that people that use vc++ .net have also experienced the same error! So how so many people who use vc++ 6 have no errors during compilation?
Thanx for any ideas
Best regards
VoiD
KiLL Em All!
VoiD Em All!
VoiD Em All!
Solution..
I've got the same problem under VC6. Probably the installation is crappy, but don't know for sure. Are you using windows 98?
Anyways, I found that the project compiles perfectly if you export a makefile and then use the nmake utility as:
NMAKE /f "DCPlusPlus.mak" CFG="DCPlusPlus - Win32 Release"
BTW, since i'm mostly a linux user, i have to say that programming in windows is more like praying to God for your project to compile.. No offence but never had such problems on linux
Cheers!
Anyways, I found that the project compiles perfectly if you export a makefile and then use the nmake utility as:
NMAKE /f "DCPlusPlus.mak" CFG="DCPlusPlus - Win32 Release"
BTW, since i'm mostly a linux user, i have to say that programming in windows is more like praying to God for your project to compile.. No offence but never had such problems on linux
Cheers!
Thanx for halping me! Wanna know what's the solution? Well, I tought that it could be some problem for the compiler to use prcompiled headers or something so I tried to compile it using "rebuild all". After that I pressed the F7 button... and... couple more files passed the compilation. After those files compiler crushed again so I pressed F7... and so on, and so on till the whole project compiled (almost) successfully. Now I'm a new happy user of dc++ compiled by myself. There were also some errors while compiling the slt-dependent code... I am sure it is bug in the compiler... I won't write it here :)
Apropos the idea of using linux - I have mandrake 9 installed and I must say that it is much, much more stable, faster and simply better than windows :))) There are also many free, opensource programs like ide's and compilers so writing programs for linux is not so hard. Unfortunately, I usually write programs that require serious 3D graphics, so using OpenGL is the most nesesary thing for me. And here is the problem. NVIDIA's drivers are good, but are not always stable, and sometimes I have problems while lounching the OpenGL code that is correct and runs under win98, but causes errors or executes not exacly the way I'd like it to do. I think I must "hack" into linux to know how to write programs for it and I'll do that when the semester is finished.
Thanx you all!
Best regards
VoiD
Apropos the idea of using linux - I have mandrake 9 installed and I must say that it is much, much more stable, faster and simply better than windows :))) There are also many free, opensource programs like ide's and compilers so writing programs for linux is not so hard. Unfortunately, I usually write programs that require serious 3D graphics, so using OpenGL is the most nesesary thing for me. And here is the problem. NVIDIA's drivers are good, but are not always stable, and sometimes I have problems while lounching the OpenGL code that is correct and runs under win98, but causes errors or executes not exacly the way I'd like it to do. I think I must "hack" into linux to know how to write programs for it and I'll do that when the semester is finished.
Thanx you all!
Best regards
VoiD
KiLL Em All!
VoiD Em All!
VoiD Em All!