-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Hi,
I tried to make a build for Windows following the instructions, and after solving the issue #1, in the building step, I am getting the following error:
...
[599/629] Building CXX object CMakeFiles\editor_client.dir\src\editor\c_xmlproc_skylistitems.cpp.obj
[600/629] Building CXX object CMakeFiles\K2_ModelViewer.dir\src\shell\misc_cmds.cpp.obj
[601/629] Building CXX object CMakeFiles\bet_client.dir\src\bet_client\c_gameclient.cpp.obj
[602/629] Building CXX object CMakeFiles\K2_ModelViewer.dir\src\shell\main_win32.cpp.obj
[603/629] Linking CXX shared library game_shared.dll
[604/629] Linking CXX shared library hon_shared.dll
FAILED: hon_shared.dll hon_shared.lib
cmd.exe /C "cd . && "C:\Program Files\JetBrains\CLion 2023.1.4\bin\cmake\win\x64\bin\cmake.exe" -E vs_link_dll --intdir=CMakeFiles\hon_shared.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x86\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x86\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\hon_shared.rsp /out:hon_shared.dll /implib:hon_shared.lib /pdb:hon_shared.pdb /dll /version:0.0 /machine:X86 /debug /INCREMENTAL && cmd.exe /C "cd /D C:\Users\aciborro\Projects\noh\cmake-build-release && "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/Users/aciborro/.clion-vcpkg/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary C:/Users/aciborro/Projects/noh/cmake-build-release/hon_shared.dll -installedDir C:/Users/aciborro/Projects/noh/cmake-build-release/vcpkg_installed/x86-windows/bin -OutVariable out && cd /D C:\Users\aciborro\Projects\noh\cmake-build-release && "C:\Program Files\JetBrains\CLion 2023.1.4\bin\cmake\win\x64\bin\cmake.exe" -E copy C:/Users/aciborro/Projects/noh/cmake-build-release/hon_shared.dll "C:/Users/aciborro/Projects/noh/Heroes of Newerth/hon_shared.dll" && cd /D C:\Users\aciborro\Projects\noh\cmake-build-release && "C:\Program Files\JetBrains\CLion 2023.1.4\bin\cmake\win\x64\bin\cmake.exe" -E copy C:/Users/aciborro/Projects/noh/cmake-build-release/hon_shared.dll C:/Users/aciborro/Projects/noh/Beatopia/hon_shared.dll""
LINK Pass 1: command "C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1436~1.325\bin\Hostx86\x86\link.exe /nologo @CMakeFiles\hon_shared.rsp /out:hon_shared.dll /implib:hon_shared.lib /pdb:hon_shared.pdb /dll /version:0.0 /machine:X86 /debug /INCREMENTAL /MANIFEST /MANIFESTFILE:CMakeFiles\hon_shared.dir/intermediate.manifest CMakeFiles\hon_shared.dir/manifest.res" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cannot open file 'game_shared.lib'
Windows 11
CLion 2023.1.4 (Build #CL-231.9161.40, built on June 20, 2023)
Visual Studio 2022 Community Version 17.0
Architecture: x86
Version: 8.1 or Windows 10 SDK
CMake (Bundled): 3.25.2
Build Tool: ninja.exe
C Compiler: cl.exe
C++ Compiler: cl.exe
Debbuger (Bundled): LLDB 9.0
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels