View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004268 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2016-09-30 11:31 | 2018-05-30 01:02 |
Reporter | gregsharp | Assigned To | jcfr | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | gcc 6 compile problems | OS | OS Version | ||
Product Version | Slicer 4.9.0 | ||||
Target Version | backlog | Fixed in Version | |||
Summary | 0004268: Slicer FTBFS with gcc 6 | ||||
Description | Ticked to track issues building with gcc 6. | ||||
Tags | No tags attached. | ||||
/home/gsharp/build/slicer-4/Slicer/Modules/CLI/RobustStatisticsSegmenter/SFLSSegmentor3D.txx:1473:32: error: return-statement with a value, in function returning 'void' [-fpermissive] Unclear what is the proper fix. This function does not seem to ever be called. |
|
Previously reported. http://slicer-devel.65872.n3.nabble.com/Compile-error-td4037203.html This can be resolved by changing line 40 in itkDiffusionTensor3DExtended.h itkTypeMacro(DiffusionTensor3DExtended, DiffusionTensor3D); -> itkTypeMacroNoParent(DiffusionTensor3DExtended); |
|
Several errors related to this: /home/gsharp/build/slicer-4/Slicer-build/ITKv4-build/Modules/Core/Common/itkConfigure.h:53:4: warning: #warning "WARNING: The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK" [-Wcpp] For example: /home/gsharp/build/slicer-4/Slicer-build/ITKv4/Modules/Core/Common/include/itkSmartPointer.h:178:19: error: expected ‘;’ at end of member declaration |
|
ITK errors are resolved. However JsonCpp does not build. /home/gsharp/build/slicer-4/Slicer-build/JsonCpp/src/lib_json/json_reader.cpp:47:14: error: ‘scoped_ptr’ in namespace ‘std’ does not name a template type |
|
JsonCpp patch integrated in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25843 |
|
Next error is in ITK. ITK includes c++11 header file even though -std=c++11 is not specified on build line. In file included from /usr/include/c++/6/type_traits:35:0, |
|
Clarification. BRAINS explicitly adds -std=gnu++98 option, which exposes this bug in ITK. The problem could be fixed in either BRAINS or ITK. |
|
Any update? gcc 6 is the default compiler for debian stretch (current stable release). |
|
This works for Qt5 which requires c++11 for vtk8. All of Slicer including BRAINSFit compiles for me on on gcc6 on debian stretch. |
|
Retarget stale issues to backlog. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-30 11:31 | gregsharp | New Issue | |
2016-09-30 11:31 | gregsharp | Status | new => assigned |
2016-09-30 11:31 | gregsharp | Assigned To | => jcfr |
2016-09-30 11:34 | gregsharp | Note Added: 0014138 | |
2016-09-30 11:36 | gregsharp | Note Added: 0014139 | |
2016-09-30 20:30 | gregsharp | Note Added: 0014140 | |
2017-03-15 15:18 | gregsharp | Note Added: 0014374 | |
2017-03-16 23:03 | jcfr | Note Added: 0014375 | |
2017-03-18 19:32 | gregsharp | Note Added: 0014377 | |
2017-03-18 21:21 | gregsharp | Note Added: 0014378 | |
2017-08-06 18:46 | gregsharp | Note Added: 0015028 | |
2017-08-15 11:17 | pieper | Note Added: 0015050 | |
2018-05-30 01:02 | lassoan | Product Version | => Slicer 4.9.0 |
2018-05-30 01:02 | lassoan | Target Version | => backlog |
2018-05-30 01:02 | lassoan | Note Added: 0015821 |