You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ThirdParty\GDCM\src\gdcm\Source\Common\gdcmSystem.cxx(815,3): error C3861: 'gettimeofday': identifier not found #2362
2> G:\programming\cpp\CTK\build\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\Common\gdcmSystem.cxx(815,3): error C3861: 'gettimeofday': identifier not found [G:\programming\cpp\CTK\build\ITK-build\Modules\ThirdParty\GDCM\src\gdcm\Source\Common\gdcmCommon.vcxproj]
Well it seems that linux code is being compiled on Windows. But with the little addition I did it compile fully. Maybe that's a temporary solution what do you think @malaterre ?
This is a dependency issue concerning a Superbuild which uses external projects as dependency based on CTK which itself is depending on ITK, VTK and other third party libraries. It has nothing to do with my fork. My fork is using those dependencies equally as CTK uses them. I request you reopen this issue until we get @malaterre's input.
Before you close anything I would ask you to get a bigger understanding of what is going on with those tickets. This is not only one ticket there's many tickets which are connected with each other.
I already exposed many explanations concerning what was told to be possible within ITK's documentation and what was actually possible in reality.
CTK has worked with ITK, VTK and other third party libraries for quite some time. I have contributed to CTK -- I am aware of the project. The problems you are encountering are created by your fork. To address issues in a maintainable way without creating more issues, update CTK, MITK, to use the latest version of ITK and other third party dependencies without deviating from the upstream library.
Activity
al-sabr commentedon Mar 4, 2021
I added these lines in gdcmSystem.cxx in line 49 for ITK 4.13
The compilation error is gone now :D
dzenanz commentedon Mar 4, 2021
This is maybe due to some conditional compilation enabling Linux code. @malaterre might know more.
al-sabr commentedon Mar 4, 2021
Well it seems that linux code is being compiled on Windows. But with the little addition I did it compile fully. Maybe that's a temporary solution what do you think @malaterre ?
thewtex commentedon Mar 5, 2021
This is not an issue with GDCM or ITK but @al-sabr 's fork.
al-sabr commentedon Mar 7, 2021
This is a dependency issue concerning a Superbuild which uses external projects as dependency based on CTK which itself is depending on ITK, VTK and other third party libraries. It has nothing to do with my fork. My fork is using those dependencies equally as CTK uses them. I request you reopen this issue until we get @malaterre's input.
Before you close anything I would ask you to get a bigger understanding of what is going on with those tickets. This is not only one ticket there's many tickets which are connected with each other.
I already exposed many explanations concerning what was told to be possible within ITK's documentation and what was actually possible in reality.
al-sabr commentedon Mar 7, 2021
And actually I followed many of the recommendations proposed by @dzenanz and still could not achieve what I intended to.
Fixing a compilation error happening with gdcm
Resolving compilation error of ITK within CTK.
thewtex commentedon Mar 9, 2021
CTK has worked with ITK, VTK and other third party libraries for quite some time. I have contributed to CTK -- I am aware of the project. The problems you are encountering are created by your fork. To address issues in a maintainable way without creating more issues, update CTK, MITK, to use the latest version of ITK and other third party dependencies without deviating from the upstream library.
al-sabr commentedon Apr 19, 2021
This is a false positive it seems that the following flag gets enabled by default:
```
//Have function gettimeofday
GDCM_HAVE_GETTIMEOFDAY:INTERNAL=1
```
I really don't understand why does it enabled it by default but when I set it back to
```//Have function gettimeofday
GDCM_HAVE_GETTIMEOFDAY:INTERNAL=```
The compilation goes through!
You can remove this pull request because the problem is not in code but CMAKE variable.
COMP: Make MGHIO a shared libary
COMP: Make MGHIO a shared libary