Compilation does not produce libraries on Windows

Hello,

I am trying to make a Debug build on Windows with these instructions:

mkdir src build install
git clone --recurse-submodules https://github.com/NGSolve/ngsolve.git src
cd src
git submodule update --init --recursive
cd ../build
cmake "../src" -DCMAKE_INSTALL_PREFIX="/c/Users/User/Desktop/netgen-src-debug/install" -DUSE_PYTHON=OFF -DUSE_GUI=OFF -DCMAKE_BUILD_TYPE:STRING=Debug
cmake --build . --config Debug --target install

Apperenty I get no error but at the end of the build only BLAS zlib and zlibstatic are created.

Any ideas?

Thanks,
Stenio

Hi, my ideas are:

  • try with USE_PYTHON=ON
  • provide more details by manually running and checking the building process of the project inside the build-directory

With these instructions works but I don’t want python’s bindings:

mkdir build install
git clone --recurse-submodules https://github.com/NGSolve/ngsolve.git src
cd src
git submodule update --init --recursive
cd ../build
cmake "../src" -DCMAKE_INSTALL_PREFIX="/c/Users/User/Desktop/netgen-src/install" -DUSE_OCC=OFF -DCMAKE_BUILD_TYPE:STRING=Debug
cmake --build . --config Debug --target install

I confirm: compiling with the flag -DUSE_PYTHON=OFF does not build libngsolve.lib nor nglib.lib, but it worked in the past.