• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling libraries to compile tfs with vcpkg problem

Diarreamental

Well-Known Member
Joined
Jul 6, 2015
Messages
453
Solutions
1
Reaction score
80
hello otland
i know that this has been asked many times but i has been stuck on this for many hours so i came here to search something related but i didn find the solution.

i have problem installing the nessesaries libraries to compile tfs with vcpkg + msvc 2017
everything goes okey till i use the command to install the libs

here is my console powershell windows
Code:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\diarreamental> cd vcpkg
PS C:\Users\diarreamental\vcpkg> .\bootstrap-vcpkg.bat

Building vcpkg.exe ...

  pch.cpp
  archives.cpp
  checks.cpp
  chrono.cpp
  cofffilereader.cpp
  downloads.cpp
  enums.cpp
  files.cpp
  hash.cpp
  machinetype.cpp
  strings.cpp
  stringview.cpp
  system.cpp
  system.print.cpp
  binaryparagraph.cpp
  build.cpp
  commands.autocomplete.cpp
  commands.buildexternal.cpp
  commands.cache.cpp
  commands.ci.cpp
  commands.contact.cpp
  commands.cpp
  commands.create.cpp
  commands.dependinfo.cpp
  commands.edit.cpp
  commands.env.cpp
  commands.exportifw.cpp
  commands.import.cpp
  commands.integrate.cpp
  commands.list.cpp
  commands.owns.cpp
  commands.porthistory.cpp
  commands.portsdiff.cpp
  commands.search.cpp
  commands.upgrade.cpp
  commands.version.cpp
  commands.xvsinstances.cpp
  dependencies.cpp
  export.cpp
  export.chocolatey.cpp
  globalstate.cpp
  help.cpp
  input.cpp
  install.cpp
  logicexpression.cpp
  metrics.cpp
  packagespec.cpp
  packagespecparseresult.cpp
  paragraphparseresult.cpp
  paragraphs.cpp
  parse.cpp
  postbuildlint.buildtype.cpp
  postbuildlint.cpp
  remove.cpp
  sourceparagraph.cpp
  statusparagraph.cpp
  statusparagraphs.cpp
  tools.cpp
  triplet.cpp
  update.cpp
  userconfig.cpp
  vcpkgcmdarguments.cpp
  vcpkglib.cpp
  vcpkgpaths.cpp
  versiont.cpp
  visualstudio.cpp
  vcpkglib.vcxproj -> C:\Users\diarreamental\vcpkg\toolsrc\msbuild.x86.release\vcpkglib.lib
  vcpkg.cpp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 16089 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  vcpkg.vcxproj -> C:\Users\diarreamental\vcpkg\toolsrc\msbuild.x86.release\vcpkg.exe
  vcpkgmetricsuploader.cpp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 5390 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  vcpkgmetricsuploader.vcxproj -> C:\Users\diarreamental\vcpkg\toolsrc\msbuild.x86.release\vcpkgmetricsuploader.exe

Building vcpkg.exe... done.

Telemetry
---------
vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running bootstrap-vcpkg.bat with -disableMetrics.
Read more about vcpkg telemetry at docs/about/privacy.md

PS C:\Users\diarreamental\vcpkg> .\bootstrap-vcpkg.ba
.\bootstrap-vcpkg.ba : The term '.\bootstrap-vcpkg.ba' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ .\bootstrap-vcpkg.ba
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\bootstrap-vcpkg.ba:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\diarreamental\vcpkg> .\vcpkg integrate install
Applied user-wide integration for this vcpkg root.

All MSBuild C++ projects can now #include any installed libraries.
Linking will be handled automatically.
Installing new libraries will make them instantly available.

CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=C:/Users/diarreamental/vcpkg/scripts/buildsystems/vcpkg.cmake"
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost
-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows p
ugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boos ...
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg> install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-files
ystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows pugixml
:x64-windows mpir:x64-windows cryptopp:x64-windows
install : The term 'install' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ install boost-iostreams:x64-windows boost-asio:x64-windows boost-syst ...
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (install:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\diarreamental\vcpkg> .\vcpkg install sdl2 curl
The following packages will be built and installed:
    curl[core,ssl,winssl]:x86-windows
    sdl2[core]:x86-windows
  * zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: sdl2:x86-windows
Building package sdl2[core]:x86-windows...
A suitable version of cmake was not found (required v3.14.0). Downloading portable cmake v3.14.0...
Downloading cmake...
  https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-win32-x86.zip -> C:\Users\diarreamental\vcpkg\downloads\cmake-3.14.0-win32-x86.zip
Extracting cmake...
A suitable version of 7zip was not found (required v18.1.0). Downloading portable 7zip v18.1.0...
Downloading 7zip...
  https://www.nuget.org/api/v2/package/7-Zip.CommandLine/18.1.0 -> C:\Users\diarreamental\vcpkg\downloads\7-zip.commandline.18.1.0.nupkg
Extracting 7zip...
A suitable version of nuget was not found (required v4.6.2). Downloading portable nuget v4.6.2...
Downloading nuget...
  https://dist.nuget.org/win-x86-commandline/v4.6.2/nuget.exe -> C:\Users\diarreamental\vcpkg\downloads\nuget.exe
A suitable version of powershell-core was not found (required v6.2.1). Downloading portable powershell-core v6.2.1...
Downloading powershell-core...
  https://github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-6.2.1-win-x86.zip -> C:\Users\diarreamental\vcpkg\downloads\PowerShell-6.2.1-win-x86.zip
Extracting powershell-core...
Warning: The following VS instances are excluded because the English language pack is unavailable.
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\
Please install the English language pack.
-- Downloading https://github.com/SDL-Mirror/SDL/archive/release-2.0.10.tar.gz...
-- Extracting source C:/Users/diarreamental/vcpkg/downloads/SDL-Mirror-SDL-release-2.0.10.tar.gz
-- Applying patch export-symbols-only-in-shared-build.patch
-- Applying patch enable-winrt-cmake.patch
-- Applying patch fix-arm64-headers.patch
-- Applying patch disable-hidapi-for-uwp.patch
-- Applying patch fix-space-in-path.patch
-- Using source at C:/Users/diarreamental/vcpkg/buildtrees/sdl2/src/ase-2.0.10-c1be3add38
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip...
-- Downloading https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-win.zip... Failed. Status: 6;"Couldn't resolve host name"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):

      Failed to download file.
      If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
      variables to "https://user:password@your-proxy-ip-address:port/".
      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  scripts/cmake/vcpkg_find_acquire_program.cmake:298 (vcpkg_download_distfile)
  scripts/cmake/vcpkg_configure_cmake.cmake:152 (vcpkg_find_acquire_program)
  ports/sdl2/portfile.cmake:26 (vcpkg_configure_cmake)
  scripts/ports.cmake:94 (include)


Error: Building package sdl2:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: sdl2:x86-windows
  Vcpkg version: 2019.09.12-nohash

Additionally, attach any relevant sections from the log files above.
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost
-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows p
ugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boos ...
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg> .\vcpkg
Commands:
  vcpkg search [pat]              Search for packages available to be built
  vcpkg install <pkg>...          Install a package
  vcpkg remove <pkg>...           Uninstall a package
  vcpkg remove --outdated         Uninstall all out-of-date packages
  vcpkg list                      List installed packages
  vcpkg update                    Display list of packages for updating
  vcpkg upgrade                   Rebuild all outdated packages
  vcpkg x-history <pkg>           Shows the history of CONTROL versions of a package
  vcpkg hash <file> [alg]         Hash a file by specific algorithm, default SHA512
  vcpkg help topics               Display the list of help topics
  vcpkg help <topic>              Display help for a specific topic

  vcpkg integrate install         Make installed packages available user-wide. Requires admin privileges on first use
  vcpkg integrate remove          Remove user-wide integration
  vcpkg integrate project         Generate a referencing nuget package for individual VS project use
  vcpkg integrate powershell      Enable PowerShell tab-completion

  vcpkg export <pkg>... [opt]...  Exports a package
  vcpkg edit <pkg>                Open up a port for editing (uses %%EDITOR%%, default 'code')
  vcpkg import <pkg>              Import a pre-built library
  vcpkg create <pkg> <url>
             [archivename]        Create a new package
  vcpkg owns <pat>                Search for files in installed packages
  vcpkg depend-info <pkg>...      Display a list of dependencies for packages
  vcpkg env                       Creates a clean shell environment for development or compiling.
  vcpkg version                   Display version information
  vcpkg contact                   Display contact information to send feedback

Options:
  --triplet <t>                   Specify the target architecture triplet
                                  (default: %%VCPKG_DEFAULT_TRIPLET%%, see 'vcpkg help triplet')

  --overlay-ports=<path>          Specify directories to be used when searching for ports

  --overlay-triplets=<path>       Specify directories containing triplets files

  --vcpkg-root <path>             Specify the vcpkg root directory
                                  (default: %%VCPKG_ROOT%%)

  --x-scripts-root=<path>             (Experimental) Specify the scripts root directory

  @response_file                  Specify a response file to provide additional parameters

