Page 1 of 1

Compiling - MSVC 2010

Posted: Mon Nov 05, 2012 3:49 pm
by Smoke
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

Re: Compiling - MSVC 2010

Posted: Tue Nov 06, 2012 3:37 am
by Smoke
I wanted to remove the possibility that my self compiled libs were causing problems, so, I recompiled with libogg\vorbis set to use /mt rather than /mtd, and these are the results.

------------

Error 1 error U1073: don't know how to make 'tools/expack.o' C:\Users\Smoke\Desktop\exult\msvcstuff\NMAKE
Error 2 error U1073: don't know how to make 'tools/expack.o' C:\Users\....\Desktop\exult\msvcstuff\NMAKE
Error 3 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 4 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 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\exconfig\msvc_kludges.obj
Error 8 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 9 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 10 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\shp2pcx.exe
Error 11 error LNK1120: 1 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\exconfig.dll
Error 12 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Table.obj
Error 13 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\U7file.obj
Error 14 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\utils.obj
Error 15 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\wud1.obj
Error 16 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 17 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Flat.obj
Error 18 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\Flex.obj
Error 19 error LNK2001: unresolved external symbol "public: __thiscall Usecode_value::~Usecode_value(void)" (??1Usecode_value@@QAE@XZ) C:\Users\....\Desktop\exult\msvcstuff\IFF.obj
Error 20 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\....\Desktop\exult\msvcstuff\LIBCMT.lib(crt0.obj)
Error 21 error LNK1120: 2 unresolved externals C:\Users\....\Desktop\exult\msvcstuff\Release\wud.exe
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
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 44 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\shapeid.cc 30
Error 50 error C1083: Cannot open include file: 'data/exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\audio\Midi.cc 48
Error 56 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\AudioOptions_gump.cc 32
Error 57 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\MiscOptions_gump.cc 34
Error 58 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Face_stats.cc 28
Error 59 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Gamemenu_gump.cc 37
Error 60 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\GameplayOptions_gump.cc 34
Error 61 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Newfile_gump.cc 28
Error 64 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Notebook_gump.cc 25
Error 65 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\Stats_gump.cc 29
Error 66 error C1083: Cannot open include file: 'exult_flx.h': No such file or directory C:\Users\....\Desktop\exult\gumps\VideoOptions_gump.cc 34
Error 72 error C2039: 'toupper' : is not a member of 'std' C:\Users\....\Desktop\exult\shapes\font.cc 34
Error 73 error C2873: 'toupper' : symbol cannot be used in a using-declaration C:\Users\....\Desktop\exult\shapes\font.cc 34
Error 74 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 80 error C1083: Cannot open include file: 'data/exult_bg_flx.h': No such file or directory C:\Users\....\Desktop\exult\usecode\conversation.cc 31

Re: Compiling - MSVC 2010

Posted: Tue Nov 06, 2012 4:54 pm
by Smoke
I've decided to 'port' Exult into my own custom game engine. (XP\Vista\Win7\VS10+\DirectX 9)

I'm basically rewriting it from scratch. (I've already gotten a lot of stuff rewritten, just finished writing a new Flex file parser.)

---

Ultima VII Data File (C) 1992 Origin Inc.

FFFF1A00
2560
CC

carpet
sidewalk

lightning
grass
cavefloor
arrow

---

I've been wanting to make a new RPG using my game engine for awhile, so this works out perfectly. :D

Anyways, problem solved. ;)

Re: Compiling - MSVC 2010

Posted: Tue Nov 06, 2012 7:52 pm
by Malignant Manor
I don't think we have an active Windows developer that uses MSVC.

Re: Compiling - MSVC 2010

Posted: Wed Nov 07, 2012 12:24 am
by Smoke
Yeah, it seems that way, I think the last supported version was VC6. (MSVC 2010 = VC10)

Anyways, I've already started making a new Exult engine using C#\SlimDX.

I've made a LOT of rapid progress, and added tons of features they've wanted to add themselves, and more.

For example, I've implemented a plugin system using the .Net framework.

1. You'll be able to write game scripts via a .Net plugin. (UseCode)
2. You'll have FULL access to my game engines functionality. (Rendering, etc,.)

The best part, is that you get the full power of the .Net framework. (I'm writing the game using it, if that gives you an idea of how powerful the plugin API will be.)

1. You can use ANY .Net language to create plugins. (VB.Net\C#\Etc,.)
2. You write plugins via the Visual Studio IDE. (intellisense, syntax highlighting, an excellent compiler, etc,.)

That's just one feature, I have a LOT more. :D

I'll make a topic for it soon.

Re: Compiling - MSVC 2010

Posted: Wed Nov 07, 2012 5:17 pm
by marzo
I am sorry; you must have not understood what Exult is and what this forum is about.

Exult is a new game engine for Ultima VII parts I and II. Saying you are writing a new engine for Exult shows a deep lack of understanding of this fact: what you are doing is a new engine for Ultima VII. Depending on what you do, it will be more or less compatible with Exult. If you are porting Exult into a new language and framework, you are not doing a new engine, you are porting it.

And I am sorry if it rubs you wrong, but I have to say it: this statement:
The best part, is that you get the full power of the .Net framework. (I'm writing the game using it, if that gives you an idea of how powerful the plugin API will be.)
makes you sound like a n00b: the power of a plugin API does not depend on what programming language or framework is being used, it depends on the effort (and willingness) put in by the developers of said API into making it powerful. Moreover, it is very easy to lock yourself into a single platform (Windows) with .NET framework -- and your design decisions (SlimDX) already led you down that path. This goes against the very heart of Exult, which is to make Ultima VII accessible to all again.

Finally, this forum is mostly for support towards Exult, with the caveats that Ultima-related topics are generally acceptable, and some announcements by longstanding contributors also being acceptable, but off-topic. This is not an advertisement platform for you or your pet projects.

Please do not bother us with a half-baked engine until it actually works. And is cross-platform (many of us don't use Windows). And is licensed under the GPL, if you base your code on ours (which I don't think is going to be possible due to your use of SlimDX).

Since the problem is also no longer an issue for you (as you seem to have given up on it), I will also be locking this thread.