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
ITKModuleExternal cmake include missing #933
Comments
You might need to point to ITK's build directory, not install directory. |
Hmmmh... isn't it just the point ? Having these cmake files available out of tree ? Any pointers as to where the way to perform this build is documented ? |
Have you looked at the tutorial? |
The user of itk-wasm might not need to build it in the usual C++ sense. Rather use it via npm packages and docker images. |
Tutorial ? that link -> 404. I've seen stuff using docker. What I don't like about docker is that it hides the build process, and that it's too heavy to get that working on my laptop with everything else on it going on. I'm looking for a straight build process. If I don't find documentation about a straight build process, I'll hunt down what goes under the hood with docker, and I hope not to find a pre-built image, but a genuine build process. (I'm kind of getting fed up of getting docker images thrown at my face all the time, to be honest. I'm starting to miss autotools...) |
What about this link: https://wasm.itk.org/docs/ For the build process, you could take a look at the CI, and the versions used there. The real build code is here: https://github.com/InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction |
That other link is still a 404. I'll have a look at ITKRemoteModuleBuildTestPackageAction. |
The correct links to the itk-wasm docs are: and the development tutorial is: https://wasm.itk.org/en/latest/cxx/tutorial/index.html To build the C++ ITK IO modules and C++ command line interfaces, the steps are:
And then you can build pure native binary C++ executables or use the itk-wasm IO methods by building against that ITK build tree. This is useful, but if you want to do more, i.e. generate WebAssembly or generate WebAssembly bindings, Docker and Node.js are required. They help make the build environment setup straightforward, reproducible, and low-resource. The build process is documented in the development tutorial. |
Thank you. This is a start. (I want full control over my builds, including wasm generation; we'll see how far that goes and how much time i manage to devote to that). Will try out your instructions at some point in time. Thank you. |
I just built ITK from source with
cmake ..
andmake
followed bysudo make install
. I hoped to pull all ITK dependencies this way. It appears not:This is likely a problem in ITK itself, but as it impacts itk-wasm, it seems not incorrect to open an issue here.
The text was updated successfully, but these errors were encountered: