| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| Moderator Join Date: Sep 2002 Location: Brooklyn, NY, USA
Posts: 3,850
| Compilation error If anyone here has some free time on their hands, I keep getting a trivial compilation error when trying to make the a file from the following website: http://www.chiark.greenend.org.uk/~o...starcraft.html Its a trivial error, but I do not know if it is because I am compiling in XP, becaus ethe author mentions of a problem in 2k and both are NT based, or if its a header file as the compilation error states: C:\_ALL_\Borland\BCC55\Bin>make -fMakefile.BORLAND MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Could Not Find C:\_ALL_\Borland\BCC55\Bin\bnetd\server.obj bcc32 -v -y -O2 -d -j2 -w-8060 -w-8057 -DWIN32 -DBNETD_DEFAULT_CONF_FILE =\"C:\Bnetd\etc\bnetd.conf\" -DHAVE_CONFIG_H -I. -c -o.\bnetd\server.obj .\bnetd \server.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland .\bnetd\server.c: Fatal F1003 .\stdcomp.h 5: Error directive: Must use C++ for STDCOMP.H *** 1 errors in Compile *** ** error 1 ** deleting .\bnetd\server.obj Any ideas anyone???
__________________ My Rig: Antec P160 P4 3.0E GHz running WinXP w/SP2 Scythe SCMN-1000 Heatsink w/Arctic Silver 5 Antec TruePower 2.0 TP2-550 (550W power supply) ASUS P4C800 Deluxe Motherboard 2GB RAM - Corsair XMS TWINX2048 (2x1GB) 3200C2Pro CL2.0 ATI RADEON X850XT AGP 2 - WD 37GB Raptor's (in RAID 0) via onboard Promise controller Western Digital 250GB SATA HDD on Primary SATA channel Western Digital 150GB SATA HDD on Secondary SATA channel Lite-On LTR-52246S 6S0F (IDE1 Master) Lite-On JLMS XJ-HD166S DS1C (IDE1 Slave) NEC 3500AG 2.TC Quiet (IDE2 Master) Lite-On SOHW 1673S JS07 (via USB 2.0 to IDE & set to Master) Found a Solution here helpful? Like the forum's? Well then, what are you waiting for JOIN NOW!!! |
| | |
| | #2 (permalink) |
| CDFreaks Resident Join Date: Jan 2002 Location: Strongbadia
Posts: 3,408
| my first result on google. Question: When I compile my code, I receive the following error message: "Fatal F1003 c:BorlandBcc55includestdcomp.h 5: Error directive: Must use C++ for STDCOMP.H" What does this error message mean? Answer: The problem is that BCC32 is compiling your code for C yet you have included a C++ header file. The STDCOMP.H header file contains preprocessor directives that make sure it is being compiled for C++ and not C. The Borland compiler determines whether to compile for C++ or for C based on your source file's extension. If your file has a ".CPP" file extension, it will be compiled as C++ code. If your file has a ".C" extension, or an extension the compiler does not recognize, the file will be compiled a C code. To resolve this problem, make sure your source file extension reflects how you would like the file compiled. If you are encountering this specific error, it is likely that your source code has a ".C" extension and should be ".CPP"
__________________ www.livingwithoutmicrosoft.org last 5 cd's Avril Lavigne - Whatever the new one is called Lucky Boys Confusion - Throwing the Game lostprophets - Start Something Story of the Year - Page Avenue Flaming Lips - Yoshimi Battles the Pink Robots Don't let schooling interfere with your education. -Mark Twain |
| | |
| | #3 (permalink) |
| Moderator Join Date: Sep 2002 Location: Brooklyn, NY, USA
Posts: 3,850
| Yes I got that also from google, but trying to track down one file to rename to cpp rather than c is very hard because there are like a hundred as part fo the header code.
__________________ My Rig: Antec P160 P4 3.0E GHz running WinXP w/SP2 Scythe SCMN-1000 Heatsink w/Arctic Silver 5 Antec TruePower 2.0 TP2-550 (550W power supply) ASUS P4C800 Deluxe Motherboard 2GB RAM - Corsair XMS TWINX2048 (2x1GB) 3200C2Pro CL2.0 ATI RADEON X850XT AGP 2 - WD 37GB Raptor's (in RAID 0) via onboard Promise controller Western Digital 250GB SATA HDD on Primary SATA channel Western Digital 150GB SATA HDD on Secondary SATA channel Lite-On LTR-52246S 6S0F (IDE1 Master) Lite-On JLMS XJ-HD166S DS1C (IDE1 Slave) NEC 3500AG 2.TC Quiet (IDE2 Master) Lite-On SOHW 1673S JS07 (via USB 2.0 to IDE & set to Master) Found a Solution here helpful? Like the forum's? Well then, what are you waiting for JOIN NOW!!! |
| | |
| | #4 (permalink) |
| CDFreaks Resident Join Date: Jan 2002 Location: Strongbadia
Posts: 3,408
| the error occurs during the compile of server.c, within the \bnetd\ directory, from the error log you've posted.
__________________ www.livingwithoutmicrosoft.org last 5 cd's Avril Lavigne - Whatever the new one is called Lucky Boys Confusion - Throwing the Game lostprophets - Start Something Story of the Year - Page Avenue Flaming Lips - Yoshimi Battles the Pink Robots Don't let schooling interfere with your education. -Mark Twain |
| | |
| | #5 (permalink) |
| Moderator Join Date: Sep 2002 Location: Brooklyn, NY, USA
Posts: 3,850
| Actually I think by the error log stdcomp.h is the header that has a #include somewhere for a .c file when it should be a .cpp file because server.c is just the result file which then is included into another compile. Its delelted because of a failed compilation. Its too confusing and I'm gonna give up on it. Maybe one of my friends can come by and take a look.
__________________ My Rig: Antec P160 P4 3.0E GHz running WinXP w/SP2 Scythe SCMN-1000 Heatsink w/Arctic Silver 5 Antec TruePower 2.0 TP2-550 (550W power supply) ASUS P4C800 Deluxe Motherboard 2GB RAM - Corsair XMS TWINX2048 (2x1GB) 3200C2Pro CL2.0 ATI RADEON X850XT AGP 2 - WD 37GB Raptor's (in RAID 0) via onboard Promise controller Western Digital 250GB SATA HDD on Primary SATA channel Western Digital 150GB SATA HDD on Secondary SATA channel Lite-On LTR-52246S 6S0F (IDE1 Master) Lite-On JLMS XJ-HD166S DS1C (IDE1 Slave) NEC 3500AG 2.TC Quiet (IDE2 Master) Lite-On SOHW 1673S JS07 (via USB 2.0 to IDE & set to Master) Found a Solution here helpful? Like the forum's? Well then, what are you waiting for JOIN NOW!!! |
| | |
| | #6 (permalink) |
| CDFreaks Resident Join Date: Jan 2002 Location: Strongbadia
Posts: 3,408
| if you are compiling server.c - a C file, and using stdcomp.h - a c++ header.....
__________________ www.livingwithoutmicrosoft.org last 5 cd's Avril Lavigne - Whatever the new one is called Lucky Boys Confusion - Throwing the Game lostprophets - Start Something Story of the Year - Page Avenue Flaming Lips - Yoshimi Battles the Pink Robots Don't let schooling interfere with your education. -Mark Twain |
| | |
| | #7 (permalink) |
| CD Freaks Fartman Join Date: Apr 2002 Location: Crypt of Kaos©
Posts: 2,378
| I seemed to always get some sort of error with borland so I switched to DEV-C++ and I also use codewarrior. C/warrior is pretty expensive but I know how to get it for free legally if you want to try it
__________________ there's always a way! cd protections are illegal! what's that smell! join our team and help fight cancer Join Us! Here at cdfreaks "Space. . . It seems to go on and on forever. But then you get to the end and a gorilla starts throwing barrels at you." Do Not send me private messages about diablo mpq files I WILL NOT HELP YOU Chat Quotes [4:44pm] * @taHkroW dubs SK the best king of the world. |
| | |
| | #8 (permalink) |
| Moderator Join Date: Sep 2002 Location: Brooklyn, NY, USA
Posts: 3,850
| ehh, the heck with this, I give up, my friend will just have to learn to VPN to get starcraft to work off our broadband on direct play. Why can't blizzard just make a patch or update to do so. The game is so old and broadband is the thing now, and its not like the game still sells so blizzard won't really lose money off sales to the pirates that do exist with same serials of this game. It makes it so unfair to those of us who actually bought the game.
__________________ My Rig: Antec P160 P4 3.0E GHz running WinXP w/SP2 Scythe SCMN-1000 Heatsink w/Arctic Silver 5 Antec TruePower 2.0 TP2-550 (550W power supply) ASUS P4C800 Deluxe Motherboard 2GB RAM - Corsair XMS TWINX2048 (2x1GB) 3200C2Pro CL2.0 ATI RADEON X850XT AGP 2 - WD 37GB Raptor's (in RAID 0) via onboard Promise controller Western Digital 250GB SATA HDD on Primary SATA channel Western Digital 150GB SATA HDD on Secondary SATA channel Lite-On LTR-52246S 6S0F (IDE1 Master) Lite-On JLMS XJ-HD166S DS1C (IDE1 Slave) NEC 3500AG 2.TC Quiet (IDE2 Master) Lite-On SOHW 1673S JS07 (via USB 2.0 to IDE & set to Master) Found a Solution here helpful? Like the forum's? Well then, what are you waiting for JOIN NOW!!! |
| | |
| | #9 (permalink) | |
| CDFreaks Resident Join Date: Jan 2002 Location: Strongbadia
Posts: 3,408
| Quote:
![]()
__________________ www.livingwithoutmicrosoft.org last 5 cd's Avril Lavigne - Whatever the new one is called Lucky Boys Confusion - Throwing the Game lostprophets - Start Something Story of the Year - Page Avenue Flaming Lips - Yoshimi Battles the Pink Robots Don't let schooling interfere with your education. -Mark Twain | |
| | |
| | #10 (permalink) | |
| CD Freaks Fartman Join Date: Apr 2002 Location: Crypt of Kaos©
Posts: 2,378
| Quote:
__________________ there's always a way! cd protections are illegal! what's that smell! join our team and help fight cancer Join Us! Here at cdfreaks "Space. . . It seems to go on and on forever. But then you get to the end and a gorilla starts throwing barrels at you." Do Not send me private messages about diablo mpq files I WILL NOT HELP YOU Chat Quotes [4:44pm] * @taHkroW dubs SK the best king of the world. | |
| | |
| | #11 (permalink) |
| CDFreaks Resident Join Date: Jan 2002 Location: Strongbadia
Posts: 3,408
| if only i could find the header files i want to see from within it, easily, without all this searching :P
__________________ www.livingwithoutmicrosoft.org last 5 cd's Avril Lavigne - Whatever the new one is called Lucky Boys Confusion - Throwing the Game lostprophets - Start Something Story of the Year - Page Avenue Flaming Lips - Yoshimi Battles the Pink Robots Don't let schooling interfere with your education. -Mark Twain |
| | |
| |
| |
![]() |
| If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ok next.. new compilation | yopnono | Nero Linux | 5 | 25-05-2007 17:13 |
| Error loading compilation | savvo | Nero Linux | 2 | 25-05-2005 17:44 |
| Compilation Problem | MrMoose | Nero & InCD | 3 | 13-12-2004 23:43 |
| How can you burn a compilation? | Bluevolt | CloneDVD | 1 | 26-10-2004 00:06 |
| COMPILATION!!!! | red_sky79 | Italian: Chat | 0 | 01-03-2000 00:09 |