SlawekNowy / vsif2vcd

Utility to decompile VCD files from scenes.image file.
MIT License
11 stars 4 forks source link

Error when compiling #3

Closed SuperMario20 closed 2 years ago

SuperMario20 commented 2 years ago

I can get it to partially compile but I can't figure out what to do after vcpkg auto installs files and puts them in an "out" folder. If I click "Install VSIF2VCD" in Visual Studio then it spits out a bunch of errors. Is there another way it is supposed to compile?

SlawekNowy commented 2 years ago

What's the errors say?

SuperMario20 commented 2 years ago

Oh wait. When you said "Just supply game directory (e.g.: hl2, episodic, ep2) where gameinfo.txt is located as an executable" did you mean make a blank .exe file and name it "GAMEDIR (directory of gameinfo.txt)".exe? Also, is the compiling game specific (where the exe would be different for every game)? Because if it isn't, you could add the compiled project under the "Releases" page of this project.

SuperMario20 commented 2 years ago

What's the errors say? @SlawekNowy This is the error I get when compiling:

>------ Build started: Project: CMakeLists, Configuration:  ------
  [1/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\DebugMemory.cpp.obj
  FAILED: thirdparty/hllib/HLLib/CMakeFiles/hllib.dir/DebugMemory.cpp.obj 
  "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64\cl.exe"  /nologo /TP -DHAVE_SNPRINTF -DHLLIB_EXPORTS -Dhllib_EXPORTS  /DWIN32 /D_WINDOWS /GR /EHsc /W4 /Zi /Ob0 /Od /RTC1 -MDd /showIncludes /Fothirdparty\hllib\HLLib\CMakeFiles\hllib.dir\DebugMemory.cpp.obj /Fdthirdparty\hllib\HLLib\CMakeFiles\hllib.dir\ /FS -c C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(77): error C3861: 'strlcpy': identifier not found
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(82): warning C4302: 'type cast': truncation from 'void *' to 'unsigned long'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(104): warning C4302: 'type cast': truncation from 'void *' to 'unsigned long'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(162): warning C4302: 'type cast': truncation from 'void *' to 'unsigned long'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(162): warning C4477: 'fprintf' : format string '%-8.u' requires an argument of type 'unsigned int', but variadic argument 2 has type 'size_t'
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(162): note: consider using '%zu' in the format string
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(170): warning C4477: 'fprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'size_t'
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(170): note: consider using '%zu' in the format string
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(171): warning C4477: 'fprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'size_t'
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.cpp(171): note: consider using '%zu' in the format string
  [2/81] Building CXX object CMakeFiles\BVCD.dir\cmake_pch.cxx.obj
  [3/81] Building CXX object CMakeFiles\VSIF.dir\cmake_pch.cxx.obj
  [4/81] Building CXX object CMakeFiles\gameinfo.dir\cmake_pch.cxx.obj
  [5/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\DirectoryItem.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
  [6/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\Checksum.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
  [7/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\BSPFile.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\BSPFile.cpp(91): warning C4458: declaration of 'pRoot' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Package.h(35): note: see declaration of 'HLLib::CPackage::pRoot'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\BSPFile.cpp(269): warning C4458: declaration of 'pStream' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Package.h(30): note: see declaration of 'HLLib::CPackage::pStream'
  [8/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\Error.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.cpp(51): warning C4068: unknown pragma 'GCC'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.cpp(52): warning C4068: unknown pragma 'GCC'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.cpp(95): warning C4068: unknown pragma 'GCC'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.cpp(97): warning C4458: declaration of 'lpError' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.h(27): note: see declaration of 'HLLib::CError::lpError'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.cpp(113): warning C4458: declaration of 'lpError' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\Error.h(27): note: see declaration of 'HLLib::CError::lpError'
  [9/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\DirectoryFile.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFile.cpp(99): warning C4458: declaration of 'lpName' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(25): note: see declaration of 'HLLib::CDirectoryItem::lpName'
  [10/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\FileMapping.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\FileMapping.cpp(69): warning C4458: declaration of 'uiMode' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\FileMapping.h(32): note: see declaration of 'HLLib::Mapping::CFileMapping::uiMode'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\FileMapping.cpp(117): warning C4456: declaration of 'dwDesiredAccess' hides previous local declaration
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\FileMapping.cpp(74): note: see declaration of 'dwDesiredAccess'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\FileMapping.cpp(301): warning C4458: declaration of 'lpView' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\FileMapping.h(34): note: see declaration of 'HLLib::Mapping::CFileMapping::lpView'
  [11/81] Building CXX object thirdparty\hllib\HLLib\CMakeFiles\hllib.dir\DirectoryFolder.cpp.obj
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(43): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(52): warning C4595: 'operator delete': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'iLine': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(68): warning C4100: 'lpFile': unreferenced formal parameter
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DebugMemory.h(77): warning C4595: 'operator delete[]': non-member operator new or delete functions may not be declared inline
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(48): warning C4458: declaration of 'lpName' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(25): note: see declaration of 'HLLib::CDirectoryItem::lpName'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(48): warning C4458: declaration of 'uiID' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(26): note: see declaration of 'HLLib::CDirectoryItem::uiID'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(57): warning C4458: declaration of 'lpName' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(25): note: see declaration of 'HLLib::CDirectoryItem::lpName'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(57): warning C4458: declaration of 'uiID' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(26): note: see declaration of 'HLLib::CDirectoryItem::uiID'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(104): warning C4458: declaration of 'lpName' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(25): note: see declaration of 'HLLib::CDirectoryItem::lpName'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(109): warning C4458: declaration of 'lpName' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(25): note: see declaration of 'HLLib::CDirectoryItem::lpName'
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(397): warning C4244: 'return': conversion from 'hlInt' to 'hlBool', possible loss of data
C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryFolder.cpp(663): warning C4458: declaration of 'lpName' hides class member
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\hllib\HLLib\DirectoryItem.h(25): note: see declaration of 'HLLib::CDirectoryItem::lpName'
  [12/81] Building CXX object CMakeFiles\map_bsp.dir\src\response_system.cpp.obj
  FAILED: CMakeFiles/map_bsp.dir/src/response_system.cpp.obj 
  "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64\cl.exe"  /nologo /TP -DENABLE_TESTING -DFMT_HEADER_ONLY=1 -DFMT_LOCALE -DFMT_SHARED -DTESTING_BVCD -IC:\Users\super\Documents\GitHub\vsif2vcd\fmt::fmt-header-only -IC:\Users\super\Documents\GitHub\vsif2vcd\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\vdf_parser\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\liblzma\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\valve-bsp-parser\include -IC:\Users\super\Documents\GitHub\vsif2vcd\out\build\x64-Debug\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\valve-bsp-parser\thirdparty\liblzma\include -external:I C:\Users\super\Documents\GitHub\vsif2vcd\out\build\x64-Debug\vcpkg_installed\x64-windows\include -external:W0 /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd -std:c++17 /showIncludes /FoCMakeFiles\map_bsp.dir\src\response_system.cpp.obj /FdCMakeFiles\map_bsp.dir\ /FS -c C:\Users\super\Documents\GitHub\vsif2vcd\src\response_system.cpp
C:\Users\super\Documents\GitHub\vsif2vcd\src\response_system.cpp(158): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=std::string
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=std::string
          ]
  [13/81] Building CXX object CMakeFiles\map_bsp.dir\src\map_bsp.cpp.obj
  FAILED: CMakeFiles/map_bsp.dir/src/map_bsp.cpp.obj 
  "C:\PROGRA~1\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\bin\Hostx64\x64\cl.exe"  /nologo /TP -DENABLE_TESTING -DFMT_HEADER_ONLY=1 -DFMT_LOCALE -DFMT_SHARED -DTESTING_BVCD -IC:\Users\super\Documents\GitHub\vsif2vcd\fmt::fmt-header-only -IC:\Users\super\Documents\GitHub\vsif2vcd\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\vdf_parser\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\liblzma\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\valve-bsp-parser\include -IC:\Users\super\Documents\GitHub\vsif2vcd\out\build\x64-Debug\include -IC:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\valve-bsp-parser\thirdparty\liblzma\include -external:I C:\Users\super\Documents\GitHub\vsif2vcd\out\build\x64-Debug\vcpkg_installed\x64-windows\include -external:W0 /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MDd -std:c++17 /showIncludes /FoCMakeFiles\map_bsp.dir\src\map_bsp.cpp.obj /FdCMakeFiles\map_bsp.dir\ /FS -c C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(47): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=std::string
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=std::string
          ]
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(47): error C2660: 'rn::bsp_parser::load_map': function does not take 1 arguments
  C:\Users\super\Documents\GitHub\vsif2vcd\thirdparty\valve-bsp-parser\include\valve-bsp-parser/bsp_parser.hpp(194): note: see declaration of 'rn::bsp_parser::load_map'
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(53): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(54): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(58): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(60): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=rn::valve::entity_t
          ]
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(67): error C2039: 'base': is not a member of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=std::string
          ]
  C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\vector(459): note: see declaration of 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>'
          with
          [
              _Ty=std::string
          ]
C:\Users\super\Documents\GitHub\vsif2vcd\src\map_bsp.cpp(67): error C2672: 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::emplace': no matching overloaded function found
          with
          [
              _Kty=std::string,
              _Ty=std::vector<BSPParser::Map_Scene,std::allocator<BSPParser::Map_Scene>>,
              _Pr=std::less<std::string>,
              _Alloc=std::allocator<std::pair<const std::string,std::vector<BSPParser::Map_Scene,std::allocator<BSPParser::Map_Scene>>>>
          ]
  [14/81] Building CXX object CMakeFiles\Vsif2vcd.dir\cmake_pch.cxx.obj
  ninja: build stopped: subcommand failed.
Install succeeded.
SlawekNowy commented 2 years ago

Oh wait. When you said "Just supply game directory (e.g.: hl2, episodic, ep2) where gameinfo.txt is located as an executable" did you mean make a blank .exe file and name it "GAMEDIR (directory of gameinfo.txt)".exe? Also, is the compiling game specific (where the exe would be different for every game)? Because if it isn't, you could add the compiled project under the "Releases" page of this project.

I meant either:

SuperMario20 commented 2 years ago

Ah ok. It hasn't been working for me because compiling doesn't give an exe since it errors.

SlawekNowy commented 2 years ago

Patched the code and uploaded the release.

SuperMario20 commented 2 years ago

Thank you!