Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cpplib
Commits
2a3ae983
Commit
2a3ae983
authored
7 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
Update build instructions for Win32
parent
375b9df3
No related branches found
No related tags found
2 merge requests
!61
Release 0.3.0
,
!48
Fix compilation errors on Windows
Pipeline
#54418
passed with warnings
7 months ago
Stage: info
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-julialib
#54423
Pipeline: CaosDB Octave library
#54422
Pipeline: caosdb-cppinttest
#54419
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Install_develop.rst
+8
-11
8 additions, 11 deletions
doc/Install_develop.rst
with
8 additions
and
11 deletions
doc/Install_develop.rst
+
8
−
11
View file @
2a3ae983
...
@@ -110,23 +110,20 @@ We use `Visual Studio
...
@@ -110,23 +110,20 @@ We use `Visual Studio
as compiler. We use `cmake <https://cmake.org/download/>`__ as build
as compiler. We use `cmake <https://cmake.org/download/>`__ as build
tool.
tool.
1. clone/update the subrepo ``git submodule update --init proto``
1. Install Python and create a virtual environment with the dependencies in `requirements.txt`.
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``
2. Activate the environment run in the repository folder: :code:``conan install . - --build=missing -s build_type=Release``
3. ``cd build/Release``
3. ``cmake --preset conan-default``
5. ``cmake -B . ..``
4. Open ``libcaosdb.sln`` with Visual Studio, change the buildtype to
6. open ``libcaosdb.sln`` with Visual Studio, change the buildtype to
``Release`` and build the project (ALL_BUILD). (You can open Tools/Command
``Release`` and build the project. (You can open Tools/Command
Line/Developer Command Prompt and execute
Line/Developer Command Prompt and execute
``msbuild libcaosdb.sln /property:Configuration=Release``)
``msbuild libcaosdb.sln /property:Configuration=Release``)
5. Try running the cli clients in ``.\build\Release\``.
Known problems
Known problems
^^^^^^^^^^^^^^
^^^^^^^^^^^^^^
- Linking dynamic libraries currently fails on Windows. So probably
- Building the unit tests on Windows currently fails with linker errors. See
other CaosDB libraries which make use of libcaosdb also will not
`#90 <https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib/-/issues/90>`__
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>`__
Troubleshooting
Troubleshooting
~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment