Compiling - MSVC 2010
Posted: Mon Nov 05, 2012 3:49 pm
This project won't compile using this IDE.
I've tried both VC++ related .sln files, one fails to update to a valid VC10 project, the one that does update "msvcstuff" still refuses to compile properly.
The first error is:
#elif (_MSC_VER == 1300 || _MSC_VER == 1400)
#else
#error Unknown Version of MSVC being used. Edit "msvc_include.h" and add your version
#endif
There is no "msvc_include.h" it does not exist.
I solved that by simply removing that #else block entirely.
Then we have this little issue, which will cause tons of problems.
error U1073: don't know how to make 'tools/expack.o' C:\Users\.....\Desktop\exult\msvcstuff\NMAKE
There are tons of other errors, but, most seem to come from expack.exe not working properly.
One set of errors might be caused by me building libogg\vorbis myself, I know that sometimes if you don't set "Runtime Library" flag correctly you get libcmt.lib errors as seen in my error list. (So, I may need to build those again, with different options set, then again, it could be unrelated.)
Anyways, I just thought that you should know that this thing isn't building under VC10. (6 build - 9 fail - 45 errors - After my changes.)
---------------
Error 1 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 2 error MSB3073: The command "nmake /f Makefile.data OutDir="C:\Users\....\Desktop\exult\msvcstuff\Release\" build_ex /NOLOGO" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
Error 3 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 4 error MSB3073: The command "nmake /f Makefile.data OutDir="C:\Users\....\Desktop\exult\msvcstuff\Release\" build_si /NOLOGO" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
Error 5 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 6 error MSB3073: The command "
nmake /f Makefile.data OutDir="C:\Users\....\Desktop\exult\msvcstuff\Release\" build_bg /NOLOGO" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
Error 7 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\shp2pcx.obj
Error 8 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 9 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Table.obj
Error 10 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\U7file.obj
Error 11 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\utils.obj
Error 12 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\wud1.obj
Error 13 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\ucsymtbl.obj
Error 14 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Flat.obj
Error 15 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Flex.obj
Error 16 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\IFF.obj
Error 17 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 18 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\wud.exe 1
Error 19 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\shp2pcx.exe 1
Error 20 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\exconfig\msvc_kludges.obj
Error 21 error LNK1120: 1 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\exconfig.dll
Error 22 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\splitshp.obj
Error 23 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 24 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\splitshp.exe 1
Error 30 error C2039: 'toupper' : is not a member of 'std' C:\Users\....\Desktop\exult\cheat_screen.cc 385
Error 36 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\exult.cc 95
Error 37 error C1083: Cannot open include file: 'data/exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\exultmenu.cc 37
Error 43 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\game.cc 35
Error 49 error C2039: 'isspace' : is not a member of 'std' C:\Users\....\Desktop\exult\keys.cc 47
Error 50 error C2873: 'isspace' : symbol cannot be used in a using-declaration C:\Users\....\Desktop\exult\keys.cc 47
Error 51 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\shapeid.cc 30
Error 57 error C1083: Cannot open include file: 'data/exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\audio\Midi.cc 48
Error 63 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\AudioOptions_gump.cc 32
Error 64 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\MiscOptions_gump.cc 34
Error 65 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Face_stats.cc 28
Error 66 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Gamemenu_gump.cc 37
Error 67 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\GameplayOptions_gump.cc 34
Error 68 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Newfile_gump.cc 28
Error 71 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Notebook_gump.cc 25
Error 72 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Stats_gump.cc 29
Error 73 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\VideoOptions_gump.cc 34
Error 79 error C2039: 'toupper' : is not a member of 'std' C:\Users\....\Desktop\exult\shapes\font.cc 34
Error 80 error C2873: 'toupper' : symbol cannot be used in a using-declaration C:\Users\....\Desktop\exult\shapes\font.cc 34
Error 81 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\shapes\shapevga.cc 45
Error 87 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\usecode\conversation.cc 31
I've tried both VC++ related .sln files, one fails to update to a valid VC10 project, the one that does update "msvcstuff" still refuses to compile properly.
The first error is:
#elif (_MSC_VER == 1300 || _MSC_VER == 1400)
#else
#error Unknown Version of MSVC being used. Edit "msvc_include.h" and add your version
#endif
There is no "msvc_include.h" it does not exist.
I solved that by simply removing that #else block entirely.
Then we have this little issue, which will cause tons of problems.
error U1073: don't know how to make 'tools/expack.o' C:\Users\.....\Desktop\exult\msvcstuff\NMAKE
There are tons of other errors, but, most seem to come from expack.exe not working properly.
One set of errors might be caused by me building libogg\vorbis myself, I know that sometimes if you don't set "Runtime Library" flag correctly you get libcmt.lib errors as seen in my error list. (So, I may need to build those again, with different options set, then again, it could be unrelated.)
Anyways, I just thought that you should know that this thing isn't building under VC10. (6 build - 9 fail - 45 errors - After my changes.)
---------------
Error 1 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 2 error MSB3073: The command "nmake /f Makefile.data OutDir="C:\Users\....\Desktop\exult\msvcstuff\Release\" build_ex /NOLOGO" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
Error 3 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 4 error MSB3073: The command "nmake /f Makefile.data OutDir="C:\Users\....\Desktop\exult\msvcstuff\Release\" build_si /NOLOGO" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
Error 5 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 6 error MSB3073: The command "
nmake /f Makefile.data OutDir="C:\Users\....\Desktop\exult\msvcstuff\Release\" build_bg /NOLOGO" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38
Error 7 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\shp2pcx.obj
Error 8 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 9 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Table.obj
Error 10 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\U7file.obj
Error 11 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\utils.obj
Error 12 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\wud1.obj
Error 13 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\ucsymtbl.obj
Error 14 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Flat.obj
Error 15 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Flex.obj
Error 16 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\IFF.obj
Error 17 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 18 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\wud.exe 1
Error 19 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\shp2pcx.exe 1
Error 20 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\exconfig\msvc_kludges.obj
Error 21 error LNK1120: 1 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\exconfig.dll
Error 22 error LNK2019: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) referenced in function "public: void * __thiscall Usecode_value::`vector deleting destructor'(unsigned int)" (??_EUsecode_value@@QAEPAXI@Z) C:\Users\....\Desktop\exult\msvcstuff\splitshp.obj
Error 23 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 24 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\splitshp.exe 1
Error 30 error C2039: 'toupper' : is not a member of 'std' C:\Users\....\Desktop\exult\cheat_screen.cc 385
Error 36 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\exult.cc 95
Error 37 error C1083: Cannot open include file: 'data/exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\exultmenu.cc 37
Error 43 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\game.cc 35
Error 49 error C2039: 'isspace' : is not a member of 'std' C:\Users\....\Desktop\exult\keys.cc 47
Error 50 error C2873: 'isspace' : symbol cannot be used in a using-declaration C:\Users\....\Desktop\exult\keys.cc 47
Error 51 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\shapeid.cc 30
Error 57 error C1083: Cannot open include file: 'data/exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\audio\Midi.cc 48
Error 63 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\AudioOptions_gump.cc 32
Error 64 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\MiscOptions_gump.cc 34
Error 65 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Face_stats.cc 28
Error 66 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Gamemenu_gump.cc 37
Error 67 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\GameplayOptions_gump.cc 34
Error 68 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Newfile_gump.cc 28
Error 71 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Notebook_gump.cc 25
Error 72 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Stats_gump.cc 29
Error 73 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\VideoOptions_gump.cc 34
Error 79 error C2039: 'toupper' : is not a member of 'std' C:\Users\....\Desktop\exult\shapes\font.cc 34
Error 80 error C2873: 'toupper' : symbol cannot be used in a using-declaration C:\Users\....\Desktop\exult\shapes\font.cc 34
Error 81 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\shapes\shapevga.cc 45
Error 87 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\usecode\conversation.cc 31