Skip to content
Snippets Groups Projects
Commit 2a3ae983 authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Update build instructions for Win32

parent 375b9df3
No related branches found
No related tags found
2 merge requests!61Release 0.3.0,!48Fix compilation errors on Windows
Pipeline #54418 passed with warnings
Pipeline: caosdb-julialib

#54423

    Pipeline: CaosDB Octave library

    #54422

      Pipeline: caosdb-cppinttest

      #54419

        ......@@ -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
        ~~~~~~~~~~~~~~~
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment