• 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!

OTClient MSB3073 Error while compiling otclient mehah

3alola1

I don't have time
Joined
Sep 2, 2010
Messages
768
Solutions
7
Reaction score
331
Location
Darashia
I followed this installation guide but there is error while compiling it in my visual studio 2022 community


C++:
Severity    Code    Description    Project    File    Line    Suppression State    Details
Error    MSB3073    The command ""C:\vcpkg\vcpkg.exe" install  --x-wait-for-lock --triplet "x64-windows" --vcpkg-root "C:\vcpkg\\" "--x-manifest-root=C:\Users\aly_r\Desktop\mehana\otclient-main\\" "--x-install-root=vcpkg_installed\\" " exited with code 1.    otclient    C:\vcpkg\scripts\buildsystems\msbuild\vcpkg.targets    183


Also getting this error when installing using this command with gitbash

Code:
./vcpkg install boost-iostreams:x64-windows boost-asio:x64-windows boost-system:x64-windows boost-variant:x64-windows boost-lockfree:x64-windows luajit:x64-windows glew:x64-windows boost-filesystem:x64-windows boost-uuid:x64-windows physfs:x64-windows openal-soft:x64-windows libogg:x64-windows libvorbis:x64-windows zlib:x64-windows opengl:x64-windows openssl:x64-windows liblzma:x64-windows nlohmann-json:x64-windows protobuf:x64-windows

1736338675815.webp


and when I try to update...

1736338804157.webp
 
Last edited:
Solution
I tried everything I can used ./vcpkg integrate remove and integrated it again still
In otclient.txt it says:
Code:
  CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
      Command failed: "D:/BiG WoRks/MSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=OFF
      Working Directory: C:/vcpkg/buildtrees/openssl/x64-windows-static-dbg
      See logs for more information:
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-out.log
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-err.log
Post what is in these files. Maybe there is some more information.

