OTAcademy / otclientv8

Mirror of official OTClientV8
https://discord.gg/otacademy
27 stars 32 forks source link

Compilling in Windows not working (luajit installation is failing) #12

Closed chavoz closed 11 months ago

chavoz commented 11 months ago

Trying to compile in Windows. I'm using vkpg with commit 3b3bd424827a1f7f4813216f6b32b6c61e386b2e, as the tutorial says.

When trying to install this library: .\vcpkg install luajit:x86-windows-static

It fails.

-- Using cached LuaJIT-LuaJIT-v2.0.5.tar.gz. -- Cleaning sources at C:/vcpkg/buildtrees/luajit/src/v2.0.5-045e1daa09.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/vcpkg/downloads/LuaJIT-LuaJIT-v2.0.5.tar.gz -- Applying patch 001-fix-build-path.patch -- Applying patch 002-fix-crt-linkage.patch -- Using source at C:/vcpkg/buildtrees/luajit/src/v2.0.5-045e1daa09.clean -- Building x86-windows-static-dbg CMake Error at ports/luajit/portfile.cmake:30 (file): file INSTALL cannot find "C:/vcpkg/buildtrees/luajit/x86-windows-static-dbg/luajit.exe": File exists. Call Stack (most recent call first): scripts/ports.cmake:145 (include)

Please update the solution. The tutorial seems outdated. Thanks

chavoz commented 11 months ago

Fixed my antivirus was blocking this path: C:\vcpkg\buildtrees\luajit\x86-windows-static-dbg\minilua.exe

Allow the path. Delete the folder "C:\vcpkg\buildtrees\luajit". Restart the computer. Try again