Linking Header Files to IDE MacOs
Moderator: Moderator Team
-
- Posts: 9
- Joined: Fri, 2020-07-10, 11:19
Linking Header Files to IDE MacOs
Hi, I'm new to both C++ and this toolkit but I've successfully installed DCMTK using Homebrew. I now need to write the include statements at the top of my code to be able to use the necessary libraries but there are so many header files, is there an easy way to add them all quickly? Also, if I wanted to do a simple dcmdump, which header file from which directory in the DCMTK installation folder would I need to #include at the top of my code? Thanks.
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Linking Header Files to IDE MacOs
It would certainly be a bad idea to "add all header files" to your program. If you want to make use of the print() method that is also used by dcmdump, including the main header file of the dcmdata module (dcmtk/dcmdata/dctk.h) should do.
Who is online
Users browsing this forum: No registered users and 0 guests