问题

最近按照wwwapp.txt安装worklist中www application server。总有一步看不透。

3. INSTALL FILES
b) Then copy all executables from dcmtk/dcmwlm/wwwapps to
the same directory: preplock, readoviw, readwlst and writwlst.

我在dcmtk3.6.120120831的源码中dcmtk/dcmwlm/wwwapps并没有发现执行程序preplock, readoviw, readwlst and writwlst,只有.cc源码。所有执行程序只有在C:\Program Files\DCMTK\bin下才有exe,但也没有上述exe程序。

初步解释(2012-10-19)

我在官方论坛上看到解释:

原来www application server 并不属于DCMTK,为了实现模拟医院的RIS系统,DCMTK将www appplication server 引入。当我们将dcmtk3.6.120120831源码编译成功之后,实际在我们编译后的二进制文件中已经有了相关exe,在D:\DCMTK\DCMTK-bin\bin\Debug  中可以看到上面四个exe以及其他很多exe,但如果我们编译后,选择了install,这些exe将会被部署到C:\\program files\DCMTK\bin下,但是上面四个exe并没部署,因为他们并不属于DCMTK.所以如果想用这四个exe配置worklist webserver,请在编译源码后,及时从D:\\DCMTK-bin\Debug\  拷贝出来。

官方链接:http://forum.dcmtk.org/viewtopic.php?f=1&t=723&hilit=wwwapp.txt

Author Message
meandog
Post subject: wwwapp instalation
Posted: Thu, 2006-03-16, 19:28 

Joined: Tue, 2004-12-07, 00:13
Posts: 6

OS: FreeBSD 5.4
wwwapp.txt, INSTALLATION part, 3-rd paragraph "INSTALL FILES":

b) Then copy all executables from dcmtk/dcmwlm/wwwapps to the same directory: preplock, readoviw, readwlst and writwlst.

I made compilation and installation with all available modules, but I can't find these executables required for proper wwwapp operation. Do I need to compile them separately, if so how to do this? Maybe I need to add some configuration directives somewhere to compile these apps along with dcmtk?

Thanks in advance

Top
  
  
Michael Onken
Post subject:
Posted: Fri, 2006-03-17, 10:30 
OFFIS DICOM Team

Joined: Fri, 2004-11-05, 14:47
Posts: 1154
Location: Oldenburg, Germany

Hm, I just tried under linux with 3.5.4 and they get built without additional configuration. Did all other files compile? (apps and src directories)?

Regards,
Michael

Top
  
  
meandog
Post subject:
Posted: Fri, 2006-03-17, 13:10 

Joined: Tue, 2004-12-07, 00:13
Posts: 6

Quote:
Did all other files compile? (apps and src directories)?

Well, here is the list of available executables in "bin" directory after compilation and installation:

dcm2pnm dcmgpdir dcmpsmk dcod2lum storescp
dcm2xml dcmj2pnm dcmpsprt dconvlum storescu
dcmcjpeg dcmmkcrv dcmpsrcv dsr2html termscu
dcmconv dcmmkdir dcmpssnd dsr2xml wlmscpfs
dcmcrle dcmmklut dcmqridx dsrdump xml2dcm
dcmdjpeg dcmodify dcmqrscp dump2dcm xml2dsr
dcmdrle dcmp2pgm dcmqrti echoscu
dcmdspfn dcmprscp dcmquant findscu
dcmdump dcmprscu dcmscale movescu
dcmftest dcmpschk dcmsign pdf2dcm

But where are preplock, readoviw, readwlst and writwlst? As from wwwapp.txt I thought these executables would be compiled and stored in dcmtk source directory wwwapps, but all I can find there are source files (*.cc).
I didn't mention that I configured dcmtk with command:
./configure --prefix="/med"
So my installation is not in default place on the system, maybe that's the problem?

Top
  
  
meandog
Post subject:
Posted: Sat, 2006-03-18, 17:40 

Joined: Tue, 2004-12-07, 00:13
Posts: 6

finally I found the answer: executables mentioned above had been compiled succefully, but when I finalized installation with "make distclean" command these executables were deleted. Sorry for bothering you 
Top
  
  
Michael Onken
Post subject:
Posted: Mon, 2006-03-20, 10:17 
OFFIS DICOM Team

