Any chat such as Slack or Discord and such for ANTs and ANTs-derivative development? #1643
-
I'm in a the process of coding a GUI to facilitate the manipulation of our 3D and 4D volumes by interfacing with the relevant ANTs utilities. All in all, I'm afraid to create an issue for something stupid and I was hoping there was a less formal channel of discussion available where I can ensure it's not just me being an idiot before opening an issue here? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Sorry, we don't use Slack or Discord. We didn't do a whole lot with GUI interfacing and there's not much Windows usage on the part of developers but we can try to answer whatever questions you might have. |
Beta Was this translation helpful? Give feedback.
-
Discussions are threaded so feel free to post problems here. We can escalate to issues as needed. I'd not worry too much about it, people can mute this post if it gets too much for them |
Beta Was this translation helpful? Give feedback.
-
Thank you both for your prompt answer. While you were answering I was typing up a desperate post on Reddit ahah. I'll link it here for more context as well as summarize my problem below for longevity. My problem: Both on Windows and Linux I was able to build ANTs and its dependencies (ITKv5). On Linux, I installed ANTs in the default I'll continue with Linux only since this is the furthest I've come to make it work lol. I saw on your closed issues that I was not the only one to have trouble linked ANTs to their project, but it seems that they all got it to work at some point and they didn't have to include hundreds of libraries either. So I'm thinking I'm doing something terribly wrong and I'd love a (std::shared_) pointer in the right direction please! attached: the errors and warnings output file after trying to compile the project using the |
Beta Was this translation helpful? Give feedback.
-
Okay so, in all my stupidity, I don't understand why but somehow I fixed it a bit. I've added the line INCLUDEPATH += \
/home/tanderson/ANTs/Examples/include \
LIBS += \
-L"/opt/ANTs/lib" -ll_PrintHeader \
-Wl,-rpath-link,"/opt/ANTs/lib" This compiles my source and uses the I'll just try to understand this and then close the discussion at the risk of opening another one later if I have another burning question. Hopefully I can get a GUI prototype to work soon, and maybe if I make it nice enough you may be interested. ^^ |
Beta Was this translation helpful? Give feedback.
Okay so, in all my stupidity, I don't understand why but somehow I fixed it a bit.
I've added the line
-Wl,-rpath-link,"/opt/ANTs/lib
to the LIBS variable to try to get rid of the warning of missing dynamically linked libraries.This compiles my source and uses the
ants::PrintHeader
function just right. Perfect I guess? But, does that mean my code can only work with the available ANTs installation on the target computer, to dynamically link upon executing the code? How can I fully statically link everything? I should use the-L"/opt/ANTs/lib"
…