I renamed vcpkg to...
I followed this installation guide but there is error while compiling it in my visual studio 2022 community
It's outdated tutorial.
Use official: Compiling on Windows (Visual Studio Solution) (https://github.com/mehah/otclient/wiki/Compiling-on-Windows-(Visual-Studio-Solution))
You don't run vcpkg install boost.... anymore. VS2022 will run it with vcpkg version required by Mehah, when you try to compile it for first time.

Also your screen shots show end of error message. Detailed error message is somewhere above in console. So, if you still have problem with vcpkg using official tutorial, right click in console 'Select all' and post it as text file.
 
It's outdated tutorial.
Use official: Compiling on Windows (Visual Studio Solution) (https://github.com/mehah/otclient/wiki/Compiling-on-Windows-(Visual-Studio-Solution))
You don't run vcpkg install boost.... anymore. VS2022 will run it with vcpkg version required by Mehah, when you try to compile it for first time.

Also your screen shots show end of error message. Detailed error message is somewhere above in console. So, if you still have problem with vcpkg using official tutorial, right click in console 'Select all' and post it as text file.
I will try it now and will tell you how it goes
Thank you :)
Post automatically merged:

It's outdated tutorial.
Use official: Compiling on Windows (Visual Studio Solution) (https://github.com/mehah/otclient/wiki/Compiling-on-Windows-(Visual-Studio-Solution))
You don't run vcpkg install boost.... anymore. VS2022 will run it with vcpkg version required by Mehah, when you try to compile it for first time.

Also your screen shots show end of error message. Detailed error message is somewhere above in console. So, if you still have problem with vcpkg using official tutorial, right click in console 'Select all' and post it as text file.
It took alot of time while installing libaries in visuall community 22 but still got the same error

LUA:
The command ""C:\vcpkg\vcpkg.exe" install  --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "C:\vcpkg\\" "--x-manifest-root=C:\Users\aly_r\Desktop\mehana\otclient-main\\" "--x-install-root=vcpkg_installed\\" " exited with code 1.

And this is the txt file that I found inside the release directx folder

And it got the same error about installing the latest release port even tho when i git pull my vcpkg folder it is telling that it is in its latest version
Post automatically merged:

It's outdated tutorial.
Use official: Compiling on Windows (Visual Studio Solution) (https://github.com/mehah/otclient/wiki/Compiling-on-Windows-(Visual-Studio-Solution))
You don't run vcpkg install boost.... anymore. VS2022 will run it with vcpkg version required by Mehah, when you try to compile it for first time.

Also your screen shots show end of error message. Detailed error message is somewhere above in console. So, if you still have problem with vcpkg using official tutorial, right click in console 'Select all' and post it as text file.
Before doing this I used an old vcpkg for compiling tfs 1.5 engine maybe is that the reason why it still reads an old port? even tho I deleted that vpkg folder how it stills read that im using an old version?
 

Attachments

Last edited:
Before doing this I used an old vcpkg for compiling tfs 1.5 engine maybe is that the reason why it still reads an old port? even tho I deleted that vpkg folder how it stills read that im using an old version?
vcpkg for OTC should be newest clone of vcpkg git checked out at master branch. VS2022 will pick right commit and install it for OTC into vcpkg_installed subdirectory of OTC.

If you followed this step of Mehah VS vcpkg tutorial:
Code:
Execute the following command in [I]Powershell[/I] with Administrator permission to set vcpkg environment variable:

[System.Environment]::SetEnvironmentVariable('VCPKG_ROOT','C:\vcpkg', [System.EnvironmentVariableTarget]::Machine)
It will overwrite configuration generated by .\vcpkg integrate install.
I had this problem once. I had to search for Windows 'variables' and delete VCPKG_ROOT value from them.
Maybe your TFS 1.5 tutorial had similar step.
After you remove it, VS will use vcpkg folder in which you last time used .\vcpkg integrate install (Administrator access not needed).
 
vcpkg for OTC should be newest clone of vcpkg git checked out at master branch. VS2022 will pick right commit and install it for OTC into vcpkg_installed subdirectory of OTC.

If you followed this step of Mehah VS vcpkg tutorial:
Code:
Execute the following command in [I]Powershell[/I] with Administrator permission to set vcpkg environment variable:

[System.Environment]::SetEnvironmentVariable('VCPKG_ROOT','C:\vcpkg', [System.EnvironmentVariableTarget]::Machine)
It will overwrite configuration generated by .\vcpkg integrate install.
I had this problem once. I had to search for Windows 'variables' and delete VCPKG_ROOT value from them.
Maybe your TFS 1.5 tutorial had similar step.
After you remove it, VS will use vcpkg folder in which you last time used .\vcpkg integrate install (Administrator access not needed).
I tried everything I can used ./vcpkg integrate remove and integrated it again still
Used the powershell as adminstrator and put that command but still it is telling me this error

even deleted the roam/local/vcpkg archive folder incase it does read from it somehow
The command ""C:\vcpkg\vcpkg.exe" install --x-wait-for-lock --triplet "x64-windows-static" --vcpkg-root "C:\vcpkg\\" "--x-manifest-root=C:\Users\aly_r\Desktop\mehana\otclient-main\\" "--x-install-root=vcpkg_installed\\" " exited with code 1
 
I tried everything I can used ./vcpkg integrate remove and integrated it again still
In otclient.txt it says:
Code:
  CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
      Command failed: "D:/BiG WoRks/MSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=OFF
      Working Directory: C:/vcpkg/buildtrees/openssl/x64-windows-static-dbg
      See logs for more information:
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-out.log
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-err.log
Post what is in these files. Maybe there is some more information.

I renamed vcpkg to vcpkg2 in C:\Users\JS\AppData\Local to remove all caches.
Downloaded clean VCPKG from GitHub to new folder.
Then ran again ./bootstrap-vcpkg.sh, checked out commit b322364f06308bdd24823f9d8f03fe0cc86fd46f ( as Mehah VS2022 does: otclient/vcpkg.json at main · mehah/otclient (https://github.com/mehah/otclient/blob/main/vcpkg.json#L39C23-L39C63) ) and ran ./vcpkg.exe install openssl:x64-windows-static - it worked.

I also installed vcpkg again and compiled Mehah in debug mode without errors.
 
Last edited:
Solution
In otclient.txt it says:
Code:
  CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
      Command failed: "D:/BiG WoRks/MSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=OFF
      Working Directory: C:/vcpkg/buildtrees/openssl/x64-windows-static-dbg
      See logs for more information:
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-out.log
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-err.log
Post what is in these files. Maybe there is some more information.

I renamed vcpkg to vcpkg2 in C:\Users\JS\AppData\Local to remove all caches.
Downloaded clean VCPKG from GitHub to new folder.
Then ran again ./bootstrap-vcpkg.sh, checked out commit b322364f06308bdd24823f9d8f03fe0cc86fd46f ( as Mehah VS2022 does: otclient/vcpkg.json at main · mehah/otclient (https://github.com/mehah/otclient/blob/main/vcpkg.json#L39C23-L39C63) ) and ran ./vcpkg.exe install openssl:x64-windows-static - it worked.

I also installed vcpkg again and compiled Mehah in debug mode without errors.
Sadly didn't work for me Idk why. I might do it using VM ubuntu or windows and just make this vm for compiling otclient but the funniest part is that the old vcpkg is still compiling the tfs 1.5 till now even after deleteing it and downloading it later
Post automatically merged:

In otclient.txt it says:
Code:
  CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
      Command failed: "D:/BiG WoRks/MSVC/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U /F makefile install_dev install_modules INSTALL_PDBS=OFF
      Working Directory: C:/vcpkg/buildtrees/openssl/x64-windows-static-dbg
      See logs for more information:
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-out.log
        C:\vcpkg\buildtrees\openssl\install-x64-windows-static-dbg-nmake-err.log
Post what is in these files. Maybe there is some more information.

I renamed vcpkg to vcpkg2 in C:\Users\JS\AppData\Local to remove all caches.
Downloaded clean VCPKG from GitHub to new folder.
Then ran again ./bootstrap-vcpkg.sh, checked out commit b322364f06308bdd24823f9d8f03fe0cc86fd46f ( as Mehah VS2022 does: otclient/vcpkg.json at main · mehah/otclient (https://github.com/mehah/otclient/blob/main/vcpkg.json#L39C23-L39C63) ) and ran ./vcpkg.exe install openssl:x64-windows-static - it worked.

I also installed vcpkg again and compiled Mehah in debug mode without errors.
I did that in the Virtual box windows and It worked 100% my main windows got alot of errors thats why it didnt work well
 
Last edited:
Back
Top