Joined: Fri, 2004-11-05, 14:47
Posts: 1154
Location: Oldenburg, Germany

You're welcome 
Top
  
  
catchesides
Post subject:
Posted: Tue, 2006-03-28, 17:51 

Joined: Tue, 2006-03-28, 17:48
Posts: 2

I have a similar probem with Mac OS 10.4.5 and DCMTK 3.5.4 - preplock, readoviw, readwlst and writwlst don't appear in the target directory after running "make install".

However, unlike meandog's experience, these executables are missing even before I run "make distclean".

Does anyone have any idea what might be going wrong here?

Thanks in advance,
Tom

Top
  
  
Marco Eichelberg
Post subject:
Posted: Tue, 2006-03-28, 18:29 
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 18:22
Posts: 1160
Location: Oldenburg, Germany

The worklist server web form support tools (preplock, readoviw, readwlst and writwlst) are not installed by "make install" because they don't belong into the end user's path where make install should install files to. You have to install them manually following the instructions in dcmwlm/docs/wwwapp.txt, the same also applies to the Perl scripts in dcmwlm/perl. However, the tools should be compiled when you run "make". Check if the compiler has produced any output in dcmwlm/wwwapps.
Top
  
  
catchesides
Post subject:
Posted: Wed, 2006-03-29, 10:38 

Joined: Tue, 2006-03-28, 17:48
Posts: 2

Marco,

Thanks for the prompt reply - I had misunderstood meandog's post.

As you say, the executables are indeed in the /dcmwlm/wwwapps/ directory before you run "make distclean".

Many thanks,
Tom

Top
  
  
Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending 

最终解释(2012-10-20)

但是我在win7上编译只能出现三个exe,就是没有preplock.exe.后来官方DCMTK开发人员给我回复了邮件说:

这个www application 是1996年在linux上开发展示用的,本来就没打算能在windows上运行,而且只是一个小例子,已经过时了。

邮件原文写道
Dear qimo,

> I've followed all instructions in the wwwapp.txt file <http://support.dcmtk.org/docs/file_wwwapp.html>.I'm trying to create a www server
> application to create , modify anddelete worklist entries using a Web browser ,but there isn't no management interface.
> Also I have compiled DCMTK3.6.120120831 on win7. But I can only find readoviw.exe, readwlst.exe and writwlst.exe, but no preplock.exe in
> bin\debug directory.just like the forum topic <http://forum.dcmtk.org/viewtopic.php?f=1&t=723> .

first of all, all questions related to DCMTK should be posted to the discussion forum
at http://forum.dcmtk.org/ so that other people can benefit from the answers given there.
If you send us a mail with your designed user name, we can create login/password for you.

Concerning your specific question, the Web Server user interface has never been developed
for Windows, and we have never tried to run it on Windows. This was intended for a
demonstration at an exhibition in 1996 (more than 15 years ago!) and seen very little
maintenance ever after. At that time even Apache as a webserver did not yet exist.

The underlying principle is that the web server generates the user interface by running
the Perl scripts from dcmwlm/perl and the binaries from dcmwlm/wwwapps through the
CGI interface.

The problem with running this on Windows is that the API for locking files (which is
used to prevent the DICOM worklist server from accessing worklist entries while the
web server is modifying them) does not work on Windows, which is the reason why the
preplock tool cannot be compiled there.

Summary: It's outdated software, not intended for anything except a demo anyway,
and it does not run on Windows.

Best regards,
Dr. Marco Eichelberg

-- 
Dr. Marco Eichelberg
Gruppenleiter Integrationstechnik | Manager Integration Technology Group

