Install on Ubuntu 22.05

193 views
Skip to first unread message

ian postuma

unread,
Jun 24, 2022, 7:10:18 AM6/24/22
to Plastimatch
Dear All,

I'm having problems compiling plastimatch on Ubuntu 22.05 (not available through apt).
Actually no errors at compile time, but when I execute the binary file I get

./plastimatch
Segmentation fault (core dumped)


Anyhow I had to force ITK version 4.13.3 (available through apt) to make it compile without apparent errors. The cmake output is:

-- Trying to find DCMTK expecting DCMTKConfig.cmake
-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
-- DCMTK version 3.6.7 found (1).
-- Etags targets added.
-- Check for compiler OpenMP support...
-- OpenMP flags "-fopenmp", OpenMP libraries ""
-- SSE2_FLAGS "-msse2 -mfpmath=sse"
-- CUDA Version 11.5
-- nvcc-check: NVCC Version is 11.5
-- CUDA Build Level: Build system Compute Capability ONLY!
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Looking for wxWidgets - found.
-- Looking for Matlab - not found.
-- Looking for Octave - not found.
-- Plastimatch version is 1.9.3-37-g77b40bd3
-- ITK_VERSION = 4.13.3 found
-- Looking for C++ include itkVectorCentralDifferenceImageFunction.h
-- Looking for C++ include itkVectorCentralDifferenceImageFunction.h - found
-- ITK_BASE = /usr
-- Looking for Qt4 - not found
-- Looking for Qt5 - not found
-- Machine is 64-bit
-- Checking host processor: x86_64
-- Checking target processor: x86_64
-- Checking epsilon: 2.22045E-16 2.22045E-16 2.22045E-16
-- Checking sign of char: char is signed
-- Trying to find DCMTK expecting DCMTKConfig.cmake
-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
-- Not appending /usr/local/app/plastimatch/libs/itk-5.1.0
-- Appending /usr/local/app/plastimatch/libs/itk-5.1.2
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/app/plastimatch-build

What can I do ? Has anyone managed to install on Ubuntu 22.05 ?

thanks !
cheers
Ian

Sharp, Gregory C.

unread,
Jul 5, 2022, 3:39:40 PM7/5/22
to Plastimatch
Hi Ian,

I just tried it, and it built and ran flawlessly.

There are two things that stick out to me.
- In my Ubuntu, I only seem to have DCMTK 3.6.6. Are you using backports?
- I normally get a bunch of errors about imported targets from gdcm not existing. Did you no get those?

Greg

________________________________________
From: plast...@googlegroups.com <plast...@googlegroups.com> on behalf of ian postuma <zint...@gmail.com>
Sent: Friday, June 24, 2022 7:10 AM
To: Plastimatch
Subject: [Plastimatch] Install on Ubuntu 22.05

External Email - Use Caution
--
You received this message because you are subscribed to the Google Groups "Plastimatch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plastimatch...@googlegroups.com<mailto:plastimatch...@googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/plastimatch/df2e68c2-f214-4e6c-abf1-e2fbc37750ccn%40googlegroups.com<https://secure-web.cisco.com/1OLK-R5qyVMlFHKARDgnyXP_qdadN7TXw7uTwM7LLIdBPdo6nROMFELId__DagdRNFwD2d4KvqMHmzrVIWOTyIlPBnLe0BXex7xvwXemX6Z4TX3vsD2zE6HRnjOvXHc-mdEoCH1ZF5KxCfXyfVsabmYM7pJ46gQXuE75iwvagc5AXaurXLo1Eb7nGu0bKi3hHhLli9yfIfG8pKNpm4DmqXVdBqZf2ZvDVvF_zdYj41ROSprz9fQ0hMbkBcpgcIcomQSVwkAa4Sb8umFY84TGGG6i2Wdz5Wp3W6e7-8mxo5lNOmUpSez5eHsbP7n9VQF3_hJc2ADm9YX22t03qbfbsqQ/https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fplastimatch%2Fdf2e68c2-f214-4e6c-abf1-e2fbc37750ccn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter>.
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.

Reply all
Reply to author
Forward
0 new messages