[SDK] Using Microsoft Visual C++ 2005 Express Edition

It still says, "file 'Final_Release' not found" What should I do?
 
It appears ijnavy is having the exact same problem I was having. Any help would be greatly appreciated as I would love to start coding but just can't compile the DLL. Help!
 
Look no offense, but from a report like "I am sure i did everything right, but it still doesn't work, help!" (I know i exxagerate a bit :mischief:) it's very hard to tell where your problem is.

It might be easier to try compiling from the command prompt.
If this works, you screwed some of the steps to setup VS Express environment/config. If it does not work, you might be missing (or have a bad install) some tools/files.

Try the following (Using my or Jean Elcards 3.17 Makefile):

Open VC++. Don't need to load any files there - or do it if you want - it doesn't matter.
Select Tools ->Visual Studio Command Prompt from the menu.
Navigate to the folder where your source files and your Makefile are (cd ..... ).
Type:
nmake /f Makefile Final_Release

Substitute /f Makefile with /f [your makefile name] if your makefile is called something else than Makefile.
 
I tried it and it did not work. I'll try to re-install everything a little later.
 
Was the error message the same ?
 
If I will not be able to compile the dll, could I ask someone else do do it and post it. I can provide all the files that have to be replaced.
 
If someone has time, can they please help me.

Download the RFC dll here.
Then compile it the way that I could not. Then, find CvRhyes.h and replace it with the text in the first document. Then, find CvRhyes.cpp and replace the beginning text with the one in the document, until you see 'Settlermaps'. Then, Find 'Rome' and copy everything until the next civ starts. Then, In between the Maya and Vikings, write '//Byzantium' (no quotes) and paste the 'Roman' settlermap there. Close and save. Then upload it here. Byzantines for RFC mod.

This would be a great help for the mod.
 

Attachments

Well I couldn't get it to work either but then I used Refar's PDF Tutorial but when it said to select all the files by pressing CTRL-A I did but then unselected the CvGameCoreDLL.vcproj (the compiler created this one), CvGameCoreDLL.ncb, and CvGameCoreDLL.sln (unselect by clicking with the left mouse button while pressing CTRL, and I got the SLN and NCB file type ideas from Chazcon's post). I'm using VC++ 2008.

Oh, and I finally made my first WORKING SDK (it has 50 civs :lol:)!!!!
 
I just tried it several times again, and unfortunately it still does not work for me (same tutorial).:(:cry:

Maybe Zebra 9 could help?
 
What makefile are you using there ? Because neither my nor Jean Elcards 3.17 makefiles have the CvRhyes files in it. You (and whoeever else is going to compile that) will need a modified Makefile to take the additional files into account (Did Rhyes files came with a 3.17 makefile ? Otherwise you will have to add the new files targets there your self).

This is however most likely not the cause of your current trouble, as right now your compiler bails out before even reading the Makefile (the "file Final_Release not found error message").
 
I'll try to make a modified Makefile for RFC so someone can help me modify some of the files.
 
If there is a Makefile in Rhyes release, you probably do not need to modify tourself.
 
There is none, so I'll ask rhye, he probably has one.
 
I've been getting back into Civ4 (Warlords) a little bit, nice job on the PDF Refar, one question - I'm using VS2008 (and I'd like to keep using it) - any luck with getting debugging working for VS2008? Or should that be my next project?

I'll have to port my ChazMod for Warlords over to BtS and get it posted, looks like some parts of it are now included in BtS. I REALLY need to get up to speed playing BtS.
 
I do not really see any reason why it shouldn't work on 2008 - the compiler used is the same 2003 Toolkit in any case, so it should compile a debug dll, no matter whar ide you are using. And once you succed in compiling it with the Debugging information built in, you should be able to debug...
But it's just theory of course, which i can't try out - i only have VS 2005.
 
Ahhh, I never realized you needed a new makefile to compile Rhye's code. Unfortunantly Rhye is currently in Japan and unavailiable so I guess you guys'll have to make your own one or wait until September rolls around.
 
I do not really see any reason why it shouldn't work on 2008 - the compiler used is the same 2003 Toolkit in any case, so it should compile a debug dll, no matter whar ide you are using. And once you succed in compiling it with the Debugging information built in, you should be able to debug...
But it's just theory of course, which i can't try out - i only have VS 2005.

Yep I'm thinking the same thing, currently working on it and will report back here.
 
Yep I'm thinking the same thing, currently working on it and will report back here.

That'd be great Chazcon. Refar and Jean Elcard have helped a lot on this forum but debugging on VC2008 is still a bit of a mystery. I agree that you'd think that it should work....The operating system might be a contributing factor as well regarding permissions under Vista for example.

Good luck and don't drive yourself mad like I did trying to get debugging happening. I've had to let go of it and concentrate on compiling only.

Cheers.
 
Back
Top Bottom