Weird Compiler Error

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Weird Compiler Error

Post by theninjamaster » Mon Sep 08, 2003 3:57 am

My Compiler VC++ 6.0 is saying:

--------------------Configuration: eqlib - Win32 Release--------------------
Compiling resources...
C:\Macroquest\EQLib.rc (97): error RC2104 : undefined keyword or key name: IDS_LOADED
Error executing rc.exe.

eqlib.dll - 1 error(s), 0 warning(s)
--------------------Configuration: eqlib - Win32 Release--------------------
Compiling resources...
C:\Macroquest\EQLib.rc (97): error RC2104 : undefined keyword or key name: IDS_LOADED
Error executing rc.exe.

macroquest.exe - 1 error(s), 0 warning(s)

which of course isnt letting it build...Any ideas on how to fix it. I did a search and didnt find anything on it.

Thanks much for the help.

-Ninja

BTW you can IM me if you dont want to post *couldnt see why you wouldnt want to* dbzgogeta4 is my AIM, Thanks again.

Shin Noir
a ghoul
a ghoul
Posts: 90
Joined: Tue Aug 05, 2003 8:18 pm

Post by Shin Noir » Mon Sep 08, 2003 5:25 am

When compiling Macroquest with Visual C++ 6.0:

1. Be sure to load the file macroquest.dsw

2. Click the FileView tab (if you can't see it, press alt+0 to see the WorkSpace)

3. Two sections should be found in this tree, one called "eqlib files" and the other "macroquest files". (they are the "root" directories of each project)

4. Right click one of these sections and select "Build" on the popup. Do the same for other section.

5. Be sure no errors or warnings appear. If any, post them below.

6. Find and run the compiled macroquest.exe file. A shield should appear in your system tray (near your windows clock)

If you did those 6 steps and still get that error, redownload the IRC-Release and retry again. If you STILL have a problem, post here and hope a real dev techie comes in and helps you ^^

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Still getting that error

Post by theninjamaster » Mon Sep 08, 2003 2:21 pm

IDS_Loaded not defined.

-Edit

Same error as before in my previous post and does it for both things when I try to compile.

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Mon Sep 08, 2003 6:22 pm

You're missing an include file someplace. IDS_LOADED is part of the dll injection routines, routines which occur in both MacroQuest.exe and EQLib.dll.

Check your paths. VC6 doesn't set the path statement correctly a lot of times when you install it.
MQ2: Think of it as Evolution in action.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Tue Sep 09, 2003 3:02 am

IDS_LOADED is defined in resource.h in the eqlib directory.

What is in your resource.h file?

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Resource.h

Post by theninjamaster » Tue Sep 09, 2003 2:12 pm

//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by mqext.rc
//

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Sep 10, 2003 1:47 am

No, the resource.h in the eqlib directory.

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Resource.h

Post by theninjamaster » Wed Sep 10, 2003 3:01 am

//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by mqext.rc
//

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif


That is the header file in the eqlib. MQ files doesnt have a resource.h file and asks if I want to make a new one if I try to open it.

-Ninja

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Sep 10, 2003 3:13 am

How did you get the source?

You are missing the resource.h in the eqlib directory.

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Source

Post by theninjamaster » Wed Sep 10, 2003 3:40 am

Got it here from the IRC_Latest....*sighs* I used to have it before it became compile it yourself...I just want to be able to run my scripts again heh.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Sep 10, 2003 3:43 am

Dude, if you can't master a zip file, how are you going to write scripts?

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

...

Post by theninjamaster » Wed Sep 10, 2003 3:48 am

Bah I have downloaded the file like 4x still not there...Ill try it once again...if it doesnt work again what should I do?

Anywho...Ill try yet again.

-Ninja

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Wed Sep 10, 2003 3:51 am

You posted the resource.h file from the mqext directory.

What program are you using to open the zip file?

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Guess what

Post by theninjamaster » Wed Sep 10, 2003 3:53 am

Still doesnt work...Any other insight in how to fix this?

-Ninja

theninjamaster
orc pawn
orc pawn
Posts: 17
Joined: Wed Feb 05, 2003 1:01 am

Win zip

Post by theninjamaster » Wed Sep 10, 2003 3:54 am

Using win zip 8? I believe.

Ask me to overwrite certian files, so I made a few directories and said yest to all and no to all...Neither work...although one of them it asks if I want to overwrite is resource.h