You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- The C compiler identification is MSVC 19.43.34808.0
-- The CXX compiler identification is MSVC 19.43.34808.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: C:/Users/Andrei/miniforge3/envs/lp/Library/lib/z.lib (found version "1.3.1")
-- Found LLVM 11.1.0
-- Using LLVMConfig.cmake in: C:/Users/Andrei/miniforge3/envs/lp/Library/lib/cmake/llvm
-- ZLIB LIBRARY PATH: C:/Users/Andrei/miniforge3/envs/lp/Library/lib
Configuration results
LPYTHON_VERSION:
CPACK_PACKAGE_FILE_NAME: lpython--Windows
C compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe
C++ compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe
Build type: Release
C compiler flags : /MD /O2 /Ob2 /DNDEBUG
C++ compiler flags : /MD /O2 /Ob2 /DNDEBUG
Installation prefix: E:/My_Projects/lpython/lpython/inst
WITH_LFORTRAN_ASSERT: no
LPYTHON_STATIC_BIN: no
LPYTHON_BUILD_TO_WASM: no
WITH_STACKTRACE: no
WITH_RUNTIME_STACKTRACE:
WITH_UNWIND: no
WITH_BFD: no
WITH_DWARFDUMP: no
WITH_LINKH: no
WITH_MACHO: no
HAVE_LFORTRAN_DEMANGLE: no
WITH_LLVM: yes
WITH_XEUS: no
WITH_JSON: no
WITH_LSP: no
WITH_FMT: no
WITH_LFORTRAN_BINARY_MODFILES: YES
WITH_RUNTIME_LIBRARY: YES
WITH_WHEREAMI: yes
WITH_ZLIB: yes
WITH_TARGET_AARCH64: no
WITH_TARGET_X86: yes
-- Configuring incomplete, errors occurred!
(lp) E:\My_Projects\lpython\lpython>cmake --build . --config Release -j8 --target install
ninja: error: loading 'build.ninja': The system cannot find the file specified.
Activity
AndreiKeino commentedon Oct 28, 2025
Complete output:
(lp) E:\My_Projects\lpython\lpython>call build1.bat
(lp) E:\My_Projects\lpython\lpython>cmake -DCMAKE_BUILD_TYPE=Release -DWITH_LLVM=yes -DLPYTHON_BUILD_ALL=yes -DWITH_STACKTRACE=no -DCMAKE_PREFIX_PATH="C:\Users\Andrei\miniforge3\envs\lp" -DCMAKE_INSTALL_PREFIX=E:\My_Projects\lpython\lpython/inst . -G "Ninja"
CMake Error at CMakeLists.txt:10 (file):
file STRINGS file "E:/My_Projects/lpython/lpython/lp_version" cannot be
read.
-- The C compiler identification is MSVC 19.43.34808.0
-- The CXX compiler identification is MSVC 19.43.34808.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: C:/Users/Andrei/miniforge3/envs/lp/Library/lib/z.lib (found version "1.3.1")
-- Found LLVM 11.1.0
-- Using LLVMConfig.cmake in: C:/Users/Andrei/miniforge3/envs/lp/Library/lib/cmake/llvm
-- ZLIB LIBRARY PATH: C:/Users/Andrei/miniforge3/envs/lp/Library/lib
Configuration results
LPYTHON_VERSION:
CPACK_PACKAGE_FILE_NAME: lpython--Windows
C compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe
C++ compiler : C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.43.34808/bin/Hostx64/x64/cl.exe
Build type: Release
C compiler flags : /MD /O2 /Ob2 /DNDEBUG
C++ compiler flags : /MD /O2 /Ob2 /DNDEBUG
Installation prefix: E:/My_Projects/lpython/lpython/inst
WITH_LFORTRAN_ASSERT: no
LPYTHON_STATIC_BIN: no
LPYTHON_BUILD_TO_WASM: no
WITH_STACKTRACE: no
WITH_RUNTIME_STACKTRACE:
WITH_UNWIND: no
WITH_BFD: no
WITH_DWARFDUMP: no
WITH_LINKH: no
WITH_MACHO: no
HAVE_LFORTRAN_DEMANGLE: no
WITH_LLVM: yes
WITH_XEUS: no
WITH_JSON: no
WITH_LSP: no
WITH_FMT: no
WITH_LFORTRAN_BINARY_MODFILES: YES
WITH_RUNTIME_LIBRARY: YES
WITH_WHEREAMI: yes
WITH_ZLIB: yes
WITH_TARGET_AARCH64: no
WITH_TARGET_X86: yes
-- Configuring incomplete, errors occurred!
(lp) E:\My_Projects\lpython\lpython>cmake --build . --config Release -j8 --target install
ninja: error: loading 'build.ninja': The system cannot find the file specified.