evaleev / libint

Libint: high-performance library for computing Gaussian integrals in quantum mechanics
Other
230 stars 96 forks source link

Build libint on windows failed #131

Open liye0005 opened 5 years ago

liye0005 commented 5 years ago

Dear libint developers,

I built v1 of libint using cmake on windwos10, the complier is MinGW-gcc。 But it failed with the follows error:

5:38:59: 为项目Libint执行步骤 ... 15:38:59: Persisting CMake state... 15:39:11: 正在启动 "D:\CMake\bin\cmake.exe" --build . --target all

jom: parallel job execution disabled for Makefile Scanning dependencies of target libint_compiler [ 3%] Creating directories for 'libint_compiler' [ 6%] No download step for 'libint_compiler' [ 9%] No update step for 'libint_compiler' [ 12%] No patch step for 'libint_compiler' [ 15%] Performing configure step for 'libint_compiler' loading initial cache file C:/Users/liye0/Desktop/test/build-libint-unknown-Release/src/libint_compiler-prefix/tmp/libint_compiler-cache-Release.cmake -- The C compiler identification is GNU 8.1.0 -- Check for working C compiler: D:/mingw-w64/mingw64/bin/gcc.exe -- Check for working C compiler: D:/mingw-w64/mingw64/bin/gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test standard_math_library_linked_to_automatically -- Performing Test standard_math_library_linked_to_automatically - Success -- Configuring done -- Generating done -- Build files have been written to: C:/Users/liye0/Desktop/test/build-libint-unknown-Release/src/libint_compiler-prefix/src/libint_compiler-build [ 18%] Performing build step for 'libint_compiler' jom: parallel job execution disabled for Makefile Scanning dependencies of target libint_compiler [ 12%] Building C object CMakeFiles/libint_compiler.dir/build_libint.c.obj [ 25%] Building C object CMakeFiles/libint_compiler.dir/emit_hrr_build.c.obj [ 37%] Building C object CMakeFiles/libint_compiler.dir/emit_hrr_build_macro.c.obj [ 50%] Building C object CMakeFiles/libint_compiler.dir/emit_order.c.obj [ 62%] Building C object CMakeFiles/libint_compiler.dir/emit_vrr_build.c.obj [ 75%] Building C object CMakeFiles/libint_compiler.dir/emit_vrr_build_macro.c.obj [ 87%] Building C object CMakeFiles/libint_compiler.dir/mem_man.c.obj [100%] Linking C executable libint_compiler.exe [100%] Built target libint_compiler [ 21%] Performing install step for 'libint_compiler' jom: parallel job execution disabled for Makefile [100%] Built target libint_compiler Install the project... -- Install configuration: "Release" -- Installing: C:/Users/liye0/Desktop/test/build-libint-unknown-Release/stage/bin/libint_compiler.exe [ 25%] Completed 'libint_compiler' [ 25%] Built target libint_compiler Scanning dependencies of target libint_library [ 28%] Creating directories for 'libint_library' [ 31%] Performing download step for 'libint_library' CMake Error at C:/Users/liye0/Desktop/test/build-libint-unknown-Release/src/libint_library-prefix/src/libint_library-stamp/libint_library-download-Release.cmake:16 (message): Command failed: Stack overflow

'C:/Users/liye0/Desktop/test/build-libint-unknown-Release/stage/bin/libint_compiler'

See also

C:/Users/liye0/Desktop/test/build-libint-unknown-Release/src/libint_library-prefix/src/libint_library-stamp/libint_library-download-*.log

jom: C:\Users\liye0\Desktop\test\build-libint-unknown-Release\src\CMakeFiles\libint_library.dir\build.make [src\libint_library-prefix\src\libint_library-stamp\libint_library-download] Error 1 jom: C:\Users\liye0\Desktop\test\build-libint-unknown-Release\CMakeFiles\Makefile2 [src\CMakeFiles\libint_library.dir\all] Error 2 jom: C:\Users\liye0\Desktop\test\build-libint-unknown-Release\Makefile [all] Error 2 15:39:20: 进程"D:\CMake\bin\cmake.exe"退出,退出代码 2 。 Error while building/deploying project Libint (kit: 桌面) The kit 桌面 has configuration issues which might be the root cause for this problem. When executing step "CMake Build" 15:39:20: Elapsed time: 00:21.

I can't solve this problem, can you give any ideas to build libint in windows wiht mingw, Thanks!

evaleev commented 5 years ago

Unfortunately I do not have access to a Windows machine.

Command failed: Stack overflow is a possible hint. Try increasing stack size.

loriab commented 5 years ago

If it's any help, the Azure CI of this project is building Libint v1 on Windows (clang-flavored, though).