UOX3 Windows Building
Posted: Fri Aug 21, 2020 3:18 am
Since I did so well on linux, I thought I would try Windows:
This is from develop branch so maybe I got it while something is in progress so I will try again with master. (last time I compiled on windows was like VB6)
I think I broke GitHub Desktop though, I switched to master (leave my changes) and then try to switch back to develop and it doesn't
and then!Option A) Visual Studio 2017 (v15.9.22+)[\quote]
MS Visual Studio Community 2017 v 15.9.26 was the version I could download for 2017.
1) Execute Vcvarsall.bat x86 -vcvars_ver=14.0 from a command prompt in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\VC\Auxiliary\Build" folder to enable the nmake command[\quote]
The batch file errors "VC++ 14.0 Toolset Installation was not found" so a bit of Googlefu revealed I could add this as an individual component with the installer, it calls it: "VC++ 2015.3 v14.00 (v140) toolset for desktop" Batch worked after that.
3)- 9) can now copy the new UOX3.exe file to the root folder of your actual UOX3 project (not the git repository) and run it!
Code: Select all
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "class std::tuple<char *,unsigned __int64> __cdecl UOP::mapUOP(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (?mapUOP@UOP@@YA?AV?$tuple@PAD_K@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@H@Z) referenced in function "public: __thiscall UOX::UOXFile::UOXFile(char const * const,char const * const)" (??0UOXFile@UOX@@QAE@QBD0@Z) UOX3_Official C:\uox3\source\fileio.obj 1
I think I broke GitHub Desktop though, I switched to master (leave my changes) and then try to switch back to develop and it doesn't