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
I use cmake-js to as postinstall build tool, can be run successfully on Linux and Mac, however when I run on Windows, it does not work, I try to run configure command to find out the promble:
$ cmake-js configure --verbose
info find VS using VS2022 (17.8.34408.163) found at:
info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
info find VS run with --verbose for detailed information
info TOOL Using Visual Studio 17 2022 generator.
info CMD CONFIGURE
info find VS using VS2022 (17.8.34408.163) found at:
info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
info find VS run with --verbose for detailed information
info RUN [
info RUN 'cmake',
info RUN 'E:\\dev\\xxx\\node_modules\\chatglmjs',
info RUN '--no-warn-unused-cli',
info RUN '-G',
info RUN 'Visual Studio 17 2022',
info RUN '-A',
info RUN 'x64',
info RUN '-DCMAKE_JS_VERSION=7.2.1',
info RUN '-DCMAKE_BUILD_TYPE=Release',
info RUN '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=E:\\dev\\xxx\\node_modules\\chatglmjs\\build',
info RUN '-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded$<$<CONFIG:Debug>:Debug>',
info RUN '-DCMAKE_JS_INC=C:\\Users\\xxx\\AppData\\Roaming\\npm\\node_modules\\cmake-js\\node_modules\\node-api-headers\\include;E:\\dev\\chatglmjs-server\\node_modules\\node-addon-api',
info RUN '-DCMAKE_JS_SRC=C:/Users/xxx/AppData/Roaming/npm/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc',
info RUN '-DNODE_RUNTIME=node',
info RUN '-DNODE_RUNTIMEVERSION=20.11.0',
info RUN '-DNODE_ARCH=x64',
info RUN '-DCMAKE_JS_LIB=E:\\dev\\xxx\\node_modules\\chatglmjs\\build\\node.lib',
info RUN '-DCMAKE_JS_NODELIB_DEF=E:\\dev\\xxx\\node_modules\\chatglmjs\\build\\node-lib.def',
info RUN '-DCMAKE_JS_NODELIB_TARGET=E:\\dev\\xxx\\node_modules\\chatglmjs\\build\\node.lib',
info RUN '-DCMAKE_SHARED_LINKER_FLAGS=/DELAYLOAD:NODE.EXE'
info RUN ]
Not searching for unused variables given on the command line.
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The CXX compiler identification is MSVC 19.38.33134.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at chatglm.cpp/third_party/ggml/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is MSVC 19.38.33134.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- CMAKE_SYSTEM_PROCESSOR: AMD64
[Dull here and never run down any more]
Any one can help?
The text was updated successfully, but these errors were encountered:
I use cmake-js to as postinstall build tool, can be run successfully on Linux and Mac, however when I run on Windows, it does not work, I try to run configure command to find out the promble:
Any one can help?
The text was updated successfully, but these errors were encountered: