Comments (10)
This question is not directly related to the functionality or code behavior of this repository. I suggest it should be closed.
As for debugging, @xem123 I'd suggest you check some general tutorials on how to debug in Visual Studio in combination with CMake.
from itk.
I encountered these errors when compiling ITK and RTK, but I ignored them and did not solve the issues. Is it related to the error that I cannot access the hxx and h files? Is it necessary to solve it? How can I solve it?
from itk.
I didn't choose debug, I chose release. Is it because I made the wrong choice that caused this?
from itk.
Release
build mode does not have debug information. RelWithDebInfo
has some debug symbols, but many things are optimized away. For full debugging access, you need to build in Debug
mode, which you seem be to already doing. But you need a successful build, without any errors.
For Visual Studio generator, CMAKE_BUILD_TYPE
is unimportant. The list in CMAKE_CONFIGURATION_TYPES
is important. And then selecting build mode in Visual Studio.
from itk.
Thanks!
When I compiled ITK, I checked the FFTW related options as shown in Figure 1, but during the build process, I encountered many errors related to FFTW as shown in Figure 2. What is the reason for this? Do I need to configure the FFTW path separately in the environment variables, or should I configure the FFTW related libraries in the all_build properties?
from itk.
FFTW can be compiled by ITK on Linux (and maybe Mac), but not Windows. If you want to use FFTW on Windows, you have to compile it yourself, or get a pre-compiled version.
You seem to be trying to use CUFFT, which is the least tested back-end by far. Therefore finnicky, and possibly now broken. In my experience, MKL works the best on Windows.
from itk.
Thank you very mach
from itk.
Close this issue if appropriate.
from itk.
Thanks!I followed your advice and compiled the FFTW library separately before compiling it with ITK. Then, the Build and install processes were completed smoothly without any errors. Then, I placed my project code into the ITK solution in order to access the RTK source code during runtime, as shown in Figure 1. However, I encountered a problem. I cannot use breakpoints to access the source code of rtkFFTProjectionsConvolutionImageFilter.hxx. I added cout to this hxx source code and recompiled it. The cout in this hxx can print to the console normally as shown in Figure 2, but I still cannot access the hxx source code as shown in Figure 3 and Figure 4. And I hope to output the image after padding, so I added some code to save the image in the source code as shown in Figure 5. However, after normal operation, the image I specified was not saved. Why is that?
The ability to print cout to the console indicates that the function in hxx is running, but why can't the breakpoint be entered? Why doesn't the code to save the image execute?
from itk.
I'm sorry to have caused you trouble, as this is my first time using cmake to compile the ITK and RTK libraries, so I'm not sure how to handle some of the issues. Sorry
from itk.
Related Issues (20)
- TubeSpatialObject bounding box includes rounded ends even after they are turned off HOT 5
- Dicom series loaded with incorrect origin and spacing (linked from SimpleITK) HOT 8
- When dicom files converted to nii.gz files, it created a bug of repeated images HOT 2
- Wrap SpatialObjectToImageStatisticsCalculator for Python
- itkWarningMacro output streams to Jupyter server console (not the notebook) HOT 4
- About itk 5.4.0 HOT 1
- NumPy 2.0 support HOT 2
- itkParallelSparseFieldLevelSetImageFilterTest read/write race with GetPixel() / SetPixel() HOT 3
- itkNarrowBandImageFilterBaseTest read/write race with GetPixel() / SetPixel() HOT 1
- 3 SLIC tests: read/write race with GetPixel() / SetPixel() HOT 1
- libtbb missing from some ITK 5.4.0 wheels HOT 2
- ITK 5.4.0 GetArrayFromImage returns None HOT 2
- Cannot use RTK in 5.4rc>1 HOT 3
- Rename `ITK` repository default branch from `master` to `main` HOT 2
- Writing DICOM Series with Float Data - Rescale issue HOT 2
- Build failed on Ubuntu 22.04 error: ‘SWIG_Py_DECREF’ was not declared in this scope; did you mean ‘Py_DECREF’? HOT 5
- Transition remote modules configuration from `setup.py` to the modern `pyproject.toml` HOT 4
- HELLO HOT 1
- Raise `cmake_minimum_required` in remote modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itk.