Compiling Issues

Afforess

The White Wizard
Joined
Jul 31, 2007
Messages
12,239
Location
Austin, Texas
I'm very new at this, so please be patient with me if this is a silly error.

I followed this guide on how to compile the source code correctly. The only difference between that guide is that I'm using VS 2008.

For reference, I'm using RevDCM's source code and Makefile, and I tried merging this Global Warming Mod. However, when I try to compile the source code, I get this error:

Spoiler :
Performing Makefile project actions
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1073: don't know how to make 'clean'
Stop.
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
NMAKE : fatal error U1052: file 'Final_Release' not found
Stop.
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Results Build log was saved at "file://c:\Users\Cameron\Desktop\CvGameCoreDLL\CvGameCoreDLL\Final_Release\BuildLog.htm"
CvGameCoreDLL - 3 error(s), 0 warning(s)


What exactly am I doing wrong?
 
I'm not very good at this, as I've never had a problem compiling, other then actual errors in my code (which throw completely different errors). This though:

NMAKE : fatal error U1073: don't know how to make 'clean'
Stop.
NMAKE : fatal error U1052: file 'Final_Release' not found

Leads me to believe you set up the compilation wrong. Go back and start from scratch. And when you initially set it up, try to compile a pure RevDCM build first, and then try to merge in the new source (you will need a fresh compile from scratch, because I'm sure the merge requires changes in header files), the reason to do this is just to make sure you've set up MSV 2008 properly, without any changes in code.

If I had to guess based on those errors you plugged in the wrong commands in the wrong spots, or have a simple typo. At least that's what it looks like to me.
 
When someone else was having these problems they were trying to use the built-in VS 2008 make utility. They skipped installing VC++ 2003 Toolkit hoping to get a better compiler. After installing VC++ 2003 they were getting the error about Final_Release not existing, and IIRC it was a permissions thing, but I'm not 100% positive.

I suggest trying the make commands at the command-line. You need to make sure the bin folder of VC++ 2003 is on your path. Then issue "nmake Final_Release" in the folder where the makefile is.
 
Back
Top Bottom