DCMTK:wwwapp instalation相关推荐

  1. 基于DCMTK的DICOM相关程序编写攻略

    2008年09月10日 星期三 15:35 基于DCMTK的DICOM相关程序编写攻略 前言: 由于现在的医学影像设备的图像存储和传输正在逐渐向DICOM标准靠拢,在我们进行医学图像处理的过程中,经常 ...

  2. DICOM医学图像处理:Dcmtk与fo-dicom保存文件的不同设计模式之“同步VS异步”+“单线程VS多线程”...

    2019独角兽企业重金招聘Python工程师标准>>> 一.背景: 最近一直在做DCM相关的编程工作,以前项目使用C++居多,所以使用DCMTK开源库,而目前团队使用C#居多,所以需 ...

  3. DICOM医学图像处理:开源库mDCM与DCMTK的比较分析(一),JPEG无损压缩DCM图像(续)...

    2019独角兽企业重金招聘Python工程师标准>>> 背景: 上周通过单步调试,找出了开源库mDCM与DCMTK在对DICOM图像进行JPEG无损压缩时的细小区别,并顺利实现了在C ...

  4. java读取dcm影像文件_使用dcmtk库读取.dcm文件并获取信息+使用OpenCV显示图像

    借助VS2013和OpenCV的绘图功能,在工程DICOMReader.sln中实现了对单张.dcm图像的读取与显示,以下是详细步骤. 前期准备工作 编译器:VS2013 库:dcmtk-3.6.0( ...

  5. dcmtk程序包综述(1)

    1.前言 简单列出dcmtk程序包的简介,包括主要接口类的简单说明,可用工具以及一些例子.下一步工作准备详细分析每个程序包中的接口类功能,并结合源码和dicom文档分析其实现过程. 2.Config程 ...

  6. DCMTK:DCMTK文档

    DCMTK:DCMTK文档 DCMTK文档 DCMTK文档 该DICOM ToolKit(DCMTK)软件包包括源代码,文档和安装说明,这些信息用于实现DICOM / MEDICOM标准的一部分的一组 ...

  7. DCMTK:将XML文档的内容转换为DICOM结构的报告文件

    DCMTK:将XML文档的内容转换为DICOM结构的报告文件 将XML文档的内容转换为DICOM结构的报告文件 将XML文档的内容转换为DICOM结构的报告文件 #include "dcmt ...

  8. DCMTK:将XML文档转换为DICOM文件或数据集

    DCMTK:将XML文档转换为DICOM文件或数据集 将XML文档转换为DICOM文件或数据集 将XML文档转换为DICOM文件或数据集 #include "dcmtk/config/osc ...

  9. DCMTK:工作清单数据库测试程序

    DCMTK:工作清单数据库测试程序 工作清单数据库测试程序 工作清单数据库测试程序 #include "dcmtk/config/osconfig.h" #include &quo ...

最新文章

  1. Linux下首次操作MySQL失败
  2. java项目(注册和登录(成功后查看商品的信息))
  3. BZOJ 1070 拆点 费用流
  4. java URL连接ftp_java – URLConnection FTP列表文件
  5. 媒体集有2个媒体簇,但是只提供了1个
  6. 用keepalived配置高可用,监控NGINX服务
  7. 解决windows update失败,正在还原的问题
  8. dpkg:处理软件包 xxx (--configure)时出错
  9. SpringMVC文件下载IOException: UT010029: Stream is closed
  10. 用photoshop给gif批量加水印
  11. 点击vue页面链接打开本地exe文件
  12. 03 高等数学专题——多元函数微积分
  13. linux系统的python版本_Linux系统下多版本Python管理
  14. POJ1417 True Liars —— 并查集 + DP
  15. 怎样把本地文档共享至服务器上,利用云服务器共享本地文件
  16. java判断内网ip_Java判断IP地址为内网IP还是公网IP的方法
  17. 点击链接在新窗口打开新页面
  18. 游戏数据分析用到的模型(二)留存率预估
  19. JVM:如何查看并设置jvm参数+jinfo+查看详细的jvm参数java-XX
  20. 点击文本框弹出热门标签

热门文章

  1. 《大话设计模式》笔记(1)——创建型模式
  2. 34深入理解C指针之---通过字符串传递函数
  3. 数据结构之算法初涉(2)
  4. SIP中第三方呼叫控制(3PCC)建立流程
  5. PhotoSwipe异步动态加载图片
  6. BZOJ 1024: [SCOI2009]生日快乐
  7. Angular JS 增删改查(弹框修改)
  8. R语言 神经网络与深度学习(二)
  9. 程序员,学会这些技能让你的薪资翻倍!
  10. 注意了,有关学习前端的一些“坑”,别踩!