如何在iPhone项目中使用DCMTK [英] How to use DCMTK in an iPhone project
问题描述
我已经成功使用CCmake编译dcmtk3.6并在ios环境中构建它,但我不知道如何在新的ios项目中包含这些编译文件。
I have already successfully used CCmake to compile dcmtk3.6 and build it in an ios environment, but I don't know how to include these compiled file in a new ios project.
我在编译成新的iphone项目后已经移动了dcmtk,并使用了 #includedcm2xml.h
但是路径有错误。
I have already moved dcmtk after compiling to a new iphone project, and used #include "dcm2xml.h"
but there is error about path.
推荐答案
在QuickDicom中试用iiDicom框架。
Try the iiDicom framework in QuickDicom.
http://sourceforge.net/projects/quickdicom/
iiDicom为DCMTK提供了一个ObjC包装器,但它暂时没有更新,所以只处理DCMTK 3.5.4。如果您已经为iOS编译了DCMTK 3.6,那么您应该可以将两者拼凑在一起。
iiDicom provides an ObjC wrapper for DCMTK, but it has not been updated for a while, so only handles DCMTK 3.5.4. If you've already compiled DCMTK 3.6 for iOS, you should be able to cobble the two together.
这篇关于如何在iPhone项目中使用DCMTK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!