百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

DVTk

> 编程语言
开源

DICOM 验证工具包

191 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

DICOM 验证工具包

DVTk

DICOM Validation Toolkit

This GitHub project contains the complete and latest source code of the DVTk (DICOM Validation Toolkit) Open Source project. The Windows installers and forum are located on https://www.dvtk.org/.

Note that the DVTk library and DVTk based applications are not for clinical use, they are only meant for testing purposes!

Build instructions for DICOM solution (DICOM.sln)

Build steps

  1. Make sure you have installed Visual Studio with following dependencies:

    a. Individual components:

    i.    C++ ATL for v142
    ii.    C++ MFC for v142

    b. Desktop development with C++ with following Optional components:

    i.    MSVC v142 - VS 2019 C++ x64/x86 build tools

    c. .NET desktop development

    i.    Development tools for .NET
    ii.    .NET Framework 4.8 development tools
    iii.    .NET Framework 3.5 SP1 (required to build DVTk Script Support)
    
  2. If you want to add or update the setup files of the installers, then in Visual Studio install Visual Studio extension: Microsoft Visual Studio Installer Projects 2022. The installers are created in the build pipeline.

  3. Clone the DICOM project from Github repository into a path which does not contain spaces (for eg: C:\Github\DICOM)

  4. Open Visual Studio and open DICOM.sln solution file. Do NOT upgrade/use latest version, if Visual Studio asks to upgrade a project.

  5. Right click on the DICOM solution and click Build.

Generated source files

Some lexer/parser outputs are generated during toolchain runs (for example *_lexer.cpp, *_parser.cpp, *_parser.cpp.h, and *_lex.cpp, *_parse.cpp, *_parse.cpp.h). These generated files are intentionally excluded via .gitignore and should not be committed.

Errors

If you get error regarding afx.h (Cannot open include file 'afx.h': No such file or directory.), make sure to check Output tab in Visual Studio and locate the error related to afx.h. Make sure the file exists and the path is correct. If the file does not exist, download the correct MSVC version from Microsoft. If you get error HRESULT 8000000A when building .vdproj (setup) projects, apply the following registry fix in PowerShell as Administrator:

powershell
$instanceId = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -version "[17.0,18.0)" -property instanceId
$registryPath = "HKCU:\SOFTWARE\Microsoft\VisualStudio\17.0_$($instanceId)_Config\MSBuild"
if (!(Test-Path $registryPath)) {
    New-Item -Path $registryPath -Force | Out-Null
}
Set-ItemProperty -Path $registryPath -Name "EnableOutOfProcBuild" -Value 0 -Type DWord

The setup projects can only be built after all other projects have been successfully compiled.

NuGet package

The GitHub Actions workflow builds a NuGet package for DvtkHighLevelInterface and publishes it to GitHub Packages for the dvtk-org owner.

Feed URL:

https://nuget.pkg.github.com/dvtk-org/index.json

Example consumer configuration is available in NuGet.config.example. The GitHub Packages feed requires authentication with a GitHub username and a Personal Access Token that has permission to read packages.

After adding the feed, install the package by ID:

powershell
nuget install DvtkHighLevelInterface -Source https://nuget.pkg.github.com/dvtk-org/index.json

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言