I am trying to compile SourceMM admittedly for the first time. I have fixed errors I have found, but I wanted to see why I had the errors in the first place ( for future updates in the SVN ).
Quote:
fatal error C1083: Cannot open include file: 'metamod_version.h': No such file or directory
|
It's not in the include directory search path. It's in the "smm_main\public" directory.
The linker also crashes when I compile due to the resource.rc file. And I get this error when I edit the resource:
Quote:
error RC2104 : undefined keyword or key name: BINARY_NAME
|
The preprocessor is there
Code:
BINARY_NAME=\"$(TargetFileName)\"
If I replace the BINARY_NAME definition with any string it compiles fine.
This second one doesn't make sense to me ... it should work. I wanted to make sure about the first one.
EDIT: Ok this second one only happens on the debug build. This is due to incremental linking. So I'll continue to work around this for debugging purposes by excluding the .rc file from being used in the debug configs.