Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
wenqing
ogs
Commits
86509d68
Unverified
Commit
86509d68
authored
6 years ago
by
Lars Bilke
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[web] Added section about using default gcc versions on Ubuntu with Conan.
parent
d488d5cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/content/docs/devguide/troubleshooting/conan.pandoc
+15
-0
15 additions, 0 deletions
web/content/docs/devguide/troubleshooting/conan.pandoc
with
15 additions
and
0 deletions
web/content/docs/devguide/troubleshooting/conan.pandoc
+
15
−
0
View file @
86509d68
...
@@ -42,3 +42,18 @@ In `~/.conan/settings.yml` it is defined which compiler versions are supported b
...
@@ -42,3 +42,18 @@ In `~/.conan/settings.yml` it is defined which compiler versions are supported b
- when upgrading Conan it creates a file `~/.conan/settings.new.yml` or similar which you can just rename to `~/.conan/settings.yml`
- when upgrading Conan it creates a file `~/.conan/settings.new.yml` or similar which you can just rename to `~/.conan/settings.yml`
See also: http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting
See also: http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting
## Something went wrong during building
On Ubuntu always use the system default gcc version! Otherwise if you use a newer compiler
than the default you may end up using incompatible Conan packages. E.g. when you use gcc 6
on Ubuntu 16.04 (where gcc 5 is the default) Conan uses packages which are built on Ubuntu
17.10 (where gcc 6 is the default). Ubuntu 17.10 uses a newer glibc library (2.25) which
is incompatible to the glibc library on Ubuntu 16.04 (2.23).
In this case you would get linker errors with the Conan VTK library:
```
error: undefined reference to `getrandom'
.../expat/vtkexpat/lib/xmlparse.c 694
```
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