-
Notifications
You must be signed in to change notification settings - Fork 47
ITK 5.2 migration #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ITK 5.2 migration #382
Conversation
Missing typename directives in declarations. Confusion between long and long long Use of itkMutexLock instead of std::mutex. Failure to include <itkMacro.h>. Use of ComposeRGBImageFilter instead of ComposeImageFilter. Use of NULL instead of nullptr. Use of vcl_sqrt instead of std::sqrt, etc. itk::MultiThreader --> itk::MultiThreaderBase. Removal of inappropriate Seg3D:: explicit qualification.
M:\Dev\Seg3D\src\Application\LayerIO\Matlab73LayerImporter.cc(32,10): fatal error C1083: Cannot open include file: 'itkhdf5/H5LTpublic.h': No such file or directory H5 HL library is disabled in ITK's internal configuration: https://github.com/InsightSoftwareConsortium/ITK/blob/v5.1.1/Modules/ThirdParty/HDF5/src/CMakeLists.txt#L12
registration->StartRegistration() ==> registration->Update() GetJacobian(...) ==> ComputeJacobianWithRespectToPosition(...)
so we don't need to have it as a dependency.
nullptr to NULL
Built on Arch Linux w/ Qt 5.15.1 This is the error I get building with default settings.
This is what I get if I try setting ITK_USE_SYSTEM_HDF5=ON in cmake.
|
// Copy the database content from the source | ||
sqlite3_backup* db_backup_obj = sqlite3_backup_init( this->private_->database_, | ||
"main", src.private_->database_, "main" ); | ||
if ( db_backup_obj == nullptr ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that DatabaseManager
is pure C++ file, so leaving nullptr
in here is fine. I will edit this commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anything that has to do with SQL requires NULL and not nullptr. They need to stay NULL or there will be SQL errors. When I was investigate the errors, I found them in DatabaseManager and Project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried building and running. There are no SQL errors now like there were before.
9797810
to
cb172d7
Compare
@RubioJr9 switch from ITK 5.1 to |
I think this is ready. Should I beautify history by squashing and possibly reordering commits? |
@dzenanz thank you! |
I wiped my bin folder and that got rid of the issue I was having. However, I'm getting this error now:
|
@RubioJr9 which compiler/OS and their versions are you using? |
OS: Arch Linux(rolling release so no versioning) |
@RubioJr9 By reading this SO question, it seems that |
I posted the log in the new PR. Let me know if you need more info. |
A cleaned-up version of #378. Closes #378.