For more help (including examples) see the accompanying README.md.
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost
-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows p
ugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boos ...
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg> vcpkg install boost-iostreams:x64-windows
vcpkg : The term 'vcpkg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ vcpkg install boost-iostreams:x64-windows
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (vcpkg:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command vcpkg was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\vcpkg". See "get-help about_Command_Precedence" for more details.
PS C:\Users\diarreamental\vcpkg>
 
Solution
Write it like this if you are using PowerShell
Code:
.\vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows pugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
If you use GitBash or CMD then write it like this
Code:
./vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows pugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
Write it like this if you are using PowerShell
Code:
.\vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows pugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
If you use GitBash or CMD then write it like this
Code:
./vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-filesystem:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows libmariadb:x64-windows pugixml:x64-windows mpir:x64-windows cryptopp:x64-windows
 
Solution
i think i got error or something blocked with these

Code:
Elapsed time for package luajit:x64-windows: 141.5 us
Starting package 7/11: boost-variant:x64-windows
Package boost-variant:x64-windows is already installed
Elapsed time for package boost-variant:x64-windows: 162.3 us
Starting package 8/11: boost-filesystem:x64-windows
Package boost-filesystem:x64-windows is already installed
Elapsed time for package boost-filesystem:x64-windows: 948.5 us
Starting package 9/11: pugixml:x64-windows
Package pugixml:x64-windows is already installed
Elapsed time for package pugixml:x64-windows: 1.265 ms
Starting package 10/11: mpir:x64-windows
Package mpir:x64-windows is already installed
Elapsed time for package mpir:x64-windows: 1.12 ms
Starting package 11/11: cryptopp:x64-windows
Package cryptopp:x64-windows is already installed
Elapsed time for package cryptopp:x64-windows: 1.074 ms

Total elapsed time: 7.073 ms

The package pugixml:x64-windows provides CMake targets:

    find_package(pugixml CONFIG REQUIRED)
    target_link_libraries(main PRIVATE pugixml)

The package cryptopp:x64-windows provides CMake targets:

    find_package(cryptopp CONFIG REQUIRED)
    target_link_libraries(main PRIVATE cryptopp-static)

PS C:\Users\diarreamental\vcpkg>

Code:
1>------ Build started: Project: theforgottenserver, Configuration: Release x64 ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(377,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>otpch.cpp
1>actions.cpp
1>ban.cpp
1>baseevents.cpp
1>bed.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\baseevents.cpp)
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\actions.cpp)
1>behaviourdatabase.cpp
1>chat.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\chat.cpp)
1>combat.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\bed.cpp)
1>commands.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\behaviourdatabase.cpp)
1>condition.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\combat.cpp)
1>configmanager.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\configmanager.cpp)
1>connection.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\connection.cpp)
1>container.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\commands.cpp)
1>creature.cpp
1>creatureevent.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\creatureevent.cpp)
1>cylinder.cpp
1>database.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\database.cpp)
1>databasemanager.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\databasemanager.cpp)
1>databasetasks.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\condition.cpp)
1>depotlocker.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\container.cpp)
1>fileloader.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\creature.cpp)
1>game.cpp
1>globalevent.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\globalevent.cpp)
1>groups.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\depotlocker.cpp)
1>guild.cpp
1>house.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\guild.cpp)
1>housetile.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\game.cpp)
1>ioguild.cpp
1>iologindata.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\housetile.cpp)
1>iomap.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\house.cpp)
1>iomapserialize.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\iologindata.cpp)
1>item.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\iomap.cpp)
1>items.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\items.cpp)
1>luascript.cpp
1>mailbox.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\item.cpp)
1>map.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\luascript.cpp)
1>monster.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\mailbox.cpp)
1>monsters.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\iomapserialize.cpp)
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\map.cpp)
1>movement.cpp
1>networkmessage.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\monster.cpp)
1>npc.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\monsters.cpp)
1>otserv.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\movement.cpp)
1>outputmessage.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\networkmessage.cpp)
1>party.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\npc.cpp)
1>player.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\player.cpp)
1>position.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\otserv.cpp)
1>protocol.cpp
1>protocolgame.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\party.cpp)
1>protocollogin.cpp
1>raids.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\protocolgame.cpp)
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\protocollogin.cpp)
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\raids.cpp)
1>rsa.cpp
1>scheduler.cpp
1>script.cpp
1>scriptmanager.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\scriptmanager.cpp)
1>server.cpp
1>spawn.cpp
1>spells.cpp
1>protocolstatus.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\server.cpp)
1>talkaction.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\protocolstatus.cpp)
1>tasks.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\spawn.cpp)
1>teleport.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\spells.cpp)
1>thing.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\talkaction.cpp)
1>tile.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\tasks.cpp)
1>tools.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\teleport.cpp)
1>vocation.cpp
1>waitlist.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\waitlist.cpp)
1>wildcardtree.cpp
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\configmanager.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\tools.cpp)
1>c:\users\diarreamental\onedrive\escritorio\nostalrius-master\src\luascript.h(23): fatal error C1083: Cannot open include file: 'lua.hpp': No such file or directory (compiling source file ..\src\tile.cpp)
1>Done building project "theforgottenserver.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

i still cant compile tfs yet
@M0ustafa


could u help me agian please?
 
Last edited:
First one has no errors and for the second one just apply this to your source.
 
Back
Top