diff --git a/doc/Install_develop.rst b/doc/Install_develop.rst index 38d55b8a5d199da83394ae21b9b603b943f7d4fb..efb1360d4f45d37f15e8746a144ff74d24245883 100644 --- a/doc/Install_develop.rst +++ b/doc/Install_develop.rst @@ -110,23 +110,20 @@ We use `Visual Studio as compiler. We use `cmake <https://cmake.org/download/>`__ as build tool. -1. clone/update the subrepo ``git submodule update --init proto`` -2. :code:``conan install .. -g visual_studio -s arch=x86_64 -s build_type=Release -s compiler.toolset=v142 -s compiler.version=16 -s compiler.runtime=MD --build=missing --update`` -3. ``cd build/Release`` -5. ``cmake -B . ..`` -6. open ``libcaosdb.sln`` with Visual Studio, change the buildtype to - ``Release`` and build the project. (You can open Tools/Command +1. Install Python and create a virtual environment with the dependencies in `requirements.txt`. +2. Activate the environment run in the repository folder: :code:``conan install . - --build=missing -s build_type=Release`` +3. ``cmake --preset conan-default`` +4. Open ``libcaosdb.sln`` with Visual Studio, change the buildtype to + ``Release`` and build the project (ALL_BUILD). (You can open Tools/Command Line/Developer Command Prompt and execute ``msbuild libcaosdb.sln /property:Configuration=Release``) +5. Try running the cli clients in ``.\build\Release\``. Known problems ^^^^^^^^^^^^^^ -- Linking dynamic libraries currently fails on Windows. So probably - other CaosDB libraries which make use of libcaosdb also will not - build. This is a known bug and we hope to fix this in the next - release. See - `#34 <https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib/-/issues/34>`__ +- Building the unit tests on Windows currently fails with linker errors. See + `#90 <https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib/-/issues/90>`__ Troubleshooting ~~~~~~~~~~~~~~~