install DCMTK
Moderator: Moderator Team
install DCMTK
Hello.
I'm a beginner of programing.
My problem is how to install DCMTK.
I succeeded in building DCMTK and get the folder.
Now, I can not understand how to install DCMTK.
In some manuals, is is written that do 'make install'.
But, where to write the command? terminal??
My computer environment is:
Mac OS 10.9.1
CMake 3.0.1
ITK 4.6.0
DCMTK 3.6.0
Xcode 5.1.1
Any informations will help me.
Thanks a lot.
Kaori
I'm a beginner of programing.
My problem is how to install DCMTK.
I succeeded in building DCMTK and get the folder.
Now, I can not understand how to install DCMTK.
In some manuals, is is written that do 'make install'.
But, where to write the command? terminal??
My computer environment is:
Mac OS 10.9.1
CMake 3.0.1
ITK 4.6.0
DCMTK 3.6.0
Xcode 5.1.1
Any informations will help me.
Thanks a lot.
Kaori
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: install DCMTK
The steps necessary to install DCMTK depend on your setup. From what you posted i would think you typed 'make' in a terminal to build DCMTK after you configured it using CMake. So you may type 'make install' in a terminal from the same location to install DCMTK to a directory specified by CMAKE_INSTALL_PREFIX.
Re: install DCMTK
Thank you for your reply.
I'm sorry I misunderstood.
I've just done configuration of DCMTK with CMake.
I type 'make' in terminal at the directory which made by configuration
but the error message (under description) appeared.
I also try to use Xcode, and open DCMTK.xcodeproj, choose "ALL_BUILD".
But it stopped with a error "undeclared use of identifier 'Init' " for the code.
What is the problem of me?
Kaori
I'm sorry I misunderstood.
I've just done configuration of DCMTK with CMake.
I type 'make' in terminal at the directory which made by configuration
but the error message (under description) appeared.
Code: Select all
make: *** No targets specified and no makefile found. Stop.
But it stopped with a error "undeclared use of identifier 'Init' " for the code.
Code: Select all
if (Init(pixel))
Kaori
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: install DCMTK
You did nothing wrong, thats a known issue on MacOS, fixed in this commit. So maybe use the latest snapshot instead of DCMTK 3.6.0.Kaori wrote:But it stopped with a error "undeclared use of identifier 'Init' " for the code.
Code:
if (Init(pixel))
What is the problem of me?
Re: install DCMTK
Thanks a lot.
I download the snap shot (dcmtk-3.6.1_20140617).
Compiling was done normally.
But, I can't open DCMTK.xcodeproj.
(the error message: DCMTK.xcodeproj cannot be opened because the project file cannot be parsed.)
It looks similar to previous fixed topic (Post subject: CMake + Xcode generator issue => fixed).
Other Xcode projects can be opened with my Mac.
Are there any ideas to solve this problem?
Best Regards,
Kaori
I download the snap shot (dcmtk-3.6.1_20140617).
Compiling was done normally.
But, I can't open DCMTK.xcodeproj.
(the error message: DCMTK.xcodeproj cannot be opened because the project file cannot be parsed.)
It looks similar to previous fixed topic (Post subject: CMake + Xcode generator issue => fixed).
Other Xcode projects can be opened with my Mac.
Are there any ideas to solve this problem?
Best Regards,
Kaori
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: install DCMTK
I'm sorry, but i never worked with Xcode, so i can't help you with that. Maybe try using the makefile generator instead.
Re: install DCMTK
I think I succeeded in installing by typing 'make' and 'make install' at terminal.
Thanks a lot.
Sincerely,
Kaori
Thanks a lot.
Sincerely,
Kaori
Re: install DCMTK
When i use my compiled library (*.a) in my ios project,
it cause some error like below
Does any one have the same problem?
please help me.
OS X SDK: 10.9.5
iOS SDK: 8.0
Xcode: 6.0.1
Cmake: 3.0.2
dcmtk-3.6.1_20140617
Sincerely,
Ken
it cause some error like below
Code: Select all
Undefined symbols for architecture x86_64:
"_opendir$INODE64", referenced from:
OFStandard::dirExists(OFFilename const&) in libofstd.a(ofstd.o)
OFStandard::searchDirectoryRecursively(OFFilename const&, OFList<OFFilename>&, OFFilename const&, OFFilename const&, bool) in libofstd.a(ofstd.o)
"_readdir$INODE64", referenced from:
OFStandard::searchDirectoryRecursively(OFFilename const&, OFList<OFFilename>&, OFFilename const&, OFFilename const&, bool) in libofstd.a(ofstd.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
please help me.
OS X SDK: 10.9.5
iOS SDK: 8.0
Xcode: 6.0.1
Cmake: 3.0.2
dcmtk-3.6.1_20140617
Sincerely,
Ken
Stay Hungry, Stay Foolish.
Who is online
Users browsing this forum: No registered users and 1 guest